4 ms·
ddgr is a cmdline utility to search DuckDuckGo from the terminal. While googler is extremely popular among cmdline users, in many forums the need of a similar u
by apjana 8y ago
ddgr is a cmdline utility to search DuckDuckGo from the terminal. While googler is extremely popular among cmdline users, in many forums the need of a similar utility for privacy-aware DuckDuckGo came up. DuckDuckGo Bangs are super-cool too! So here's ddgr for you!
Unlike the web interface, you can specify the number of search results you would like to see per page; more convenient than skimming through 30-odd search results per page. The default interface is carefully designed to use minimum space without sacrificing readability.
A big advantage of ddgr over googler is DuckDuckGo works over the Tor network.
ddgr is available in the repos of many distros as well as on PyPI.
- MisterOctober 8y agoJust installed it; love it. Will save me time by avoiding the need to switch from terminal to browser to use ddg [and sidesteps the less-than-optimal UI of Lynx, which I still use pretty frequently but dislike for search]. Big up!
- apjana 8y agoThank you for the compliment!
- dontbenebby 8y ago>A big advantage of ddgr over googler is DuckDuckGo works over the Tor network. I'm not sure I follow. Is there an option to route this command over Tor? DuckDuckGo has a dot onion but queries on DuckDuckGo.com aren't routed over Tor.
- apjana 8y agoNo, it doesn't mean by default routing over Tor. There's an option to specify proxy which you can use to route your ddgr searches using the Tor network. However, Google blocks that.
- cyphar 8y agoGoogle doesn't /block/ Tor, they just make life difficult for users by giving endless captcha depending on what exit node you have (similar to what Cloudflare did until quite recently). But maybe you're referring to API access? I'm not sure if Tor users are outright blocked (and if the block is any different to other "abusive" IPs).
- apjana 8y agoPlease try it out with googler.
- I_complete_me 8y agoGreat. Well done on this. I now have a new favourite dictionary on my zsh CLI thus: alias -g define='BROWSER=w3m ddgr \!wordnik ' Thank you!
- apjana 8y agoThanks for sharing this.