Repository navigation
hn 0.2.0
hn 0.2.0
The first public release of hn: an interactive terminal browser and scriptable CLI for Hacker News.
Highlights
- Full-screen TUI with feed sidebar, story list, detail pane, and threaded comments
- Keyboard-first navigation plus mouse support
- Search, command palette, help overlay, login modal, toasts, and confirmations
- Vote, submit, comment, edit, delete, favorite, hide, flag, and unflag
- Fast feed loading from HN's HTML and one-request thread trees from Algolia
- Scriptable line-oriented commands for feeds, items, threads, users, search, and auth
- Session storage with
0600permissions; passwords are never persisted
Install
brew install kaushalvivek/tap/hnOr:
curl -fsSL https://raw.githubusercontent.com/kaushalvivek/hn-cli/main/install.sh | shUniversal macOS binary for Apple Silicon and Intel. Requires macOS 14+.
This release contains the hn binary, MIT license, and README. See the README for the full command and keybinding reference.
Hacker News has no official write API; authenticated actions use the site's HTML forms and session tokens and may change without notice.