x CLI Plugin
Post tweets directly from terminal via browser-based OAuth.
Commands
Authentication
x auth status— Verify authentication status
Posting
x tweet post— Post a tweet with the message
Usage Examples
- "Post a tweet saying Hello World"
- "Check if x CLI is authenticated"
- "Send a tweet with a link"
Setup
- Download from https://github.com/devhindo/x/releases/latest
- Extract and add to PATH
- Run
x authon a machine with browser access - Verify with
x auth -v - Copy config to server if needed (typically
~/.config/x/config.json)
Notes
- Auth config stored at
~/.config/x/config.json - Requires browser for initial OAuth flow
- Config must be present on server for posting to work