Repository navigation
Releases
Releases · kaushalvivek/hn-cli
v0.4.2
What's Changed
- Fix NO_COLOR=1 and HN_JSON=1 aborting every command by @kaushalvivek in #1
New Contributors
- @kaushalvivek made their first contribution in #1
Full Changelog: v0.4.0...v0.4.2
v0.4.0
v0.3.1
v0.3.0
hn 0.2.1
hn 0.2.1
This release rebuilds the commenting experience from the ground up.
Fixed
- Replaced the external-editor-only flow with an inline, context-aware composer.
- Replying now shows the target author, story, and a quote of the parent comment.
- Drafts persist across cancel/quit and are restored when you reopen the composer.
Ctrl-Sposts,Escsaves a draft, andCtrl-Eopens an external editor for long-form writing.- Failed posts keep the composer open with the draft intact.
- Posted replies are inserted under their parent immediately and selected, instead of reloading the whole thread.
- Fixed stale comment-form values overriding the requested reply target.
Install
brew upgrade hnor:
brew install kaushalvivek/tap/hnUniversal macOS binary for Apple Silicon and Intel. Requires macOS 14+.
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.