Settings

Theme

Show HN: Crossmind-CLI – CLI for X, Reddit, HN API with compact JSON output

github.com

2 points by novachen a month ago · 1 comment · 1 min read

Reader

A CLI for fetching data from social platforms (X, Reddit, HN, GitHub, LinkedIn, Product Hunt, etc.) with compressed JSON output. Built because raw GraphQL responses from X are ~3,900 tokens for 10 tweets — this gets it down to ~666 tokens.

Features: - 15+ platforms supported - Three-tier auth (public API -> cookie -> OAuth) - Structured output designed for LLM context efficiency - Handles X's rotating query IDs and x-client-transaction-id

Built on top of jackwener's opencli/twitter-cli/rdt-cli ecosystem. Open source, PRs welcome.

novachenOP a month ago

We built this because raw X API responses were costing us ~3,900 tokens per 10 tweets. The official API pricing made autonomous social agents economically unviable.

cookie-auth + compact JSON gets it to ~666 tokens (-83%). This is what powers CrossMind's AI agent for distribution.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection