rafaelrinaldi / Hn Cli
Licence: mit
📰 CLI to browse Hacker News
Stars: ✭ 448
Programming Languages
javascript
184084 projects - #8 most used programming language
Labels
Projects that are alternatives of or similar to Hn Cli
Haxor News
Browse Hacker News like a haxor: A Hacker News command line interface (CLI).
Stars: ✭ 3,342 (+645.98%)
Mutual labels: hacker-news, cli, terminal
Stig
TUI and CLI for the BitTorrent client Transmission
Stars: ✭ 360 (-19.64%)
Mutual labels: cli, terminal
Tsukae
🧑💻📊 Show off your most used shell commands
Stars: ✭ 345 (-22.99%)
Mutual labels: cli, terminal
Libterm
iOS sandboxed terminal with Python, Lua and Clang
Stars: ✭ 348 (-22.32%)
Mutual labels: cli, terminal
Cw
The best way to tail AWS CloudWatch Logs from your terminal
Stars: ✭ 368 (-17.86%)
Mutual labels: cli, terminal
Nord Dircolors
An arctic, north-bluish clean and elegant dircolors theme.
Stars: ✭ 328 (-26.79%)
Mutual labels: cli, terminal
Spotify Cli Linux
🎶 A command line interface to Spotify on Linux
Stars: ✭ 443 (-1.12%)
Mutual labels: cli, terminal
Hues
Colored terminal text made easy for Python and happiness.
Stars: ✭ 345 (-22.99%)
Mutual labels: cli, terminal
Cmd2
cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python
Stars: ✭ 342 (-23.66%)
Mutual labels: cli, terminal
Colorls
A Ruby gem that beautifies the terminal's ls command, with color and font-awesome icons. 🎉
Stars: ✭ 3,896 (+769.64%)
Mutual labels: cli, terminal
Pick
create curses based interactive selection list in the terminal
Stars: ✭ 370 (-17.41%)
Mutual labels: cli, terminal
Yaspin
A lightweight terminal spinner for Python with safe pipes and redirects 🎁
Stars: ✭ 413 (-7.81%)
Mutual labels: cli, terminal
Fd
A simple, fast and user-friendly alternative to 'find'
Stars: ✭ 19,851 (+4331.03%)
Mutual labels: cli, terminal
Tqdm
A Fast, Extensible Progress Bar for Python and CLI
Stars: ✭ 20,632 (+4505.36%)
Mutual labels: cli, terminal
CLI to browse Hacker News
Install
$ npm install -g @rafaelrinaldi/hn-cli
Usage
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)
--latest Sort the list by submission date (defaults to false)
Features
- By default it will list stories using the same order as seen on HN
- You can change the list order to display the most recent ones by runnig the program with the
--latest
flag - You can use Vim arrow keys j and k to navigate through the list
- Use gg to scroll to the first item of the list and G to scroll to the last one
- Hitting the enter key will open the URL in your default browser
- Hitting the c key will open the HN comments for that story on your default browser
- Share an item on Twitter by hitting the t key
- Hitting the r key will refresh the stories and update the current list
- A status bar is fixed on the bottom of the screen to provide visual feedback about updates and reading progress
- Use esc, ⌃C or q to close the program
License
MIT © Rafael Rinaldi
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].