Skip to content
Read HackerNews with your favourite mail client!
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


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 > comments.json

and then run the script:

ruby hn2mail.rb

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
Something went wrong with that request. Please try again.