sunaku / dasht

💁 Search API docs offline, in terminal or browser
https://sunaku.github.io/dasht/man
823 stars 26 forks source link

Any chance to use an alternative terminal browser? #48

Closed brglng closed 4 years ago

brglng commented 4 years ago

Such as browsh?

sunaku commented 4 years ago

Can browsh behave like a UNIX pager (by taking in the HTML to be displayed on stdin)?

Otherwise, we would need to write dasht search results to a temporary file every time. :thinking:

brglng commented 4 years ago

I think serving a web site at localhost may be a better idea, as browsh actually runs a headless Firefox at the background.

sunaku commented 4 years ago

Great! :+1: Then dasht-server already solves this use-case (local search engine). :heavy_check_mark: So I'm closing this issue. :checkered_flag: Thanks!

$ dasht-server &
http://127.0.0.1:54321

$ browsh http://127.0.0.1:54321