Skip to content

mxyng/termhnal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

termhnal

Browse Hacker News from the Terminal. Built with charmbracelet/bubbletea.

TODO

  • Text posts and comments
    • Word wrapping
    • Convert HTML to Markdown
      • Handle HTML tags
  • Story list switching (new, ask, show, etc.)
    • Display non-active story lists
  • Save stories to read later
  • Footer and help in story view

Install

Requires Go 1.20 or higher.

go install github.com/mxyng/termhnal@main

Key Maps

  • Ctrl+d quit

List View

  • 1 top
  • 2 new
  • 3 best
  • 4 ask
  • 5 show
  • 6 jobs
  • k Up up
  • j Down down
  • h Left PageUp previous page
  • l Right PageDown next page
  • g Home go to start
  • Shift+g End go to end
  • / search
  • q Esc quit

Story View

  • k Up scroll up
  • j Down scroll down
  • h Left PageUp previous page
  • l Right PageDown next page
  • g Home go to start
  • Shift+g End go to end
  • q Esc back to list

About

Terminal interface for Hacker News

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages