A command line tool to print out the latest stories on Hacker News to your terminal.
- View top, newest, show, ask, and job posts from Hacker News.
- Uses the official Firebase-based Hacker News API.
$ npm install --global hns
Typing hns --help
will list all the available commands.
$ hns top -l 5
$ hns jobs -l 5
Notes:
- Use
-l
to limit the number of posts displayed. - Press
Command(⌘) + double-click
to open links from the terminal on Mac OS X.
- Interactive mode (Users can navigate posts using the arrow keys and open them from the terminal)
Feel free to help out with this project. If you see something that could be made better or want a new feature, open up an issue or send a Pull Request.