{"id":26579631,"url":"https://github.com/arnavk-09/gh-pr-ai","last_synced_at":"2026-04-13T06:42:01.421Z","repository":{"id":283913726,"uuid":"950863763","full_name":"ArnavK-09/gh-pr-ai","owner":"ArnavK-09","description":"Minimal AI-driven tool that helps developers review GitHub Pull Requests efficiently...","archived":false,"fork":false,"pushed_at":"2025-03-20T15:56:38.000Z","size":321,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T01:35:44.451Z","etag":null,"topics":["ai","backend","bun","demo","elysia","flagsmith","groq","html","react","starter","vercel-ai"],"latest_commit_sha":null,"homepage":"https://gh-pr-ai.onrender.com","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ArnavK-09.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}},"created_at":"2025-03-18T19:52:15.000Z","updated_at":"2025-03-20T15:56:42.000Z","dependencies_parsed_at":"2025-03-23T01:35:54.932Z","dependency_job_id":"3da5abf5-515f-42a0-8d5a-475fb6e6cb37","html_url":"https://github.com/ArnavK-09/gh-pr-ai","commit_stats":null,"previous_names":["arnavk-09/gh-pr-ai"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArnavK-09%2Fgh-pr-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArnavK-09%2Fgh-pr-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArnavK-09%2Fgh-pr-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArnavK-09%2Fgh-pr-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArnavK-09","download_url":"https://codeload.github.com/ArnavK-09/gh-pr-ai/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245061647,"owners_count":20554616,"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","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":["ai","backend","bun","demo","elysia","flagsmith","groq","html","react","starter","vercel-ai"],"created_at":"2025-03-23T06:18:17.554Z","updated_at":"2026-04-13T06:42:01.362Z","avatar_url":"https://github.com/ArnavK-09.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e🔫 gh-pr-ai 🔫\u003c/h1\u003e\n\u003ch2 align=\"center\"\u003eAI-Powered GitHub PR Review Assistant\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"hero\" width=\"450\" src=\"https://emoji-route.deno.dev/svg/🔫\" /\u003e\n\u003c/p\u003e\n\n\u003e [!NOTE]\n\u003e \n\u003e gh-pr-ai is a powerful AI-driven tool that helps developers review GitHub Pull Requests efficiently. It provides detailed code analysis and suggestions in real-time, making the code review process smoother and more effective.\n\n## 🌟 Features\n\n\u003e **gh-pr-ai** comes packed with powerful features:\n\n- **AI-Powered Analysis** – Intelligent code review with detailed suggestions\n- **Real-time Processing** – Instant feedback as you review PRs\n- **Feature Flag Management** – Flexible control using Flagsmith integration\n- **Modern UI** – Clean and responsive interface with typing animation\n\n## 💻 Installation\n\n\u003e Get started with **gh-pr-ai** in minutes:\n\n```bash\n# Clone the repository\ngit clone https://github.com/ArnavK-09/gh-pr-ai.git\n\n# Install dependencies\nbun install\n\n# Start the development server\nbun run dev\n```\n\n## 🚀 Live Demo\n\n\u003e [!TIP]\n\u003e Experience gh-pr-ai in action at: [gh-pr-ai.onrender.com](https://gh-pr-ai.onrender.com)\n\n## 🛠️ Tech Stack\n\n### Backend\n- **Bun** – Fast all-in-one JavaScript runtime\n- **Elysia.js** – Modern and performant web framework\n- **SQLite** – Lightweight and reliable database\n- **Vercel AI SDK** – Advanced AI integration\n\n### Frontend\n- **React** – UI library for interactive components\n- **Tailwind CSS** – Utility-first styling framework\n- **Marked** – Markdown parsing and rendering\n\n## 🎯 Flagsmith Integration\n\ngh-pr-ai leverages Flagsmith for feature flag management, enabling:\n\n- Dynamic feature toggling\n- Environment-specific configurations\n- Gradual feature/CONFIG rollouts\n\nThe integration is handled in `src/flagsmith.ts`, making it easy to manage feature flags across the application.\n\n### Feature Flags Overview\n\nBelow is a comprehensive list of feature flags used in gh-pr-ai:\n\n| Flag Name | Description | Default State | Impact |\n|-----------|-------------|---------------|--------|\n| `enableAIReview` | Controls AI-powered code review functionality | Enabled | Activates intelligent code analysis and suggestions |\n| `useMarkdown` | Toggle Markdown rendering in PR comments | Enabled | Enables rich text formatting in review comments |\n| `debugMode` | Enables detailed logging and debugging features | Disabled | Shows additional debugging information for development |\n| `experimentalFeatures` | Controls access to experimental features | Disabled | Enables testing of new features before full release |\n\n### Flagsmith Dashboard\n\n\u003e Here's how our feature flags are managed in the Flagsmith dashboard:\n\n| Screenshot |\n|------------|\n| ![image](https://github.com/user-attachments/assets/86458e58-dab6-40d8-a541-46b3682b8d27) |\n| ![image](https://github.com/user-attachments/assets/9a2943a3-9bd7-4450-a702-88b83351f27d) |\n| ![image](https://github.com/user-attachments/assets/e6f9feb7-29fb-41c2-b570-7dd355e2790a) |\n| ![image](https://github.com/user-attachments/assets/8318c6c6-0f36-42bd-8c66-2e79e87ae785) |\n| ![image](https://github.com/user-attachments/assets/e6e07a43-72ad-4545-aa48-f106b8686b3a) |\n| ![image](https://github.com/user-attachments/assets/804fb257-80a6-4c22-b181-a517d29f6634) |\n\n## 📁 Project Structure\n\n```\n├── src/                # Backend source files\n│   ├── flagsmith.ts    # Flagsmith configuration\n│   ├── index.ts        # Main server entry\n│   ├── lib/            # Core utilities\n│   ├── routers/        # API route handlers\n│   └── types.ts        # TypeScript definitions\n├── frontend/\n│   └── index.html      # Single-file React frontend\n└── package.json        # Project dependencies\n```\n\n## 💻 Contributing\n\n\u003e [!TIP]  \n\u003e We welcome contributions to improve **gh-pr-ai**! If you have suggestions, bug fixes, or new feature ideas, follow these steps:\n\n1. **Fork the Repository**  \n   Click the **Fork** button at the top-right of the repo page.\n\n2. **Clone Your Fork**  \n   Clone the repo locally:\n\n   ```bash\n   git clone https://github.com/ArnavK-09/gh-pr-ai.git\n   ```\n\n3. **Create a Branch**  \n   Create a new branch for your changes:\n\n   ```bash\n   git checkout -b your-feature-branch\n   ```\n\n4. **Make Changes**  \n   Implement your changes (bug fixes, features, etc.).\n\n5. **Commit and Push**  \n   Commit your changes and push the branch:\n\n   ```bash\n   git commit -m \"feat(scope): description\"\n   git push origin your-feature-branch\n   ```\n\n6. **Open a Pull Request**  \n   Open a PR with a detailed description of your changes.\n\n7. **Collaborate and Merge**  \n   The maintainers will review your PR, request changes if needed, and merge it once approved.\n\n## 🙋‍♂️ Issues\n\nFound a bug or need help? Please create an issue on the [GitHub repository](https://github.com/ArnavK-09/gh-pr-ai/issues) with a detailed description.\n\n## 👤 Author\n\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n        \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/ArnavK-09\"\u003e\u003cimg src=\"https://github.com/ArnavK-09.png?s=100\" width=\"130px;\" alt=\"Arnav K\"/\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/ArnavK-09\"\u003e\u003ch3\u003e\u003cb\u003eArnav K\u003c/b\u003e\u003c/h3\u003e\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n---\n\n\u003ch2 align=\"center\"\u003e📄 License\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cstrong\u003egh-pr-ai\u003c/strong\u003e is licensed under the \u003ccode\u003eMIT\u003c/code\u003e License. See the \u003ca href=\"https://github.com/ArnavK-09/gh-pr-ai/blob/main/LICENSE\"\u003eLICENSE\u003c/a\u003e file for more details.\n\u003c/p\u003e\n\n---\n\n\u003cp align=\"center\"\u003e\n    \u003cstrong\u003e🌟 If you find this project helpful, please give it a star on GitHub! 🌟\u003c/strong\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnavk-09%2Fgh-pr-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farnavk-09%2Fgh-pr-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnavk-09%2Fgh-pr-ai/lists"}