Hacker News CLI brings HN search to your terminal

April 15, 2026
Eyeglasses reflecting computer code on a monitor, ideal for technology and programming themes.
Photo by Kevin Ku on Pexels

What it does

A lightweight command-line interface for Hacker News is available, and it has been reported that the tool accepts free-form queries — in the words of the docs: "Enter search terms or a module, class or function name." Simple as that. The project’s documentation lives on PythonHosted, where the single-line prompt is presented as the entry point to searching HN from a terminal session.

Why it matters

Why open a browser when you can stay in your shell? For developers who prefer vim, tmux and the comforting glow of a terminal, a CLI that surfaces Hacker News threads feels like a small victory. It’s fast, distraction-free, and fits neatly into workflows where cut-and-paste, piping and quick greps rule the day. Think ripgrep or tldr for news — efficient, keyboard-driven, and a little bit satisfying.

Notes and caveats

Details beyond the basic prompt are thin in the referenced docs; it has been reported that functionality such as advanced filtering, result pagination, or account actions aren’t documented on that page. If you want to try it yourself, check the full documentation at the project page on PythonHosted and test how it behaves in your environment. Terminal nostalgia meets modern news consumption — sometimes minimalism wins.

Sources: pythonhosted.org, Hacker News