v0.8.0 CLI Tool Read-Only Recommended

bird

X/Twitter in Your Terminal

bird is a powerful command-line tool for interacting with X/Twitter. Read tweets, search content, access your timeline, and view bookmarks - all from your terminal. Uses cookie authentication instead of API keys, making it accessible to everyone. Best used for reading, not posting.

Use Caution

bird uses Twitter's unofficial GraphQL API with cookie authentication. While reading tweets is generally safe, posting tweets carries risk of account suspension. The developer strongly recommends using bird primarily for read-only operations. The API may change at any time without notice.

Key Features

Twitter from the command line

📖

Read Tweets & Threads

View individual tweets and complete thread conversations. See replies, quote tweets, and engagement metrics from your terminal.

🔍

Search Tweets

Search Twitter for tweets, users, and topics. Use advanced search operators just like on the web interface.

📋

Timeline & Bookmarks

Access your home timeline, view bookmarks, and see your likes. Keep up with your feed without opening a browser.

📰

Trending & News

Get trending topics and news from Twitter. Stay informed about what's happening right from the command line.

🔐

No API Keys Needed

Uses your browser's authentication cookies instead of Twitter API keys. No need to apply for developer access or pay for API tiers.

📦

TypeScript Library

Also available as a TypeScript library for integration into your own projects and automation tools.

Installation

Get bird running on your system

1

Install via npm/pnpm/bun

Install bird globally using your preferred package manager:

npm install -g @steipete/bird
# or: pnpm add -g @steipete/bird
# or: bun add -g @steipete/bird
2

Or via Homebrew (macOS)

macOS users can also install via Homebrew:

brew install steipete/tap/bird
3

Get Authentication Cookie

Log into Twitter/X in your browser, then extract the auth_token cookie from your browser's developer tools.

4

Configure bird

Set your auth token as an environment variable:

export TWITTER_AUTH_TOKEN=your_auth_token_here
5

Start Using bird

Verify the setup by checking who you're logged in as:

bird whoami

Use Cases

What you can do with bird (safely)

Content Research

Search and collect tweets on topics for research, journalism, or market analysis.

Bookmark Management

Export and manage your Twitter bookmarks for archiving or knowledge management.

Thread Reading

Read long threads in a clean format without the distractions of the web interface.

Feed Monitoring

Set up scripts to monitor specific accounts or keywords for alerts.

Data Collection

Collect tweet data for analysis, with JSON output for easy processing.

Knowledge Base Building

Automatically save interesting tweets and threads to your knowledge management system.

Evaluation

Balanced assessment of bird

Advantages

  • No API keys or developer account needed
  • Full-featured Twitter reading
  • JSON output for easy scripting
  • TypeScript library for integration
  • Multiple installation methods
  • Open source and free

Considerations

  • Uses unofficial API - may break anytime
  • Posting can risk account suspension
  • Requires browser cookies for auth
  • Not suitable for production apps
  • Rate limits may apply

Technical Details

Specifications

Version
v0.8.0
Language
TypeScript
Auth
Cookie-based
License
MIT

Related Ecosystem Products

Other social & communication tools

Twitter Without the App

Read your feed from the command line