https://github.com/nextgencodersgsg/codepilot
An advanced AI-driven code analysis tool built with Next.js, leveraging OpenAI's API to review and debug code efficiently.
https://github.com/nextgencodersgsg/codepilot
ai-agents nextjs reactjs tailwindcss vercel
Last synced: 3 months ago
JSON representation
An advanced AI-driven code analysis tool built with Next.js, leveraging OpenAI's API to review and debug code efficiently.
- Host: GitHub
- URL: https://github.com/nextgencodersgsg/codepilot
- Owner: NextGenCodersGSG
- Created: 2025-03-19T17:02:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-30T12:56:20.000Z (about 1 year ago)
- Last Synced: 2025-03-30T13:23:34.822Z (about 1 year ago)
- Topics: ai-agents, nextjs, reactjs, tailwindcss, vercel
- Language: TypeScript
- Homepage:
- Size: 6.26 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π CodePilot
**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.
---
## π§ What is CodePilot?
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.
---
## β¨ Features
- β
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
---
## π Tech Stack
- **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
---
## π¦ Installation & Setup
> **Note**: You must have **Node.js** and **npm** installed.
1. Clone the repository:
```bash
git clone https://github.com/NextGenCodersGSG/CodePilot.git
cd codepilot
```
2. Navigate to the development branch:
```bash
git checkout development
```
3. Pull the latest development changes:
```bash
git pull origin development
```
4. Install dependencies:
```bash
npm install
```
5. Create a .env.local file and add your environment variables:
```bash
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
```
6. Run the development server:
```bash
npm run dev
```
7. Open http://localhost:3000 to view the app.
## π₯ Demo
π§ Demo video coming soon! Stay tuned...
## π‘ License
This project is licensed under the [MIT License](LICENSE). Feel free to use, share, and modify it!
## π€ Contribution
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!
## π₯ **NextGenCoders** Team members
- **Hadi Irshaid**
- [LinkedIn](https://www.linkedin.com/in/hadi-irshaid-345386319/)
- [GitHub](https://github.com/Hadi87s)
- π§ HadiIrshaid8722@gmail.com
- **Moumen Al Yazouri**
- [LinkedIn](https://www.linkedin.com/in/moamen-al-yazouri-80742433a/)
- [GitHub](https://github.com/Moamen-Yazouri)
- π§ moaamenalyazouri@gmail.com
- **Hajar Ihab**
-
[LinkedIn](https://www.linkedin.com/in/hajar-alhajeh/)
-
[GitHub](https://github.com/Hajar013)
-
[hajar.ihab@gmail.com](mailto:hajar.ihab@gmail.com)
- **Lara Samara**
-
[LinkedIn](https://www.linkedin.com/in/lara-samara/)
-
[GitHub](https://github.com/LaraSamara)
-
[larasamara2002@gmail.com](mailto:larasamara2002@gmail.com)
- **Alaa Abu Madi**
- [LinkedIn](https://www.linkedin.com/in/alaa-abu-madi/)
- [GitHub](https://github.com/Alaa-Madi)
- π§ abumadialaa@gmail.com
- **Mohammed Al Hnajouri**