Show HN: ddgr - search DuckDuckGo from your terminal
github.com
github.com
One minor thing: my terminal can't show the first page's results without me scrolling up after every search.
I'd like to either have a reverse output (i.e. show the first result at the bottom, since it's most likely to be the one I want, and I shouldn't need to scroll to it), or a way to limit the result count, so I can fit it to my terminal window. Couldn't find either of those options in `--help`
> ddgr: error: unrecognized arguments: -n
* Fast and clean (no ads, stray URLs or clutter), custom color
* Designed to deliver maximum readability at minimum space
* Specify the number of search results to show per page
* Navigate result pages from omniprompt, open URLs in browser
* Search and option completion scripts for Bash, Zsh and Fish
* DuckDuckGo Bang support (along with completion)
* Open the first result directly in browser (as in I'm Feeling Ducky)
* Non-stop searches: fire new searches at omniprompt without exiting
* Keywords (e.g. `filetype:mime`, `site:somesite.com`) support
* Limit search by time, specify region, disable safe search
* HTTPS proxy support, Do Not Track set, optionally disable User Agent
* Support custom url handler script or cmdline utility
* Comprehensive documentation, man page with handy usage examples
* Minimal dependencies
ddg() { open "https://duckduckgo.com/?q=$1" }
ddgr --gb --np Hello World !w
Falls into help message.