termhnal

command module
v0.0.0-...-bd7d801 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2024 License: MIT Imports: 14 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL