Hntui is a terminal‑based user interface for Hacker News that provides a textual way to browse the site’s content without leaving the command line. According to the source text, the application offers access to all six Hacker News feeds—Top, New, Best, Ask, Show, and Jobs—and allows users to navigate through a post’s comments using familiar vim‑style keybindings (j/k for movement, gg/G for jumps, Ctrl‑D/U for half‑page scrolls) or mouse clicks. Users can open a story’s URL in their default browser with the ‘o’ key, save or unsave a post with ‘s’, and view saved items in a dedicated Saved tab accessed via the ‘S’ shortcut. The interface supports theme toggling with the ‘t’ key, switching between a dark theme (mostly black with orange accents) and a light theme that mimics the news.ycombinator.com layout (white background, orange top bar, beige row highlights, and classic grey byline text). The source notes that a small star appears next to saved post titles and that the saved list persists across sessions in ~/.config/hntui/saved.json as a JSON file. Loader animations feature a Knight Rider‑style scanner (◕ᴗ◕ ) adapted from an MIT‑licensed example. Installation is straightforward: a self‑contained binary can be placed in ~/.local/bin by running the provided install script, or users can install via Bun (bun add -g @ahmd-sh/ntui) and update with hntui update or bun add -g @ahmd-sh/ntui. The software requires a modern terminal with true‑color, mouse support, and UTF‑8; it has been tested in Ghostty on macOS and is reported to work on Linux and Windows through OpenTUI. The project is released under the MIT license, with copyright attributed to Ahmed Shaikh (c) 2026. All functionality relies on the public Hacker News Firebase API for data, and the source repository includes workflows that cross‑compile standalone binaries for macOS and Linux and publish the package to npm with SLSA provenance attestation.

