Everyone loves Hacker News. And everyone loves mail. So I just combined the two of them.
What does it do?
It just writes all the comments of one thread into a maildir-structured directory where you can read it with whatever you want.
For example with mutt:
What to do?
For now you have to fetch the json containing the post and comments yourself:
curl http://api.ihackernews.com/post/3657821 > comments.json
and then run the script:
What do I need for this to work?
Just two gems:
"THE BEER-WARE LICENSE" (Revision 42): badboy wrote this script. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return. Jan-Erik Rediger