8 ms·
For people that are looking for a nice search TUI, may I point you to Googler. It's made by the author of NNN and a couple other fantastic terminal tools. Highl
by snide 5y ago
For people that are looking for a nice search TUI, may I point you to Googler. It's made by the author of NNN and a couple other fantastic terminal tools. Highly recommend. It's amazing how clean you can make the interface
https://github.com/jarun/googler https://github.com/jarun/googler
Screenshot of Googler in action when it's nice and clean
https://snid.es/2021OCT/YG4OXAlXg4INZWPe.png https://snid.es/2021OCT/YG4OXAlXg4INZWPe.png
- mlang23 5y agoIt looks like it doesnt respect $LINES (or something similar). On first try, the top 2 results scrolled off the screen.
- zmw 5y agoIt's a CLI, not a TUI. I put quite a bit of thought into that decision, and whether to integrate a pager. See [1]. The workarounds are (1) limit the number of results per page with -n <num>; (2) use the -r, --reverse option to show the top results last. [1] https://github.com/jarun/googler/issues/281 https://github.com/jarun/googler/issues/281
- toxik 5y agoIt would be nice if there was a way to run a terminal command without auto-scrolling. So often I run something that spits out tons of error messages, only to have to scroll back up again to find out what happened.
- apjana 5y agoAlso check if your terminal supports Shift-PgUp/PgDn to scroll up/down a page. Works in gnome terminal: https://help.gnome.org/users/gnome-terminal/stable/adv-keyboard-shortcuts.html.en https://help.gnome.org/users/gnome-terminal/stable/adv-keybo...
- circularfoyers 5y agoMight be more apt to mention the same authors version of googler for duckduckgo, https://github.com/jarun/ddgr https://github.com/jarun/ddgr.
- RileyJames 5y agoThose are both awesome. Are there any options to combine the two?
- user3939382 5y agoMaybe use the latter with !g
- muthdra 5y agoI wonder how bash would handle that.
- cyberbanjo 5y agogotta quote to prevent shell expansion for bang iirc
- RileyJames 5y agoOh, I guess I should be more specific. I want the results from both intertwined. The top 5 of each, to make a top 10 (deduped). For dev work I think this would be best.
- kinnth 5y agoI was about to say, the main issues with the DDG view is that it's all formatted in a single colour. One colour for links and one for titles is so much better on the eyes! This is a great project!
- Yuioup 5y agoDidn't work for me so I followed the link to https://git.io/googler-no-results https://git.io/googler-no-results . It looks like it uses a screen scraper. That does not seem like a viable solution to me.
- zmw 5y agoI'm a maintainer of googler (though I haven't put in much work for quite a while) and the author of the linked document. No, it doesn't use a screen scraper, and I don't know how you even got that idea.
- Cederfjard 5y agoIs this perhaps a semantics issue? The linked document mentions parsing HTML, and that layout updates can break it. How would you describe the way googler operates? Edit: Would ”web scraping” be a more apt description?
- zmw 5y agoYes, it's a scraper extracting results from HTML. Which is very different from a screen scraper...
- amelius 5y agoWhat's the use of a text interface if selecting a link leads you to a graphical browser?
- zmw 5y agoYou can use whatever textual browser if you want to.
- mattl 5y agoWhat is NNN?
- b0afc375b5 5y agoAppears to be a file manager https://github.com/jarun/nnn https://github.com/jarun/nnn
- mattl 5y agoAha. Thank you.