Thanks! If you have any suggested improvements then just create an issue on Github and I'll try get around to it (or create a pull request alternatively).
This would be infinitely more useful if there was a view that scraped the comments for each article or (even better) scraped the article itself (instapaper style). I would love to peruse hacker news this way in-between working as I hate getting distracted on websites.
If I get some free time I might look into adding that myself.
Links comes pretty close. Here's some of the output of this comments page:
$ links -dump 'http://news.ycombinator.com/item?id=4992951'
[IMG] Hacker Newsnew | comments | ask | jobs | submit login
[IMG] Show HN: HN In Your Terminal (github.com)
37 points by ciaranarcher 5 hours ago | 14 comments
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________
[ add comment ]
[IMG] bstar77 1 hour ago | link
This would be infinitely more useful if there was a view that
scraped the comments for each article or (even better)
scraped the article itself (instapaper style). I would love
to peruse hacker news this way in-between working as I hate
getting distracted on websites.
If I get some free time I might look into adding that myself.
reply
[IMG] slajax 1 hour ago | link
I would use this but I also think it needs to implement at
very least the comments page view. Otherwise you might as
well just stick to the browser. There are a lot of times I'll
read comments before I read an article, so I could still find
it useful even if you didn't scrape the entire article to
it's own view but allowed me to browse the comments.
reply
....
Lists | RSS | Bookmarklet | Guidelines | FAQ | DMCA | News News |
Feature Requests | Y Combinator | Apply | Library
Search: __________________
very nice, then it's definitely possible to just have this gem use a links dump to display the comment content. I think links by itself is a bit clumsy for everyday use.
If it just had a version of Lynx embedded it could show the website fairly well unless it was a heavily scripted site that loads its content for each page via JavaScript.
I would use this but I also think it needs to implement at very least the comments page view. Otherwise you might as well just stick to the browser. There are a lot of times I'll read comments before I read an article, so I could still find it useful even if you didn't scrape the entire article to it's own view but allowed me to browse the comments.
20 comments
[ 3.4 ms ] story [ 62.4 ms ] threadIf you would like to hack on it feel free, the source is at https://github.com/bencevans/hnews
If I get some free time I might look into adding that myself.
oh-my-zsh, retina MBP, 10.8.2
I wrote a Hacker News plugin for Sublime Text a little while ago that lets you browse HN from inside the editor. If anyone is interested, the repo is here: https://github.com/dotty/HackerNews-SublimeTextPlugin