CodePilot is an AI-powered code review and debugging assistant that helps developers write cleaner, faster, and more secure code. Whether you're a beginner looking for feedback or a senior developer hunting for optimization tips, CodePilot is your personal code companion.
CodePilot leverages advanced AI to analyze your code and provide feedback in real-time. It's designed to be your personal assistant that spots bugs, suggests improvements, and helps you debug like a pro. Plus, developers can sign up for a special role to support others via live Zoom calls — like a virtual dev mentorship space.
- ✅ Upload or paste your code for instant AI analysis
- ✅ Categorized feedback:
- Performance issues
- Security vulnerabilities
- Bugs and logic errors
- Optimization tips
- ✅ Beautiful, animated UI using Framer Motion
- ✅ Real-time chat-like experience powered by OpenAI
- ✅ User authentication and authorization
- ✅ Forgot password flow with email recovery
- ✅ Developer role with ability to assist other users via Zoom
- ✅ Stripe integration for premium plans
- ✅ 3D robot assistant (Spline integration)
- ✅ Built using custom conventional Next.js pages with modern animations
- Frontend: Next.js, TailwindCSS, Shadcn UI, Framer Motion, Spline
- Backend/AI: OpenAI API
- Database: MongoDB Atlas
- Auth: Custom-built authentication & authorization system
- Payments: Stripe
- Deployment: Vercel
Note: You must have Node.js and npm installed.
- Clone the repository:
git clone https://github.com/NextGenCodersGSG/CodePilot.git
cd codepilot
- Navigate to the development branch:
git checkout development
- Pull the latest development changes:
git pull origin development
- Install dependencies:
npm install
- Create a .env.local file and add your environment variables:
OPENAI_API_KEY=your_openai_api_key
MONGODB_URI=your_mongo_uri
NEXT_PUBLIC_URL=http://localhost:3000
SALT_ROUNDS=10
SESSION_SECRET=your_session_secret
# Email (SMTP)
SMTP_USER=your_email@gmail.com
SMTP_PASS=your_smtp_password
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_FROM_EMAIL=your_email@gmail.com
DEV_EMAIL=admin_contact_email
# Stripe
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=your_stripe_public_key
STRIPE_SECRET_KEY=your_stripe_secret_key
STRIPE_PRICE_ID_STARTER=price_id_starter
STRIPE_PRICE_ID_PRO=price_id_pro
STRIPE_PRICE_ID_TEAM=price_id_team
# Zoom Integration
ZOOM_ACCESS_TOKEN=your_zoom_access_token
ZOOM_ACCOUNT_ID=your_zoom_account_id
ZOOM_CLIENT_ID=your_zoom_client_id
ZOOM_CLIENT_SECRET=your_zoom_client_secret
- Run the development server:
npm run dev
- Open http://localhost:3000 to view the app.
🔧 Demo video coming soon! Stay tuned...
This project is licensed under the MIT License. Feel free to use, share, and modify it!
We welcome contributions with open arms! Whether it’s fixing a bug, proposing a new feature, or improving the UI — every bit counts. Fork the repo, create a new branch, and open a pull request. Let’s build something amazing together!
-
Hadi Irshaid
-
Moumen Al Yazouri
-
Hajar Ihab
-
Lara Samara
-
Alaa Abu Madi
-
Mohammed Al Hnajouri