Back
28/65
Lesson 28
6 min
XF: X Archive Search
Blazingly fast search across your X/Twitter archive
Ready to level up?
Mark complete to track your learning progress.
Blazingly fast search across your X/Twitter archive
Mark complete to track your learning progress.
Search your X/Twitter archive with sub-millisecond queries using xf.
XF provides blazingly fast full-text search across your personal X/Twitter archive: tweets, likes, DMs, and Grok conversations. Built with Tantivy, it delivers sub-millisecond queries with hybrid BM25 and semantic search.
All indexing happens locally on your machine. No data leaves your system. Index once at ~10,000 docs/second, then search instantly across years of content.
Sub-millisecond query times
Full-text search with metadata
Filter by time periods
Output to JSON, CSV, or plain text
xf index once.Explore the full power of xf across 6 different archive mining scenarios. Watch tweets flow through the analysis pipeline with real-time relevance scoring, engagement metrics, and sentiment analysis.
# Index your archive (one-time)xf index ~/Downloads/twitter-archive# Search for a topicxf search "machine learning"# Search within a date rangexf search "rust" --since 2024-01-01 --until 2024-06-30# Export results to JSONxf search "AI" --format json > results.json