I like it. But I already use elinks in a terminal (most current Linux distros make elinks availble).<p>Here is how I run it:<p>$ elinks news.ycombinator.com<p>Then:<p><pre><code> Select story/comment : "Up" and "Down" arrows.
Open story/comment : "Enter"
Go back to previous page : "Back" arrow.
Quit : "q"</code></pre>
I like this, but does it really make sense to call it a "command-line" application? I'd call it a terminal application (like w3m, lynx, etc). I can also type "firefox <a href="http://news.ycombinator.com/" rel="nofollow">http://news.ycombinator.com/</a> at my shell, but I don't think that makes it a command-line app.
My w3m version:<p><pre><code> w3m http://news.ycombinator.com
image: http://bayimg.com/DAGbdAACJ
</code></pre>
shortcuts:<p><pre><code> H : Help
TAB: Move to the next link
ENTER: Go to the current link
B: Go to the previous link
move around the text: hjkl
</code></pre>
You can use the mouse of course.
hnsh is a program I wrote to let you catch up with HN from the shell. You can browse the front page, open up stories and open up comments. There are a couple other nifty features, but they're all listed on the page for you to read, so there's no use re-posting them here.<p>Hacker News, all keyboard, no mouse. Let me know what you think, HN.<p>I'll have to head off in a while (it's just past midnight here in Australia), but I'll definitely get back to any comments I miss.
Surely a command line browser like lynx, links, w3m or whatever would achieve this (and more since you can read the original page too)?<p>It might also prod <i>pg</i> or whoever to use better markup so you don't see "[greyarrow]" as link text instead of "upvote".
Update - the code has been uploaded to Github!<p><a href="http://github.com/scottjacksonx/hnsh" rel="nofollow">http://github.com/scottjacksonx/hnsh</a>
This is really cool. A lot of people said text based browsers would probably do the trick without having to write a bunch of python code -- but I would guarantee you learned something in the process.<p>Good job scott! (nice name by the way)
Looks interesting, but it does defeat the distraction-limiting device of having the only browser in you office on the laptop across the room. With this, I can procrastinate from any terminal.