7 ms·
Hacker News in the Terminal
- wwwwww 13y agocomments are essential to much of HN
- Zikes 13y agoYep, sometimes that's where the real story is at. Heck, one of today's front page posts is comprised almost solely of two HN comments.
- mbreese 13y agoI see one with three comments, but not one with two... Oh well. But, you're right, comments are really where places like HN shine.
- Zikes 13y agoI was referring to the blog post[1] which was basically a copy and paste of two comments on a previous HN post. [1] https://news.ycombinator.com/item?id=6146930 https://news.ycombinator.com/item?id=6146930
- deleted 13y ago[deleted]
- oftenwrong 13y agoYou would say that.
- wasd 13y agoExactly, how can a community be valuable without a voice?
- footoverhand 13y agoI was first interested in this post since I do most of my HN browsing via newsbeuter/w3m which are terminal applications. To post, the easiest way seems to be to just pull up the story in my web browser.
- MatthewPhillips 13y agoOr just use elinks, which works great: http://i.imgur.com/FuxUew1.png http://i.imgur.com/FuxUew1.png
- jlgreco 13y agoUnfortunately comments don't nest nicely in elinks. Otherwise it's great.
- MatthewPhillips 13y agoThat's because HN uses an image tag to do the nesting and apparently elinks ignores the width property on image tags.
- codygman 13y agoWondering how involved it would be to add a script to do that in elinks.
- demiol 13y agoin ~/.elinks/hooks.pl: http://pastebin.com/P4frn4N7 http://pastebin.com/P4frn4N7
- MatthewPhillips 13y agoAwesome, thanks.
- IanCal 13y agoI'm quite disappointed that this is the case. I don't expect a crazy parallax motion-sickness inducing css3 but I do expect decent markup. I was disappointed when you said they used images. I was more disappointed when I looked at the source and realised it's nested tables. For shame, HN. For shame.
- 13y ago
- themodelplumber 13y agoHmm..this might be enough to get me to try Ruby. Looks neat and I've been wanting to learn the language. I hate dependency plumbing but this looks like it might work out of the (my) box.
- AndrewVos 13y agoIt's a very fun language. You should definitely give it a go.
- ordinary 13y agocomments powered by Disqus
- ck2 13y agoThere are no links to comments, because you should never read the comments. wait, what? There are some great comments around here.
- krapp 13y agoRight? It's a forum, not a link aggregator. Comments are the entire point.
- aspensmonster 13y agoGrabbing all the comments and intelligently displaying them in a terminal would require substantially more work, I suspect.
- krapp 13y agoThat's probably true. The nested format would be a challenge at the very least.
- Watabou 13y agoThen the author should say that. "You should never read comments" just doesn't make sense in HN when comments are the entire point of why I'm here. Right now, I don't see why I should use this tool when I can just use elinks.
- kenbellows 13y ago...maybe it was a joke.
- devgutt 13y agoI used to use elinks with a filter (words.txt) by topic elinks -dump news.ycombinator.com | sed -n -e 's/\([0-9]\+\)\.\ \+\(\[.\+\]\)\+\(.*\)/\1: \3/p' | grep -f words.txt -i
- rdl 13y agoAn HN to nntp scraper would be awesome.
- mknappen 13y agoThanks!
- deleted 13y ago[deleted]
- deleted 13y ago[deleted]
- rly_ItsMe 13y agofor just monitoring the news on a console I still use hackertop https://github.com/pkrumins/hacker-top https://github.com/pkrumins/hacker-top
- a-b 13y agoWhy not to use regular text browser like links or elinks? $links https://news.ycombinator.com/ https://news.ycombinator.com/
- a-b 13y agohttp://en.wikipedia.org/wiki/ELinks http://en.wikipedia.org/wiki/ELinks
- __voidcast__ 13y agoI may have been more inclined to use this, if it did have the feature to read the comments!! More often than not, I go through the comments first just to gauge the quality of the article and only if I am satisfied do I actually go read the article. That's why I don't like using desktop rss tickers for HN.
- sea6ear 13y agoI've been reading HN in a terminal for a while via Emacs and w3m mode. EDIT: or also, just use w3m outside of Emacs.
- tlarkworthy 13y ago50 commentators fail to get the comment joke... (he is British I spose)
- AndrewVos 13y agoI don't get the British reference?
- moocowduckquack 13y agoIt should be possible to do this in a line of bash, this is my current start point - curl https://news.ycombinator.com | sed 's|<[^>]*>||g' edit - for reference, this is being done in an osx 10.7.5 terminal, so ymmv getting somewhereish, I only have a slight understanding of regex to be honest :) curl https://news.ycombinator.com | sed 's|<[^>]*>|-|g' | sed -e 's/-------/\'$'\n/g' ... curl https://news.ycombinator.com | sed 's|<[^>]*>|-|g' | sed 's|------------|-|g' | sed -e 's/-------/\'$'\n/g'
- gre 13y agoWrote this into Factor last year. It even has the orange color in the terminal! https://github.com/slavapestov/factor/blob/master/extra/hacker-news/hacker-news.factor https://github.com/slavapestov/factor/blob/master/extra/hack... IN: scratchpad USE: hacker-news USE: io.streams.256color [ hacker-news. ] with-256color` Hacker News 1. FBI pressures Internet providers to install surveillance software (news.cnet.com) 104 points by ojbyrne 2 hours ago | 32 comments 2. Hard drive hack provides root access, even after reinstall (spritesmods.com) 200 points by pd0wm 5 hours ago | 46 comments ..
- dchichkov 13y agoalias news='lynx http://news.ycombinator.com' http://news.ycombinator.com'
- serf 13y agoM-x hackernews uses the api instead though.
- joeblau 13y agoAwesome little utility. Next step is letting me comment :).
- Aloha 13y agoCouldn't I just use links to get the same effect? But with the comments (what I consider the best part of HN)
- dickler 13y agoemacs-w3m is the best hacker news reader!