What problem does it solve?
twitter-cli provides a terminal-first interface to perform all major Twitter/X operations—reading timelines, managing posts, and looking up user data without needing API keys or browser-based automation.
Core Features & Use Cases
- Read timelines: home (For You) and following
- Bookmarks, lists, and article export
- Write operations: post, reply, quote, delete, like/unlike, retweet/unretweet, bookmark/unbookmark
- User lookups and profile details
- Structured output for scripting: YAML and JSON; compatibility with AI agents
- Authentication: browser cookie extraction or env vars; proxy support via TWITTER_PROXY
- Anti-detection and safe-guard features, including random delays and TLS fingerprinting
- Optional filters for ranking tweets via a config-based scoring system
Quick Start
Install via uv tool install twitter-cli and start with twitter feed to fetch your home timeline.