Re:Show HN: Ddgr – search DuckDuckGo from your terminal
by I_complete_me on Monday April 08, 2019 @03:56PM
(#19608483)
Great. 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!
Re:Show HN: Ddgr – search DuckDuckGo from your terminal
by apjana on Monday April 08, 2019 @04:02PM
(#19608521)
Thanks for sharing this.
Re:Show HN: Ddgr – search DuckDuckGo from your terminal
by MisterOctober on Monday April 08, 2019 @03:20PM
(#19608220)
Just 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!
Re:Show HN: Ddgr – search DuckDuckGo from your terminal
by apjana on Monday April 08, 2019 @03:34PM
(#19608323)
Thank you for the compliment!
Re:Show HN: Ddgr – search DuckDuckGo from your terminal
by dontbenebby on Monday April 08, 2019 @03:32PM
(#19608306)
>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.
Re:Show HN: Ddgr – search DuckDuckGo from your terminal
by apjana on Monday April 08, 2019 @03:37PM
(#19608341)
No, 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.
Re:Show HN: Ddgr – search DuckDuckGo from your terminal
by cyphar on Monday April 08, 2019 @04:11PM
(#19608598)
Google 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).
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.