Skip to content

πŸš€ Xeepy

The Ultimate X/Twitter Automation Toolkit

No API keys required. No rate limits. No compromises.

Get Started View on GitHub


✨ 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

pip install xeepy
playwright install chromium
pipx install xeepy
playwright install chromium
git clone https://github.com/nirholas/Get-Tweet-Replies-With-Python-Tweepy.git
cd Get-Tweet-Replies-With-Python-Tweepy
pip install -e ".[all]"
playwright install chromium

πŸ“š Documentation

  • Getting Started


    New to Xeepy? Start here with installation and your first script.

    Quick Start

  • Guides


    In-depth guides for every feature: scraping, automation, monitoring, AI.

    Explore Guides

  • Cookbook


    Ready-to-use recipes for growth hacking, data science, and business intelligence.

    Browse Recipes

  • API Reference


    Complete API documentation for all classes and methods.

    API Docs


πŸ’¬ Community

  • Discord


    Join 5,000+ members discussing X automation, sharing scripts, and getting help.

    Join Discord

  • GitHub


    Star the repo, report issues, and contribute to Xeepy.

    GitHub

  • X/Twitter


    Follow us for updates, tips, and automation tricks.

    @xeepy_dev


⚠️ 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

Star on GitHub ⭐