X Tweet Fetcher
by @rightister
Fetch tweets, replies, and user timelines from X/Twitter without login or API keys. Also supports Chinese platforms (Weibo, Bilibili, CSDN, WeChat). Includes...
# Add a tweet to track
python3 scripts/tweet_growth_cli.py --add "https://x.com/user/status/123" "my launch tweet"List all tracked tweets
python3 scripts/tweet_growth_cli.py --listRun sampling (new tweets <48h, every 15min)
python3 scripts/tweet_growth_cli.py --run --fastRun sampling (all tweets, hourly)
python3 scripts/tweet_growth_cli.py --run --normalGenerate analysis report
python3 scripts/tweet_growth_cli.py --report 123456789Report with topic cross-analysis
python3 scripts/tweet_growth_cli.py --report 123456789 --cross
Cron Integration
# Dual-frequency sampling
*/15 * * * * python3 tweet_growth_cli.py --run --fast # New tweets (<48h)
0 * * * * python3 tweet_growth_cli.py --run --normal # All tweets (hourly)
Detection Algorithm
| Component | Method | Purpose | |-----------|--------|---------| | Derivative detection | dV/dt per hour | Spot sudden acceleration | | Sliding window | 5-sample moving average | Filter noise | | Multi-signal fusion | viewsΓ1 + likesΓ1 + bookmarksΓ1.5 + RTΓ3 | Weighted composite score | | Burst confirmation | 3 consecutive windows above threshold | Prevent false positives | | Surge override | Single window +100%/h | Catch massive spikes | | Saturation | 6 samples < 2%/h growth | Detect long tail | | Propagation | RT-per-1k-views ratio | Influencer vs algorithm driven |
Output Example
π― Burst detected at 2026-03-14 08:45
- Growth rate: 156%/h
- Composite score: +2847 (views +1200, RT +89, likes +234)
- Propagation: 12.3 RT/1k views (influencer-driven)
clawhub install rightister-x-tweet-fetcher