Show HN: Ddgr – search DuckDuckGo from your terminal
1–10 of 53 posts
Re: Show HN: Ddgr – search DuckDuckGo from your terminal
#2Unlike 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.
Re: Show HN: Ddgr – search DuckDuckGo from your terminal
#3Re: Show HN: Ddgr – search DuckDuckGo from your terminal
#4Can you search by any duration, like googler can, or does duckduckgo prevent you from implementing that? That's my biggest complaint about ddg: can't even search by past year
Re: Show HN: Ddgr – search DuckDuckGo from your terminal
#5https://gitlab.com/surfraw/Surfraw
https://wiki.archlinux.org/index.php/Surfraw
https://en.wikipedia.org/wiki/Surfraw
> Surfraw (Shell Users Revolutionary Front Rage Against the Web) is a free public domain POSIX-compliant (i.e. meant for Linux, FreeBSD etc.) command-line shell program for interfacing with a number of web-based search engines.[1] It was created in July 2000 by Julian Assange[2] and is licensed in the public domain[3] and written in the Bourne shell language.
Yes, it's apparently that Julian Assange.
Re: Show HN: Ddgr – search DuckDuckGo from your terminal
#6Reminds me of surfraw: https://gitlab.com/surfraw/Surfraw https://wiki.archlinux.org/index.php/Surfraw https://en.wikipedia.org/wiki/Surfraw > Surfraw (Shell Users Revolutionary Front Rage Against the Web) is a free public domain POSIX-compliant (i.e. meant for Linux, FreeBSD etc.) command-line shell program for interfacing with a number of web-based search engines.[1] It was created in July 2000 by Julian Assange[2]…
$ sudo apt install surfraw
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libalgorithm-c3-perl libb-hooks-endofscope-perl libcache-perl libclass-accessor-chained-perl
libclass-c3-perl libclass-c3-xs-perl libclass-data-inheritable-perl libclass-errorhandler-perl
libclass-inspector-perl libclass-singleton-perl libdata-optlist-perl libdata-page-perl
libdatetime-format-mail-perl libdatetime-format-w3cdtf-perl libdatetime-locale-perl libdatetime-perl
libdatetime-timezone-perl libdevel-caller-perl libdevel-lexalias-perl libdevel-stacktrace-perl
libeval-closure-perl libexception-class-perl libfeed-find-perl libfile-nfslock-perl
libfile-sharedir-perl libheap-perl liblwp-authen-wsse-perl libmodule-implementation-perl
libmodule-pluggable-perl libmro-compat-perl libnamespace-autoclean-perl libnamespace-clean-perl
libpackage-stash-perl libpackage-stash-xs-perl libpadwalker-perl libparams-util-perl
libparams-validate-perl libparams-validationcompiler-perl libreadonly-perl libref-util-perl
libref-util-xs-perl libspecio-perl libsub-exporter-perl libsub-identify-perl libsub-install-perl
liburi-fetch-perl liburi-template-perl libvariable-magic-perl libwww-opensearch-perl libxml-atom-perl
libxml-feed-perl libxml-libxslt-perl libxml-rss-perl libxml-xpath-perl surfraw-extra
Suggested packages:
libtest-fatal-perl screen
The following NEW packages will be installed:
libalgorithm-c3-perl libb-hooks-endofscope-perl libcache-perl libclass-accessor-chained-perl
libclass-c3-perl libclass-c3-xs-perl libclass-data-inheritable-perl libclass-errorhandler-perl
libclass-inspector-perl libclass-singleton-perl libdata-optlist-perl libdata-page-perl
libdatetime-format-mail-perl libdatetime-format-w3cdtf-perl libdatetime-locale-perl libdatetime-perl
libdatetime-timezone-perl libdevel-caller-perl libdevel-lexalias-perl libdevel-stacktrace-perl
libeval-closure-perl libexception-class-perl libfeed-find-perl libfile-nfslock-perl
libfile-sharedir-perl libheap-perl liblwp-authen-wsse-perl libmodule-implementation-perl
libmodule-pluggable-perl libmro-compat-perl libnamespace-autoclean-perl libnamespace-clean-perl
libpackage-stash-perl libpackage-stash-xs-perl libpadwalker-perl libparams-util-perl
libparams-validate-perl libparams-validationcompiler-perl libreadonly-perl libref-util-perl
libref-util-xs-perl libspecio-perl libsub-exporter-perl libsub-identify-perl libsub-install-perl
liburi-fetch-perl liburi-template-perl libvariable-magic-perl libwww-opensearch-perl libxml-atom-perl
libxml-feed-perl libxml-libxslt-perl libxml-rss-perl libxml-xpath-perl surfraw surfraw-extra
0 upgraded, 56 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,883 kB of archives.
After this operation, 29.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.Re: Show HN: Ddgr – search DuckDuckGo from your terminal
#7Can you search by any duration, like googler can, or does duckduckgo prevent you from implementing that? That's my biggest complaint about ddg: can't even search by past year
Re: Show HN: Ddgr – search DuckDuckGo from your terminal
#8Reminds me of surfraw: https://gitlab.com/surfraw/Surfraw https://wiki.archlinux.org/index.php/Surfraw https://en.wikipedia.org/wiki/Surfraw > Surfraw (Shell Users Revolutionary Front Rage Against the Web) is a free public domain POSIX-compliant (i.e. meant for Linux, FreeBSD etc.) command-line shell program for interfacing with a number of web-based search engines.[1] It was created in July 2000 by Julian Assange[2]…
The number of dependencies is very high. From Ubuntu 18.04: $ sudo apt install surfraw Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libalgorithm-c3-perl libb-hooks-endofscope-perl libcache-perl libclass-accessor-chained-perl libclass-c3-perl libclass-c3-xs-perl libclass-data-inheritable-perl libclass-errorhandler-perl lib…
Re: Show HN: Ddgr – search DuckDuckGo from your terminal
#9Re: Show HN: Ddgr – search DuckDuckGo from your terminal
#10Is 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.