π Xeepy¶
The Ultimate X/Twitter Automation Toolkit¶
No API keys required. No rate limits. No compromises.
β¨ What is Xeepy?¶
Xeepy is a professional-grade Python toolkit for automating X (formerly Twitter) using browser automation. Unlike traditional API-based solutions that require expensive API access or face strict rate limits, Xeepy operates through Playwright browser automationβgiving you the same capabilities as a real user.
-
No API Keys Required
Forget the $100/month Twitter API. Xeepy uses browser automation to work without any API credentials.
-
No Rate Limits
Smart rate limiting mimics human behavior. Scrape thousands of tweets without getting blocked.
-
Stealth Mode
Advanced anti-detection with user agent rotation, human-like delays, and fingerprint randomization.
-
AI-Powered
Generate content, analyze sentiment, detect bots, and find optimal posting times with AI.
π― Key Features¶
π Comprehensive Scraping¶
Scrape anything from X/Twitter with simple Python code:
import asyncio
from xeepy import Xeepy
async def main():
async with Xeepy() as x:
# Get tweet replies (the original mission!)
replies = await x.scrape.replies("https://x.com/elonmusk/status/123456")
# Scrape user profiles
profile = await x.scrape.profile("elonmusk")
# Get followers with pagination
followers = await x.scrape.followers("naval", limit=5000)
# Search tweets
tweets = await x.scrape.search("python programming", limit=100)
# Export to CSV
x.export.to_csv(replies, "replies.csv")
asyncio.run(main())
π― Smart Follow/Unfollow¶
Grow your account intelligently:
async with Xeepy() as x:
# Unfollow non-followers (the #1 requested feature!)
result = await x.unfollow.non_followers(
max_unfollows=100,
whitelist=["bestfriend", "mom"],
dry_run=True # Preview first
)
# Follow users from a competitor's followers
await x.follow.target_followers(
target="competitor",
limit=50,
filters={"min_followers": 100, "has_bio": True}
)
π Real-Time Monitoring¶
Track your account and competitors:
from xeepy import UnfollowerDetector, GrowthTracker
# Detect who unfollowed you
detector = UnfollowerDetector(storage=storage, notifier=notifier)
report = await detector.detect("yourusername")
print(f"Lost {len(report.unfollowers)} followers today π’")
# Track growth over time
tracker = GrowthTracker(storage=storage)
growth = tracker.generate_report("yourusername", days=30)
print(f"Gained {growth.net_change} followers this month! π")
π€ AI-Powered Automation¶
Let AI do the heavy lifting:
from xeepy.ai import ContentGenerator, SentimentAnalyzer
# Generate viral content
generator = ContentGenerator(provider="openai")
thread = await generator.generate_thread(
topic="10 Python tips that will blow your mind",
style="viral",
num_tweets=10
)
# Analyze conversation sentiment
analyzer = SentimentAnalyzer()
result = await analyzer.analyze_conversation(replies)
print(f"Overall sentiment: {result.overall_sentiment}")
π Multi-Channel Notifications¶
Get notified everywhere:
from xeepy.notifications import NotificationManager
manager = NotificationManager()
manager.add_channel("discord", WebhookNotifier(discord_url))
manager.add_channel("telegram", TelegramNotifier(bot_token, chat_id))
manager.add_channel("email", EmailNotifier(smtp_config))
# Now all your alerts go everywhere
await manager.notify(
title="π¨ Viral Tweet Alert!",
message="Your tweet just hit 10,000 likes!",
level="success"
)
π Why Xeepy?¶
| Feature | Twitter API | Tweepy | Xeepy |
|---|---|---|---|
| Cost | $100+/month | Free (limited) | Free |
| Rate Limits | 100-500/15min | Strict | Flexible |
| Tweet Replies | β Removed | β Broken | β Works |
| Unfollower Detection | β No | β No | β Yes |
| AI Features | β No | β No | β Built-in |
| Browser Automation | β No | β No | β Playwright |
| Anti-Detection | N/A | N/A | β Advanced |
π Quick Install¶
π Documentation¶
-
Getting Started
New to Xeepy? Start here with installation and your first script.
-
Guides
In-depth guides for every feature: scraping, automation, monitoring, AI.
-
Cookbook
Ready-to-use recipes for growth hacking, data science, and business intelligence.
-
API Reference
Complete API documentation for all classes and methods.
π¬ Community¶
-
Discord
Join 5,000+ members discussing X automation, sharing scripts, and getting help.
-
GitHub
Star the repo, report issues, and contribute to Xeepy.
-
X/Twitter
Follow us for updates, tips, and automation tricks.
β οΈ Disclaimer¶
Educational Purposes Only
Xeepy is designed for educational and research purposes only.
- Automating X/Twitter may violate their Terms of Service
- Use responsibly and at your own risk
- Do not use for spam, harassment, or malicious purposes
- Respect rate limits and other users
Made with β€οΈ by the Xeepy Team