CLI to browse Hacker News
$ npm install -g @rafaelrinaldi/hn-cli
Usage: hn [OPTIONS]
CLI to browse Hacker News
Example:
$ hn --limit 10 --keep-open
Options:
-v --version Display current software version.
-h --help Display help and usage details.
-l --limit Limit the number of items to display (defaults to 150).
-k --keep-open Wether or not to keep the list open after selecting an item (defaults to false).
- Will always fetch the latest stories (displaying the same order as on the actual website)
- You can use Vim arrow keys j and k to navigate through the list
- Use gg to go to scroll to the first item of the list and G to scroll to the last one
- When you select an item by hitting the enter key, it'll open the URL on your default browser
- Use esc, ⌃C or q to close the program
MIT © Rafael Rinaldi