Skip to content

Repository files navigation

hacker-viewer

A terminal-based Hacker News reader built in Go.

Go

Features

  • 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

Building & Running

go build -o hn .
./hn

Keybindings

Press ? 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

Dependencies

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages