hnterminal
v0.0.2
Published
Hacker News in your terminal. Minimal early release of the HNTerminal project — a high-information-density HN reader with an intelligence layer.
Maintainers
Readme
hnterminal
Hacker News in your terminal.
hnterminal prints the current Hacker News front page to your terminal in a
dense, aligned, ruled layout. This is the minimal early release (v0.0.1) of
the HNTerminal project — a
high-information-density HN reader that renders public HN data and layers on
computed signals (velocity, heat, controversy) the HN API does not provide.
This seed renders only. The intelligence layer lives on the backend and lands in later releases.
Install
npm install -g hnterminalRequires Node 18+ (uses the global fetch).
Usage
hnterminal # top 30 stories
hnterminal new -n 10 # newest 10
hnterminal show # Show HN
hnterminal best --limit 50Sections: top (default), new, best, ask, show, job.
USAGE
hnterminal [section] [options]
OPTIONS
-n, --limit <n> number of stories (1-100, default 30)
-h, --help show this help
-v, --version print versionSample output
# Hacker News — top (30 stories)
1 420p 89c 2m news.ycombinator.com Show HN: ...
2 180p 42c 14m github.com A new approach to ...
3 55p 7m 1h arxiv.org On the limits of ...Data source
Public Hacker News data via the Firebase HN API
(hacker-news.firebaseio.com/v0). This package only reads public data.
Status
Early and experimental. The full HNTerminal product (ruled-grid layouts, switchable readers, backend intelligence layer) is under active development. Expect breaking changes before v1.0.
License
MIT
