hackernews-tui
v0.1.2
Published
A terminal UI for browsing Hacker News with search, filters, and deep threads.
Downloads
270
Maintainers
Readme
Hacker News TUI

A full terminal UI for browsing Hacker News using the official Hacker News API and OpenTUI.
Features
- Browse feeds: Top, New, Best, Ask, Show, Jobs
- Search loaded stories by title, author, URL, and text
- Filter stories by post class and minimum points
- Sort stories by rank, newest, points, or comment count
- Open article URLs and HN discussion pages from the terminal
- Deep post view with recursively loaded nested comments
Install
bun installRun
bun devRun from npm with Bun:
bunx hackernews-tuiWatch mode (auto-restart on file changes):
bun run dev:watchQuality Checks
bun run typecheck
bun run lint
bun run format
bun run testPublish
npm login
npm publish --access publicKeybindings
Tab: cycle focus (list -> detail -> search)/: focus search boxEsc/Enter(from search): return to story list1-6: switch feed (Top, New, Best, Ask, Show, Jobs)s: cycle sort modet: cycle post type filterp: cycle minimum points filterj/korDown/Up: move through storiesEnter/l/Right: move focus to detail paneh/Left: move focus back to story listn: load more stories from current feedr: refresh current feedo: open selected story URL (or HN link fallback)i: open selected HN discussion pageq: quit
