whereismyai
Hn CLI
Hn CLI is a terminal-based Hacker News client featuring an interactive interface and scriptable CLI.
Hn CLI provides a full-featured Hacker News experience directly inside the terminal. It includes an interactive full-screen browser with a feed sidebar, story lists, and threaded comments. Users can also utilize a scriptable command-line interface for pipes, scripts, and quick one-off reads. The tool supports JSON output for agents, allowing programmatic access to feeds, items, and threads. Built in Rust, it uses Firebase, Algolia, and HTML adapters to retrieve data and manage authentication.
Hn CLI at a glance
- Best for: Software engineer
- Runs on: macOS, Linux, CLI
- Pricing: Free
- Released: November 2026
- Category: AI coding tool
- Website: github.com/kaushalvivek/hn-cli
Key features
- Interactive full-screen terminal browser
- Scriptable command-line interface
- JSON output mode for automated agents
- Threaded comments with collapse and expand
- Story search and command palette
- Inline comment composer and draft saving
- Authenticated actions for voting and submitting
Use it for
- Browse Hacker News stories and comments inside the terminal
- Fetch Hacker News feeds and items programmatically using JSON
- Submit stories and post comments from the command line
- Search Hacker News content using a scriptable interface
Alternatives to Hn CLI
- HN Brief — Automates reading the top Hacker News stories and discussions.
- Browser CLI — Runs in browsers you are already signed into locally or over SSH.
- jevgrep — Reduces coding agent costs by providing targeted, relevant repository context.
- Command Code — Repairs open model tool calls and learns developer patterns automatically.
- NOVA CLI v1.0 — Works directly inside the terminal with 160+ AI models and persistent project context.
- HN.watch — Watch a short video explainer for every Hacker News front page story.
- Deep Code CLI — Optimized specifically for DeepSeek models with a one million token context.
- shim-cli — Masks sensitive data and tracks costs for coding agents locally.
- Cline — Open source, any model, with approval on every step
- Flintty — Run AI coding agents side by side and catch leaked keys in one private app.
- OpenCode — Works with 75+ model providers, local models, and existing subscriptions
- Tunr — Deploys agent-built software and shares local dev servers instantly via a single command.
All Hn CLI alternatives