X Reader

v0.1.0

Read X (Twitter) posts without official API. Supports both Nitter (free) and RapidAPI (detailed) methods.

1· 659· 1 versions· 5 current· 5 all-time· Updated 3h ago· MIT-0

X-Reader

Read X (Twitter) posts without official API key.

Features

  • Nitter Mode (Default): Free, no API key required
  • RapidAPI Mode: Detailed tweet info with API key
  • Simple CLI interface
  • JSON output for easy integration

Usage

Basic (Nitter - Free)

python3 x-reader.py "https://x.com/username/status/1234567890"

Advanced (RapidAPI - Detailed)

export RAPIDAPI_KEY="your_rapidapi_key"
python3 x-reader.py "https://x.com/username/status/1234567890"

Output Format

{
  "id": "1234567890",
  "text": "Tweet content...",
  "author": "Display Name",
  "username": "username",
  "created_at": "2024-01-01T00:00:00.000Z",
  "likes": 100,
  "retweets": 50,
  "replies": 25,
  "url": "https://x.com/username/status/1234567890"
}

Notes

  • Nitter mode may have rate limits
  • RapidAPI free tier: 100 requests/month
  • For production use, consider RapidAPI paid tier

Version tags

latestvk97b4d36mj98g42bzz54s9kw6982cb6s