A terminal-based Hacker News reader built in Go.
- Browse feeds — Top, New, Ask, Show, Jobs
- Inline comments — rich text rendering with collapsible threads and depth-colored indent bars
- Search — live filter across all pages of the current feed by title, domain, or author
- Bookmarks — save stories for later, persisted to a local SQLite database
- Moderation — block users, domains, keywords (with configurable scope), hide stories
- Keyboard-driven — vim-style navigation, no mouse required
go build -o hn .
./hnPress ? in-app for a full keybinding reference. Highlights:
| Key | Action |
|---|---|
j/k or ↑/↓ | Move cursor |
h/l or ←/→ | Previous / next page |
Tab / Shift+Tab | Switch feed |
Enter | Open link in browser |
c | View comments |
s | Toggle bookmark |
/ | Search current feed |
Space | Collapse / expand comment |
? | Help |
q | Quit |
- Bubble Tea v2 — TUI framework
- Lipgloss v2 — Terminal styling
- modernc.org/sqlite — Pure-Go SQLite for persistence