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:

KeyAction
j/k or ↑/↓Move cursor
h/l or ←/→Previous / next page
Tab / Shift+TabSwitch feed
EnterOpen link in browser
cView comments
sToggle bookmark
/Search current feed
SpaceCollapse / expand comment
?Help
qQuit

Dependencies

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages