Advertisement
🐦
Social

Tweet Thread Archiver

Archive Twitter/X threads as clean, readable markdown or HTML files. No Twitter API key required. Optionally add a Claude API key to get an AI summary of what the thread is about.

Download from GitHub

Free and open source. Uses Twitter's public oEmbed API - no authentication needed.

View on GitHub →

What it does

Pass a Twitter/X thread URL and the tool fetches the content via Twitter's public oEmbed API (no API key needed), then saves it as a clean markdown or HTML file. You can also archive multiple threads from a list. Add a Claude API key for an AI-generated summary of the thread's key argument.

Features

Quick start

git clone https://github.com/Get-Ai-Tools/tweet-thread-archiver
cd tweet-thread-archiver
pip install -r requirements.txt

# Archive without AI summary
python archiver.py --url https://twitter.com/user/status/123456789 --no-ai

# Archive with AI summary
python archiver.py --api-key sk-ant-... --url https://x.com/user/status/123

# Batch archive, save as HTML
python archiver.py --api-key sk-ant-... --urls threads.txt --output html --out ./archives

Requirements

Does this require a Twitter/X API key?

No. It uses Twitter's public oEmbed API which doesn't require any credentials. A Claude API key is only needed for AI summaries.

What if threads are deleted?

If a tweet has been deleted before you archive it, the oEmbed API will return an error for that tweet. Archive threads while they're still live for best results.