Skip to content

Releases

hn 0.2.2

Choose a tag to compare

@github-actions github-actions released this 20 Nov 00:14
b1b921d

hn v0.2.2

hn is a terminal reader for Hacker News. This release fixes how the age of older stories and comments is shown.

Changes

  • Anything a week or older now shows its age as 1w, 2w and so on, matching 5m, 3h and 6d. It used to read 1 weeks ago.

Install

With Homebrew:

brew install shaance/tap/hn

Or download the tar.gz and matching .sha256 for your system from the release assets. Verify the archive with shasum -a 256 -c <archive>.sha256, extract it, and put hn on your PATH.

To build from source with Rust 1.88 and Cargo:

cargo install hn-reader --locked

Requirements and optional setup

  • macOS binaries target macOS 13 or newer on Apple Silicon and Intel. macOS may need network access the first time it checks the notarization ticket.
  • Linux binaries are built on Ubuntu 22.04 for x86-64 and ARM64, with glibc 2.35 and OpenSSL 3. Install the OpenSSL 3 runtime if it is missing.
  • Browsing and saving stories work without an API key. Summaries need an OpenRouter or Anthropic API key in the M settings form, OPENROUTER_API_KEY, or ANTHROPIC_API_KEY.

hn 0.2.1

Choose a tag to compare

@github-actions github-actions released this 19 Nov 18:57
c2d33b7

hn v0.2.1

hn is a terminal reader for Hacker News. This release changes what h does, stops a broken summary from reaching the screen, and adds two ways to install.

Changes

  • h now folds the selected comment's replies, as in the Mac app, both in the discussion and in a citation's source view. To go back, use Esc, q or ←.
  • If the model returns a discussion summary whose overview or point is a single word, such as "placeholder", hn shows "Discussion summary came back incomplete. M → Enter Retry" instead of displaying it.
  • hn is now on crates.io as hn-reader. The installed command is still hn.

Install

With Homebrew:

brew install shaance/tap/hn

Or download the tar.gz and matching .sha256 for your system from the release assets. Verify the archive with shasum -a 256 -c <archive>.sha256, extract it, and put hn on your PATH.

To build from source with Rust 1.88 and Cargo:

cargo install hn-reader --locked

Requirements and optional setup

  • macOS binaries target macOS 13 or newer on Apple Silicon and Intel. macOS may need network access the first time it checks the notarization ticket.
  • Linux binaries are built on Ubuntu 22.04 for x86-64 and ARM64, with glibc 2.35 and OpenSSL 3. Install the OpenSSL 3 runtime if it is missing.
  • Browsing and saving stories work without an API key. Summaries need an OpenRouter or Anthropic API key in the M settings form, OPENROUTER_API_KEY, or ANTHROPIC_API_KEY.

hn 0.2.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 13:05
7a98de4

hn v0.2.0

hn is a terminal reader for Hacker News. This release adds downloadable binaries for macOS and Linux and makes it easier to follow long discussions.

Highlights

  • Reopen folded branches without fetching their replies again. In deep threads, choose “continue thread” to start at that comment. The reader shows the ancestor trail, Backspace steps back up it, and f dims comments outside the selected chain.
  • Open a summary citation to read the cited comment in context and browse its replies. Replies loaded here also appear in the main discussion.
  • Pick up saved article and discussion summaries after restarting hn. The app can reuse these summaries without another provider request. Article extraction also works better on GitHub release pages and the Cloudflare blog.
  • On terminals 160 columns or wider, the feed shows its stories in two columns; ← and → move between them and turn the page at the edge.
  • Move across feed pages with j and k. Use g and G to jump to the first and last story on the page, or use Space, Page Down, and Page Up to turn pages. Press M to open summary settings from any view.

Install

Download the tar.gz and matching .sha256 for your system from the release assets. Verify the archive with shasum -a 256 -c <archive>.sha256, extract it, and put hn on your PATH.

With Homebrew:

brew install shaance/tap/hn

To build from source with Rust 1.88 and Cargo:

cargo install --git https://github.com/Shaance/hn --tag tui-v0.2.0 --locked hn

Requirements and optional setup

  • macOS binaries target macOS 13 or newer on Apple Silicon and Intel. macOS may need network access the first time it checks the notarization ticket.
  • Linux binaries are built on Ubuntu 22.04 for x86-64 and ARM64, with glibc 2.35 and OpenSSL 3. Install the OpenSSL 3 runtime if it is missing.
  • Browsing and saving stories work without an API key. Summaries need an OpenRouter or Anthropic API key in the M settings form, OPENROUTER_API_KEY, or ANTHROPIC_API_KEY.

HN desktop 1.1.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 19:29

New

  • Redesigned summary settings. The dialog is wider and split into two panels. Provider holds the provider, your key and where it's saved. Summaries holds the automatic switch and two quality tiles, Fast and Thorough, each showing the model it uses.
  • Select and copy what you're reading. Drag across a comment, a cited comment, the summary or the extracted article, then press ⌘C. A click still selects a comment or opens a citation.
  • The window reopens where you left it, at the same size and position.

Fixes

  • Going back to the feed animates again when a live page is showing: the feed slides in from the left as the story leaves. Esc, mouse back and trackpad swipe all do this.
  • Returning from a citation animates the same way, and no longer outlines the whole summary afterwards.
  • A selected citation is now visible before you press Enter: its point gets an amber rule and the chip fills.
  • Articles extract correctly on GitHub release pages and the Cloudflare blog.
  • The "More below" label under a long summary is gone. A taller fade at the bottom edge shows there's more to scroll.

Under the hood

  • Rune moves from 55ef526 to 78efd4a.

Apple Silicon, macOS 13 or later. Signed and notarized.

HN desktop 1.0.0

Choose a tag to compare

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

What's Changed

  • Fix preview feed-switch verification race by @Shaance in #36

Full Changelog: https://github.com/Shaance/hackernews-cli/commits/desktop-v1.0.0

hn v0.1.0

Choose a tag to compare

@Shaance Shaance released this 01 Nov 16:09
953864a

hn v0.1.0

hn is a terminal reader for Hacker News, written in Rust. It is for people who want to browse stories and read full comment threads without leaving the terminal.

Highlights

  • Browse Top, New, and Best stories with paging, and read full comment threads with expand/collapse, sibling and parent navigation, and a reading position that is restored when you reopen a discussion in the same run.
  • Save stories for later with s and revisit them in the Saved view (4). Saved stories persist across restarts and need no account.
  • Optional AI summaries of the article and discussion through OpenRouter or Anthropic, with Fast and Thorough profiles, automatic summaries when you open a story, and numbered citations that jump to the cited comment.
  • On macOS with Ghostty, open the original article in a companion browser pane beside the discussion. Other setups open it in the default browser.
  • Automatic light/dark colour detection with HN_THEME override, NO_COLOR support, and HN_REDUCED_MOTION=1 to disable animations.

Install

git clone https://github.com/Shaance/hackernews-cli.git
cd hackernews-cli
cargo install --path . --locked
hn

cargo install places the hn binary in $CARGO_HOME/bin, normally ~/.cargo/bin. Keep that directory on your shell's PATH.

Requirements and optional setup

  • Rust and Cargo, version 1.88 or newer.
  • Browsing and saving stories work without an API key.
  • Summaries need an OpenRouter or Anthropic API key, entered once in the M settings form or supplied as OPENROUTER_API_KEY or ANTHROPIC_API_KEY.
  • The Ghostty article pane is macOS-only and needs Ghostty plus terminal-browser v0.13.4. See scripts/ghostty/README.md for setup.

Known limitations

  • Summaries send extracted article text and sampled comment excerpts to the selected provider using your API credits. Article extraction can be partial, and discussion summaries use a sample of comments.
  • The Ghostty companion pane requires macOS, Ghostty, and a terminal at least 110 columns wide. Otherwise the article opens in the default browser.
  • Summaries, captured sources, and reading positions are kept in memory for the current run only. Restarting hn starts a new reading session, while saved stories and summary settings persist.