Stream live posts matching a keyword filter directly to your terminal for real-time monitoring without opening a browser.
Write a shell script that bulk-deletes old posts or manages follower lists without touching the X website.
Watch activity from a specific list of accounts and pipe the output into a file or another script.
Requires X developer API credentials and OAuth setup before first use, prebuilt binaries available for Windows, macOS, and Linux.
x-cli is a command-line tool for interacting with the X (formerly Twitter) API from a terminal. Instead of using the X website or a mobile app, you type commands to search posts, manage lists, delete content, follow streams of activity, and switch between multiple accounts. The tool supports both the older and newer versions of the X API and handles authentication automatically using industry-standard login protocols. When the API returns a temporary error, the tool retries the request on its own rather than failing immediately. You can configure it with a YAML file stored in your home directory, and it includes tab completion for the shell so you do not need to remember every command name. Output is formatted in aligned columns for easier reading in a terminal. Stream commands let you watch a live feed of posts matching filters, a sample of all public posts, or activity from specific users or lists. A setting lets you cap how many events a stream emits, which is useful when writing scripts or running automated tests against the tool. The project ships prebuilt binaries for Windows, macOS, and Linux on both regular and ARM chips, so you do not need to compile anything to get started. The README is brief and covers the main command groups and configuration basics without going into detail on every option.
← sferik on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.