Skip to content

Releases

v0.4.2

Choose a tag to compare

@github-actions github-actions released this 09 Nov 05:03

What's Changed

  • Fix NO_COLOR=1 and HN_JSON=1 aborting every command by @kaushalvivek in #1

New Contributors

Full Changelog: v0.4.0...v0.4.2

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 09 Nov 04:35

Full Changelog: v0.3.1...v0.4.0

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 08 Nov 19:00

Full Changelog: v0.3.0...v0.3.1

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 08 Nov 18:49

Full Changelog: v0.2.1...v0.3.0

hn 0.2.1

Choose a tag to compare

@github-actions github-actions released this 08 Nov 17:34

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-S posts, Esc saves a draft, and Ctrl-E opens 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 hn

or:

brew install kaushalvivek/tap/hn

Universal macOS binary for Apple Silicon and Intel. Requires macOS 14+.

hn 0.2.0

Choose a tag to compare

@github-actions github-actions released this 08 Nov 15:35

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 0600 permissions; passwords are never persisted

Install

brew install kaushalvivek/tap/hn

Or:

curl -fsSL https://raw.githubusercontent.com/kaushalvivek/hn-cli/main/install.sh | sh

Universal 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.