An intelligent GitHub merge conflict resolution tool powered by AI. This application allows you to authenticate with GitHub, view your repositories and pull requests, and get AI-powered suggestions for resolving merge conflicts.
- GitHub OAuth Authentication - Secure login with your GitHub account
- Repository Management - Browse and select from your GitHub repositories
- Pull Request Viewer - View open and closed pull requests with detailed information
- AI-Powered Conflict Resolution - Get intelligent suggestions for resolving merge conflicts using Google Gemini
- Real-time Status Updates - Track conflict resolution progress
npm installcd backend
npm install
cp env.example .env
# Edit .env and add your Gemini API key- Go to GitHub Developer Settings
- Click "New OAuth App"
- Fill in the application details:
- Application name:
AI Merge Resolver - Homepage URL:
http://localhost:3000 - Authorization callback URL:
http://localhost:3000
- Application name:
- Copy the Client ID and Client Secret
-
Copy the example environment file:
cp env.example .env
-
Edit
.envand add your GitHub OAuth credentials:VITE_GITHUB_CLIENT_ID=your_github_client_id_here VITE_GITHUB_CLIENT_SECRET=your_github_client_secret_here VITE_APP_URL=http://localhost:3000
cd backend
npm run dev# In a new terminal, from the project root
npm run dev- Login: Click "Sign in with GitHub" to authenticate
- Select Repository: Choose a repository from your GitHub account
- View Pull Requests: Browse open and closed pull requests
- Resolve Conflicts: Select a pull request to view merge conflicts
- AI Suggestions: Get AI-powered recommendations for conflict resolution
- Apply Changes: Accept AI suggestions or manually resolve conflicts
npm run dev- Start development servernpm run build- Build for production
VITE_GITHUB_CLIENT_ID- GitHub OAuth App Client IDVITE_GITHUB_CLIENT_SECRET- GitHub OAuth App Client Secret (dev only)VITE_APP_URL- Application URL for OAuth redirects- "GEMINI_KEY"
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is licensed under the MIT License.
For detailed setup instructions, see GITHUB_SETUP.md.
For issues and questions, please open an issue on GitHub.