A command-line interface and client library for interacting with the X (Twitter) API.
x is a command-line interface and client library for the X (formerly Twitter) API. It provides a powerful CLI for interacting with X's platform directly from the terminal and includes a robust Rust library for building custom API integrations. The tool handles authentication, API versioning, streaming, and error retries automatically.
Developers, data analysts, and power users who need to interact with the X API via the command line or build custom integrations in Rust.
It offers a comprehensive, reliable CLI with full API coverage, dual authentication support, and a well-designed Rust library, making it a versatile tool for both interactive use and programmatic automation.
A command-line power tool for Twitter.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports both X API v1.1 and v2 with automatic fallback, as highlighted in the README, ensuring backward compatibility and access to newer features without manual switching.
Includes automatic retry with backoff for transient API errors, making the CLI and library reliable for production use in handling rate limits and network issues.
Provides streaming support for filtered and sampled streams with persistent HTTP connections, ideal for live data monitoring directly from the terminal, as noted in the command families.
Offers a full command tree with aliases, options, and Bash completion, enhancing productivity for command-line users by simplifying complex API interactions.
The client library (x-api) is built in Rust, requiring Rust knowledge for custom integrations, which limits accessibility for developers in other programming languages.
Setup involves OAuth 1.0a and 2.0 with configuration files like ~/.xrc, which can be cumbersome for users unfamiliar with API authentication processes or seeking quick starts.
Exclusively targets the X API, so it's not suitable for projects needing multi-platform social media integration without additional tools or libraries.