{"id":30538370,"url":"https://github.com/byteakp/autopr-ai","last_synced_at":"2025-08-27T20:14:03.529Z","repository":{"id":311803138,"uuid":"1045115434","full_name":"byteakp/AutoPR-AI","owner":"byteakp","description":"AutoPR-AI is an autonomous agent that automatically scans a GitHub repository for messy or inefficient code. It then uses an AI model to refactor and improve the identified files and finishes by creating a detailed pull request with the suggested enhancements for you to review and merge.","archived":false,"fork":false,"pushed_at":"2025-08-26T17:35:17.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-27T00:19:40.320Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/byteakp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-26T17:15:33.000Z","updated_at":"2025-08-26T17:35:20.000Z","dependencies_parsed_at":"2025-08-27T00:19:59.113Z","dependency_job_id":"b1c282c9-75b2-424c-be09-b041f6c6f85c","html_url":"https://github.com/byteakp/AutoPR-AI","commit_stats":null,"previous_names":["byteakp/autopr-ai"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/byteakp/AutoPR-AI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteakp%2FAutoPR-AI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteakp%2FAutoPR-AI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteakp%2FAutoPR-AI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteakp%2FAutoPR-AI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/byteakp","download_url":"https://codeload.github.com/byteakp/AutoPR-AI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteakp%2FAutoPR-AI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272374237,"owners_count":24923405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-27T02:00:09.397Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-27T20:14:01.369Z","updated_at":"2025-08-27T20:14:03.521Z","avatar_url":"https://github.com/byteakp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AutoPR-AI 🤖⚡\n\n\u003cdiv align=\"center\"\u003e\n\n```\n     _         _         ____  ____            _    ___\n    / \\  _   _| |_ ___  |  _ \\|  _ \\          / \\  |_ _|\n   / _ \\| | | | __/ _ \\ | |_) | |_) |  ___   / _ \\  | |\n  / ___ \\ |_| | || (_) |  __/|  _ \u003c  |___| / ___ \\ | |\n /_/   \\_\\__,_|\\__\\___/|_|   |_| \\_\\      /_/   \\_\\___|\n```\n\n\u003cimg src=\"https://readme-typing-svg.herokuapp.com?font=Fira+Code\u0026weight=600\u0026size=22\u0026pause=1000\u0026color=FF6B35\u0026center=true\u0026vCenter=true\u0026width=435\u0026lines=AI+that+fixes+your+shitty+code;While+you+sleep+%F0%9F%98%B4;No+cap+%F0%9F%A7%A2\" alt=\"Typing SVG\" /\u003e\n\n[![Stars](https://img.shields.io/github/stars/byteakp/AutoPR-AI?style=for-the-badge\u0026logo=github\u0026color=yellow)](https://github.com/byteakp/AutoPR-AI)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg?style=for-the-badge)](LICENSE)\n[![Made with](https://img.shields.io/badge/Made%20with-🔥%20\u0026%20☕-red?style=for-the-badge)](https://github.com/byteakp/AutoPR-AI)\n\n\u003c/div\u003e\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg width=\"600\" alt=\"AutoPR-AI Demo\" src=\"https://github.com/user-attachments/assets/7287d873-8818-41bd-9b98-1d24a6adec01\" /\u003e\n\u003cimg width=\"1567\" height=\"814\" alt=\"Screenshot from 2025-08-26 22-40-51\" src=\"https://github.com/user-attachments/assets/5284817b-8d9b-46d3-9b05-8dee4986e054\" /\u003e\n\u003c/div\u003e\n\n---\n\n## 💀 **Your Code Sucks. We Fix It.**\n\nYour codebase looks like it was written by a drunk octopus having an existential crisis. We get it. That's why **AutoPR-AI** exists.\n\n**What it does:**\n- 📡 You send a repo URL\n- 🤖 AI rewrites your garbage code \n- 📝 Creates a PR with clean code\n- ☕ You grab coffee while magic happens\n\n**No bullshit. Just results.**\n\n---\n\n## 🚀 **60-Second Setup**\n\n```bash\n# Clone this bad boy\ngit clone https://github.com/byteakp/AutoPR-AI.git \u0026\u0026 cd AutoPR-AI\n\n# Setup (copy-paste like a pro)\npython -m venv venv \u0026\u0026 source venv/bin/activate \u0026\u0026 pip install -r requirements.txt\n\n# Add your keys to .env (don't be that person who commits keys)\necho 'GITHUB_TOKEN=\"your_token\"' \u003e .env\necho 'OPENAI_API_KEY=\"your_key\"' \u003e\u003e .env\n\n# Launch the beast\nflask run\n```\n\n**Boom.** Running on `localhost:5000`\n\n---\n\n## 🔥 **Usage (It's Stupid Simple)**\n\n```bash\ncurl -X POST http://127.0.0.1:5000/refactor \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"repo_url\": \"https://github.com/some-user/trash-code.git\",\n    \"model\": \"gpt-4o\"\n  }'\n```\n\n**Models we support:**\n- `gpt-4o` (OpenAI's finest)\n- `gemini-1.5-flash` (Google's speed demon)\n- `claude-3-sonnet` (Anthropic's code whisperer)\n- `deepseek-coder` (The specialist)\n\n---\n\n## 📊 **Real Talk: Results**\n\n\u003cdiv align=\"center\"\u003e\n\n| Before AutoPR-AI | After AutoPR-AI | Developers' Reaction |\n|-------------------|------------------|---------------------|\n| 🤢 Spaghetti code | ✨ Clean architecture | 🤯 \"Is this magic?\" |\n| 😭 3 hours debugging | ⚡ 10 minutes | 🍻 \"I have a life now\" |\n| 🔥 Production fires | 🧊 Smooth sailing | 💰 \"Promoted!\" |\n\n\u003c/div\u003e\n\n---\n\n## 🎯 **Why This Rocks**\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://media.giphy.com/media/26tn33aiTi1jkl6H6/giphy.gif\" width=\"300\" alt=\"AI magic\"/\u003e\n\u003c/div\u003e\n\n**Other tools:** *\"Here are 47 linting errors to fix manually\"*  \n**AutoPR-AI:** *\"Fixed. Here's your PR. You're welcome.\"*\n\n**It's not just a tool. It's your coding guardian angel.**\n\n---\n\n## 🔮 **Coming Soon (The Good Stuff)**\n\n- 🎯 Target specific functions (no more whole-file chaos)\n- 💬 Chat with AI in PR comments (`@AutoPR-AI try harder`)\n- 📊 Code complexity scoring (shame your teammates)\n- 🔄 Auto-monitoring (weekly code health reports)\n- 📱 Slack alerts (`Your code has been beautified ✨`)\n\n---\n\n## 🤝 **Join the Cult**\n\nFound a bug? Have an idea? Want to contribute?\n\n**Hit us up:**\n- 🐛 [Issues](https://github.com/byteakp/AutoPR-AI/issues) \n- 💡 [Discussions](https://github.com/byteakp/AutoPR-AI/discussions)\n- 📧 [amankumarpandeyin@gmail.com](mailto:amankumarpandeyin@gmail.com)\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n## ⭐ **Star This Repo or Your Code Stays Ugly**\n\n[![Star Now](https://img.shields.io/badge/⭐-STAR%20NOW-yellow?style=for-the-badge\u0026logo=github)](https://github.com/byteakp/AutoPR-AI)\n[![Follow](https://img.shields.io/badge/👤-FOLLOW-blue?style=for-the-badge\u0026logo=github)](https://github.com/byteakp)\n\n---\n\n**Built with 🔥 and a lot of ☕**\n\n*\"Code is poetry. Yours is more like a grocery list.\"*\n\n**AutoPR-AI** - *We make ugly code beautiful* ✨\n\n[![MIT License](https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge)](LICENSE)\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyteakp%2Fautopr-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyteakp%2Fautopr-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyteakp%2Fautopr-ai/lists"}