News for hackers. Stuff that matters.
Re:Show HN: Ddgr – search DuckDuckGo from your terminal by dontbenebby on Monday April 08, 2019 @11:01PM (#19611388)
Hi, maybe there's something wrong with my environment, but I installed Lynx via brew, got the location (which brew|pbcopy) then exported the location to an environment variable (export BROWSER=/usr/local/bin/lynx).

But when I select something in ddgr, it says it's opened lynx but the display still just shows a list of 10 results.

If I hit q, it drops me back to ddgr, and then a quit again exits the program.

I don't want to jump to saying the issue is ddgr but was a little surprised.

It's still very useful since a lot of what I do needs images anyways, and it's IMHO silly to try to do GUI browsing in terminal, just thought I'd mention it.

Thanks for being so active in the comments!

(Trying to be extra positive since I know HN can be a little hypercritical, and the people who loved it aren't necessarily going to drop in and say so beyond an upvote :) )

Re:Show HN: Ddgr – search DuckDuckGo from your terminal by apjana on Monday April 08, 2019 @11:12PM (#19611443)
Works fine for me. Steps right out of the terminal:

  1. sudo apt install lynx
  2. export BROWSER=lynx
  3. ddgr hello world
  4. Press 1 (to open the first result in lynx)
The site is opened in lynx as expected.
Re:Show HN: Ddgr – search DuckDuckGo from your terminal by dontbenebby on Monday April 08, 2019 @11:29PM (#19611524)
Thanks, that was my issue (I was typing the literal path to lynx not just "lynx")