Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Shell
  3. haxor-news

haxor-news

NOASSERTIONPython0.4.2

A command-line interface for browsing Hacker News with advanced filtering and terminal-based viewing.

GitHubGitHub
4.1k stars167 forks0 contributors

What is haxor-news?

haxor-news is a command-line interface (CLI) tool that allows users to browse Hacker News directly from their terminal. It provides features like viewing posts, filtering comments, searching job listings, and displaying web content in a terminal-friendly format. The tool solves the problem of inefficient web browsing by offering a fast, keyboard-driven alternative with advanced filtering capabilities.

Target Audience

Developers, sysadmins, and command-line enthusiasts who regularly read Hacker News and prefer terminal-based workflows for speed and automation.

Value Proposition

Developers choose haxor-news because it integrates Hacker News into their existing terminal environment, supports powerful filtering to manage information overload, and follows Unix principles for composability with other CLI tools.

Overview

Browse Hacker News like a haxor: A Hacker News command line interface (CLI).

Use Cases

Best For

  • Quickly scanning Hacker News posts without leaving the terminal
  • Filtering lengthy comment threads to find relevant discussions
  • Searching monthly job posts for specific technologies or remote roles
  • Automating Hacker News content extraction with scripts and cron jobs
  • Viewing web content in a terminal when a browser isn't available
  • Integrating Hacker News data into command-line pipelines

Not Ideal For

  • Users who need to view embedded images or videos from Hacker News links, as terminal display is text-only
  • Teams requiring collaborative features like shared commenting or real-time notifications
  • Mobile-only users without access to a terminal environment
  • Projects needing advanced search beyond regex, such as semantic or natural language queries

Pros & Cons

Pros

Advanced Comment Filtering

Supports filtering comments by unseen status, recency (past 60 minutes), or custom regex queries, making it easy to manage large discussions, as shown with examples like '-cu' for unseen comments.

Unix Pipeline Integration

Seamlessly integrates with pipes and redirects for automation, allowing output to files or other CLI tools, highlighted in commands like 'hn hiring "regex" > jobs.txt'.

Interactive Auto-Completer

Includes an optional fish-style auto-completer with inline help, simplifying command discovery and usage, demonstrated in the README gifs and examples.

Customizable Terminal Output

Users can customize ANSI colors via a ~/.haxornewsconfig file, enabling personalized highlighting, as detailed in the Customizable Highlighting section.

Cons

Limited Windows Pager Support

On Windows, pager functionality is restricted, requiring users to use '| more' instead of full-featured pagers, as noted in the Windows Support section.

Python Dependency and Setup

Requires Python and pip installation, which can be a barrier for non-Python users, and virtualenv setup is recommended, adding complexity.

Terminal-Only Display Limitations

Web content is formatted for terminal display, which may not handle complex HTML or multimedia effectively, and viewing in a browser requires an extra flag (-b).

Frequently Asked Questions

Quick Stats

Stars4,077
Forks167
Contributors0
Open Issues37
Last commit4 years ago
CreatedSince 2015

Tags

#hacker-news-client#productivity#command-line-interface#client#terminal#cli-tool#shell#python#hacker-news#cli#text-based#utility#automation#news-aggregator#utilities

Built With

C
Click
P
Python
R
Requests

Included in

Shell36.8kTerminals Are Sexy12.9k
Auto-fetched 1 day ago

Related Projects

fzffzf

:cherry_blossom: A command-line fuzzy finder

Stars79,710
Forks2,789
Last commit3 days ago
ripgrepripgrep

ripgrep recursively searches directories for a regex pattern while respecting your gitignore

Stars62,830
Forks2,511
Last commit1 month ago
tldrtldr

Collaborative cheatsheets for console commands 📚.

Stars62,240
Forks5,204
Last commit1 day ago
zoxidezoxide

A smarter cd command. Supports all major shells.

Stars35,984
Forks801
Last commit11 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub