piqoni / hn-text

A text-first HN client.
MIT License
491 stars 9 forks source link

HN-text

A fast, easy-to-use and distraction-free Hacker News terminal client.

Latest release Last commit License Stars

Motivations:

Current Features / Screenshots

Keymaps

Key Functionality
Down Arrow (↓) or `j` Down on the Frontpage Article List
UP Arrow (↑) or `k` Up on the Frontpage Article List
Right Arrow (→) or `l` Open Comment Page (while on frontpage) - Pressing again would open the article
Left Arrow (←) or `h` Go Back
SPACE Open Article on Browser (if for some reason not satisfied with text rendered version)
`c` Open Comments page on Browser
`q` Quit App
`r` Refresh HN Frontpage

Installation

Homebrew

brew tap piqoni/hn-text
brew install hn-text

Binaries

Download binaries for your OS at release page, and chmod +x the file to allow execution.

Using GO INSTALL

If you use GO, you can install it directly:

go install github.com/piqoni/hn-text@latest

Note: If you get "command not found", then likely your GOPATH/bin is not in your PATH. To add it, place the following to your ~/.bashrc or ~/.zshrc depending on your shell:

export PATH=${PATH}:`go env GOPATH`/bin