InBrowserApp / tldr.inbrowser.app

📝 tldr InBrowser.App is a offline-capable PWA for tldr-pages. Fully runs in your browser. Zero API latency.
https://tldr.inbrowser.app
MIT License
185 stars 21 forks source link

Support for seach by URL #10

Closed UndarkAido closed 1 year ago

UndarkAido commented 1 year ago

I'd like to add TLDR to my browser as a search engine which would require an endpoint to navigate to. I could do something like https://tldr.inbrowser.app/pages/common/%s, but that wouldn't work for everything.

rwv commented 1 year ago

https://tldr.inbrowser.app/search/activate-site-search

UndarkAido commented 1 year ago

Oh cool, thank you! It'd be nice if that was publicized in some way, maybe

UndarkAido commented 1 year ago

Is there a suggest URL?

rwv commented 1 year ago

https://github.com/InBrowserApp/tldr.inbrowser.app/blob/main/public/opensearch.xml

https://tldr.inbrowser.app/search?query={searchTerms}