Live data from Hacker News

DuckDuckGo as a TTY

duckduckgo.com

41–50 of 94 posts

Re: DuckDuckGo as a TTY

#41

I was hoping for something like: ssh duckduckgo.com grep -r foo news.ycombinator.com

The closest thing I could get working for real was:

  curl -s -X POST https://lite.duckduckgo.com/lite/ -H 'Content-Type: application/x-www-form-urlencoded' -d 'q=foo+site:news.ycombinator.com' | grep 'rel="nofollow"'

Re: DuckDuckGo as a TTY

#42
post #11

For people that are looking for a nice search TUI, may I point you to Googler. It's made by the author of NNN and a couple other fantastic terminal tools. Highly recommend. It's amazing how clean you can make the interface https://github.com/jarun/googler Screenshot of Googler in action when it's nice and clean https://snid.es/2021OCT/YG4OXAlXg4INZWPe.png

What's the use of a text interface if selecting a link leads you to a graphical browser?

Re: DuckDuckGo as a TTY

#43
post #11

For people that are looking for a nice search TUI, may I point you to Googler. It's made by the author of NNN and a couple other fantastic terminal tools. Highly recommend. It's amazing how clean you can make the interface https://github.com/jarun/googler Screenshot of Googler in action when it's nice and clean https://snid.es/2021OCT/YG4OXAlXg4INZWPe.png

What is NNN?

Re: DuckDuckGo as a TTY

#44
A long time ago I wrote goosh (https://goosh.org) which does the same thing for google. It's nice to see something similar for DDG. After a first test it looks like it only searches DDGs public API (so definitions, etc) and doesn't return results from the bing index (a search for "test2" e.g. turns up nothing).

Re: DuckDuckGo as a TTY

#45
For as much as I love the terminal UI, I don't think the next quantum leap in search functionality can be delivered with it. Assume you have access to an index that is objective / transparent and serves you a (typically) long list of results. The next step is really to make sense and work with the results: you need to quickly and easily filter, order, search within, group or classify or do other bulk operations with all the returned items.

Just like with other "information firehose" environments, like social media feeds, email clients etc, its the "meta search" powers that matter and those are probably better served with GUI's.

Re: DuckDuckGo as a TTY

#46

They were able to create a fake TTY for searching the web, but they still don't support IPv6. https://www.reddit.com/r/duckduckgo/search/?q=ipv6&restrict_...

Yeesh, the ignorance of the folks in those threads. Painful. Anyways, if someone can't get to non-v6 resources, they have bigger problems than not being able to use DDG. There is a single class of operator for whom v6 deployment actually makes sense, which is large-scale ISPs for whom CGNAT presents an onerous burden on their reporting/monitoring requirements to law enforcement. Everyone else is just rolling v6 out t…

Everyone else is just rolling v6 out to meet the requirement of a client (typically government) contract.

I'm holding out for ipv8, where someone sensibly just slaps a 1. in front of ipv4 style addresses, which to stacks means route to old ipv4.

Then we have all we need with an extra octlet. We could even reserve a bunch for off-planet communicates, eg 100. = moon, 101 = mars, etc.

All existing tools, code, etc would see, route, etc 4 octlets to 1. addresses. Anything encountering 4 octlets would do the same. Old stuff could function forever, just with no ability to connect beyond 1.

No dual stack, no crazy issues, no 30 year old, broken attempt to re-engineer what didn't need to be done.

What were they thinking?! Yay! Let's eschew simplicity, and instead make a massive change as difficult to upgrade as possible!

Re: DuckDuckGo as a TTY

#47
post #43
post #11

For people that are looking for a nice search TUI, may I point you to Googler. It's made by the author of NNN and a couple other fantastic terminal tools. Highly recommend. It's amazing how clean you can make the interface https://github.com/jarun/googler Screenshot of Googler in action when it's nice and clean https://snid.es/2021OCT/YG4OXAlXg4INZWPe.png

What is NNN?

Appears to be a file manager

https://github.com/jarun/nnn

Re: DuckDuckGo as a TTY

#48
post #37
post #11

For people that are looking for a nice search TUI, may I point you to Googler. It's made by the author of NNN and a couple other fantastic terminal tools. Highly recommend. It's amazing how clean you can make the interface https://github.com/jarun/googler Screenshot of Googler in action when it's nice and clean https://snid.es/2021OCT/YG4OXAlXg4INZWPe.png

Didn't work for me so I followed the link to https://git.io/googler-no-results . It looks like it uses a screen scraper. That does not seem like a viable solution to me.

I'm a maintainer of googler (though I haven't put in much work for quite a while) and the author of the linked document. No, it doesn't use a screen scraper, and I don't know how you even got that idea.

Re: DuckDuckGo as a TTY

#49
post #42
post #11

For people that are looking for a nice search TUI, may I point you to Googler. It's made by the author of NNN and a couple other fantastic terminal tools. Highly recommend. It's amazing how clean you can make the interface https://github.com/jarun/googler Screenshot of Googler in action when it's nice and clean https://snid.es/2021OCT/YG4OXAlXg4INZWPe.png

What's the use of a text interface if selecting a link leads you to a graphical browser?

You can use whatever textual browser if you want to.

Re: DuckDuckGo as a TTY

#50
post #11

For people that are looking for a nice search TUI, may I point you to Googler. It's made by the author of NNN and a couple other fantastic terminal tools. Highly recommend. It's amazing how clean you can make the interface https://github.com/jarun/googler Screenshot of Googler in action when it's nice and clean https://snid.es/2021OCT/YG4OXAlXg4INZWPe.png

Might be more apt to mention the same authors version of googler for duckduckgo, https://github.com/jarun/ddgr .

Those are both awesome. Are there any options to combine the two?
Post reply on HN