An AI-powered GitHub repository enhancement platform that provides intelligent code analysis, meeting transcription, and Q&A capabilities for developers.
- AI-Powered Code Analysis: Ask questions about your codebase and get intelligent answers with file references
- Meeting Transcription: Upload meeting recordings and get AI-generated summaries with chapters
- GitHub Integration: Seamlessly connect your GitHub repositories for enhanced analysis
- Real-time Streaming: Get responses streamed in real-time for better user experience
- Credit System: Pay-as-you-go model with Razorpay integration
- Modern UI: Built with Next.js, Tailwind CSS, and Radix UI components
- Frontend: Next.js 15, React 19, TypeScript
- Backend: tRPC, Prisma ORM
- Database: PostgreSQL
- Authentication: Clerk
- AI Services:
- Google Gemini for embeddings and chat
- AssemblyAI for meeting transcription
- Payment: Razorpay
- Styling: Tailwind CSS, Radix UI
- Deployment: Vercel
- Node.js 18+
- PostgreSQL database
- GitHub account (for repository integration)
- API keys for:
- Google Gemini
- AssemblyAI
- Clerk
- Razorpay
-
Clone the repository
git clone https://github.com/Shubhamkahar196/Github-AI cd github-ai -
Install dependencies
npm install
-
Set up environment variables
cp .env.example .env
Fill in your environment variables:
DATABASE_URL="postgresql://..." NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=... CLERK_SECRET_KEY=... GEMINI_API_KEY=... ASSEMBLYAI_API_KEY=... RAZORPAY_KEY_ID=... RAZORPAY_KEY_SECRET=...
-
Set up the database
npm run db:push npm run db:generate
-
Run the development server
npm run dev
-
Open [http://localhost:3000] in your browser
- Navigate to the Create page
- Enter your GitHub repository URL
- Optionally provide a GitHub token for private repositories
- The system will analyze your codebase and create embeddings
- Go to your project dashboard
- Use the "Ask GitHub AI" feature
- Get AI-powered answers with file references
- Upload your meeting recording
- Get AI-generated transcription and summaries
- View chapter-wise breakdown of the meeting
npm run dev- Start development server with Turbonpm run build- Build for productionnpm run start- Start production servernpm run lint- Run ESLintnpm run lint:fix- Fix ESLint issuesnpm run format:check- Check code formattingnpm run format:write- Format codenpm run typecheck- Run TypeScript type checkingnpm run db:studio- Open Prisma Studionpm run db:push- Push schema changes to database
src/
├── app/ # Next.js app directory
│ ├── (protected)/ # Protected routes
│ ├── api/ # API routes
│ └── layout.tsx # Root layout
├── components/ # Reusable UI components
├── lib/ # Utility libraries
│ ├── assembly.ts # AssemblyAI integration
│ ├── gemini.ts # Google Gemini integration
│ ├── github.ts # GitHub API integration
│ └── utils.ts # General utilities
├── server/ # tRPC server setup
│ └── api/ # API routers
└── types/ # TypeScript type definitions
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Next.js - The React framework
- tRPC - End-to-end typesafe APIs
- Prisma - Database ORM
- Clerk - Authentication
- Google Gemini - AI capabilities
- AssemblyAI - Speech-to-text
- Razorpay - Payment processing
For support, email shubhamkahar196@gmail.com
Live Demo: https://github-ai-eight.vercel.app/