Skip to content

AI-powered automated code refactoring agent that analyzes your codebase and generates production-ready Pull Requests with human-like commit messages. Supports multiple LLM providers (OpenAI, Anthropic, Gemini, Groq, OpenRouter).

License

Notifications You must be signed in to change notification settings

ixchio/AutoPR-AI

Repository files navigation

AutoPR-AI 💖✨

Your friendly neighborhood code bestie that fixes your messy repos while you grab boba 🧋

   ╭────────────────────────────────────╮
   │   🤖 AutoPR-AI loves your code!   │
   │      (even when it's messy)        │
   ╰────────────────────────────────────╯
Typing SVG

Stars Docker Replit


🌸 Hey bestie!

We get it – your codebase has been through a lot. Late nights, caffeine-fueled commits, that one "temporary fix" from 2019...

AutoPR-AI is here to help, not judge! 💕

What we do for you:

  • 🧹 Clean up your code – We refactor with love
  • 📝 Create pretty PRs – Human-readable, actually helpful descriptions
  • 🐳 Run in containers – Your machine stays squeaky clean
  • 🔒 Keep you safe – Rate limited, validated, secure headers

🎀 Pricing (we keep it fair!)

Feature Free Tier 🆓 Pro Tier 💎
Repo Size Up to 50 files Unlimited
AI Models OpenRouter Free Grok, GPT-4, Claude
Containers Shared Dedicated
Support Community love Priority hugs

🛠️ Quick Start

# Clone and vibe ✨
git clone https://github.com/byteakp/AutoPR-AI && cd AutoPR-AI

# Install dependencies
pip install -r requirements.txt

# Run the server
python app.py

That's it! Visit http://localhost:8080 🎉


💌 How to use:

curl -X POST http://127.0.0.1:8080/refactor \
  -H 'Content-Type: application/json' \
  -d '{"repo_url": "https://github.com/you/your-repo.git"}'

Supported AI friends:

  • 🆓 kwaipilot/kat-coder-pro:free (Default bestie)
  • 🧠 grok-beta (xAI vibes)
  • 🌟 gpt-4o (OpenAI magic)
  • 💜 claude-3-5-sonnet (Anthropic wisdom)

🔒 Security (we got you!)

  • ✅ Rate limiting (no spam pls)
  • ✅ Input validation
  • ✅ Secure headers
  • ✅ HTTPS ready

💖 Share the love!

If AutoPR-AI helped you, give us a star!

Star Now

Made with 💕 and lots of ☕

About

AI-powered automated code refactoring agent that analyzes your codebase and generates production-ready Pull Requests with human-like commit messages. Supports multiple LLM providers (OpenAI, Anthropic, Gemini, Groq, OpenRouter).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published