Live data from Hacker News

Show HN: Ddgr – search DuckDuckGo from your terminal

github.com

11–20 of 53 posts

Re: Show HN: Ddgr – search DuckDuckGo from your terminal

#11
post #10
post #9

Is there a way to search for images or videos, e.g. &iax=images&ia=images ? I looked through the documentation and don't seem to see any.

Currently only text search is supported.

Bummer, I can think of some harmonious interaction between ddgr video search and youtube-dl. Maybe somebody can put together a PR.

Re: Show HN: Ddgr – search DuckDuckGo from your terminal

#12
post #10

Earlier quoted context omitted.

Currently only text search is supported.

Bummer, I can think of some harmonious interaction between ddgr video search and youtube-dl. Maybe somebody can put together a PR.

You have the option `--url-handler` so the video can be fed to your favorite media player.

Re: Show HN: Ddgr – search DuckDuckGo from your terminal

#13
post #2

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…

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

#15
post #12

Earlier quoted context omitted.

Bummer, I can think of some harmonious interaction between ddgr video search and youtube-dl. Maybe somebody can put together a PR.

You have the option `--url-handler` so the video can be fed to your favorite media player.

I'm thinking about invoking from an mpv script with --json.

Re: Show HN: Ddgr – search DuckDuckGo from your terminal

#16
post #2

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…

>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

#17
post #2

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…

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!

Thank you for the compliment!

Re: Show HN: Ddgr – search DuckDuckGo from your terminal

#18
post #2

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…

>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.

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

#19
post #12

Earlier quoted context omitted.

You have the option `--url-handler` so the video can be fed to your favorite media player.

I'm thinking about invoking from an mpv script with --json.

There are some examples in googler's introduction section. Check those out!
Post reply on HN