Releases: tamnd/hackernews-cli
Releases · tamnd/hackernews-cli
v0.1.0
First release of hn, a command line for Hacker News.
Reads the official Firebase v0 API (live data) and the Algolia search API (full-text search). Both are open, no key required.
Commands
hn top,best,new,ask,show,jobs— story lists with rankhn item <id>— one item with its comment tree (--depth)hn user <name>— profile with optional--submissionshn search <query>— full-text search via Algolia (--tags,--sort,--since,--points)hn updates— recently changed items and profileshn maxitem— current maximum item id
Output
Every command supports -o table|json|jsonl|csv|tsv|url|raw, --fields, --template, -n/--limit.
Install
go install github.com/tamnd/hackernews-cli/cmd/hn@v0.1.0
Or grab a prebuilt binary below (Linux amd64/arm64/armhf, macOS arm64, Windows amd64, plus deb/rpm/apk packages).