LinuxCommandLibrary

hn

command-line Hacker News client

TLDR

Browse Hacker News

$ hn
copy
Show top stories
$ hn top
copy
Show newest stories
$ hn new
copy
Show best stories
$ hn best
copy
Show ask HN
$ hn ask
copy
Open story in browser
$ hn open [story-id]
copy

SYNOPSIS

hn [command] [options]

DESCRIPTION

hn is a command-line Hacker News client. It displays stories, comments, and discussions from the popular tech news aggregator.
The tool provides quick access to different story categories. It can open links and discussions in the default browser.

PARAMETERS

COMMAND

Subcommand to run.
top
Show top stories.
new
Show newest stories.
best
Show best stories.
ask
Show Ask HN posts.
show
Show Show HN posts.
jobs
Show job postings.
open ID
Open story in browser.
--help
Display help information.

CAVEATS

Requires internet connection. Various implementations exist. May need API rate limits.

HISTORY

Multiple hn CLI tools exist for Hacker News, providing terminal access to the popular Y Combinator news site.

SEE ALSO

rtv(1), tuir(1), w3m(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community