jalehman

jalehman / xc

Public

CLI client for the X API v2

13
3
100% credibility
Found Feb 10, 2026 at 11 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

xc is a command-line interface for the official X API that enables users to post, search, manage timelines, direct messages, likes, bookmarks, and streams while tracking and budgeting API costs.

How It Works

1
🔍 Discover xc

You hear about xc, a handy tool that lets you manage your X posts, searches, and messages right from your computer's command line without needing a browser.

2
📱 Get X app access

Visit the X developer site to create a free app and copy your unique connection code so xc can link to your account safely.

3
🔐 Connect your account

Run the login command, a web browser pops open automatically, you approve access, and xc saves your secure connection.

4
💰 Set spending guardrails

Choose a daily dollar limit for X usage so you never get surprise bills and stay in full control of costs.

5
✍️ Post your first message

Type a quick command to share a post, attach a photo if you want, and watch it go live on X instantly.

6
🔍 Explore your feed and more

Check your home timeline, search for topics, like posts, send direct messages, or follow friends with simple everyday commands.

🚀 Master X from your terminal

Now you effortlessly handle all your X activity from anywhere, track every penny spent, and feel like a power user.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 11 to 13 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is xc?

xc is a TypeScript CLI client for the X API v2, built on the official SDK for posting threads, searching recent or full-archive posts, managing DMs, likes, bookmarks, followers, lists, media uploads, and real-time filtered streams—all from your terminal. It handles OAuth 2.0 PKCE auth with multi-account support, no cookie scraping needed, and logs every call's estimated cost while enforcing daily budgets to cap pay-per-use bills. Commands like `xc post "text" --media photo.jpg --reply 123` or `xc stream connect` make X interactions scriptable and precise.

Why is it gaining traction?

Unlike cli clients for Discord, Ollama, Postgres, or GitHub Copilot, xc tackles X's paid API head-on with automatic cost footers, password-locked budgets (`xc budget set --daily 2.00 --action block`), and raw JSON output for piping. It's a better xc github alternative to unofficial tools, running smoothly on cli github linux, Ubuntu, or Windows via simple pnpm install—no manual cli github push hassles. Devs dig the stream rules (`xc stream add "AI OR LLM"`) and usage summaries for tracking spends without surprises.

Who should use this?

SREs automating X posts from GitHub Actions or cli github repo workflows, data pipeline builders querying `xc search --archive` into Postgres, or indie hackers monitoring streams for brand mentions. Perfect for cli client windows users scripting DMs/bookmarks, or teams needing mysql cli client-style cost controls on X data pulls. Avoid if you just lurk—stick to the app.

Verdict

Solid early pick despite 11 stars and 1.0% credibility score: thorough docs, Vitest coverage, MIT license make it production-ready for X CLI tasks. Download from GitHub today—beats keepassxc github or fib tools for API-heavy flows, but watch for broader adoption.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.