MUST be used when you need to read or interact with Twitter/X...
Use the bird CLI to interact with Twitter/X through Michael's authenticated Chrome session. This bypasses API restrictions since it uses browser cookies.
bird read <tweet-url-or-id>
Example:
bird read https://x.com/username/status/1234567890
bird read 1234567890
bird thread <tweet-url-or-id>
bird replies <tweet-url-or-id>
bird search "query"
bird search "from:username keyword"
bird search "#hashtag"
Options:
--limit <n> - Number of results (default: 20)bird user-tweets <handle>
bird user-tweets elonmusk --limit 10
bird mentions # Your mentions
bird mentions --user <handle> # Someone else's mentions
bird home # Your "For You" feed
bird home --limit 20
bird bookmarks
bird likes
bird tweet "Your tweet text here"
bird reply <tweet-id-or-url> "Your reply text"
bird tweet "Check this out" --media /path/to/image.png
bird tweet "Multiple images" --media img1.png --media img2.png
bird tweet "Accessible tweet" --media photo.jpg --alt "Description of the image"
bird follow <username>
bird unfollow <username>
bird following
bird following --user <handle> # Who someone else follows
bird followers
bird followers --user <handle> # Someone else's followers
bird whoami
bird about <username>
| Flag | Description |
|---|---|
--plain |
Plain output (no emoji, no color) - good for parsing |
--no-emoji |
Disable emoji |
--no-color |
Disable ANSI colors |
--quote-depth <n> |
Max quoted tweet depth (default: 1) |
bird read https://x.com/theonejvo/status/2015892980851474595
bird search "Claude AI" --limit 10
bird user-tweets anthroploic --limit 5
bird reply 1234567890 "Great thread! Thanks for sharing."
The plain text output doesn't show images, but JSON output includes media URLs.
bird read <url> --json | jq '.media'
Returns:
[
{
"type": "photo",
"url": "https://pbs.twimg.com/media/xxxxx.png",
"width": 665,
"height": 407
}
]
bird read <url> --json | jq -r '.media[0].url'curl -sL "<url>" -o /tmp/tweet-image.pngRead /tmp/tweet-image.pngbird read <url> --json | jq -r '.media[].url' | while read url; do
curl -sL "$url" -o "/tmp/tweet-$(basename $url)"
done