Skip to content

CodexGuru is a full-stack AI tool that helps users summarize and debug code instantly. It uses models like Mistral and LLaMA for analysis, supports JWT-based login, and stores history with MongoDB. Built with React, FastAPI, and MongoDB, it offers a smooth and intelligent coding assistant experience.

Notifications You must be signed in to change notification settings

koustub1412/Codexguru

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

26 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 CodexGuru

CodexGuru is a full-stack AI-powered tool that helps developers summarize and debug code instantly using cutting-edge LLMs like Mistral and LLaMA. It provides an intuitive interface where users can paste code, get AI-generated summaries, detect bugs, and view analysis history securely.


πŸš€ Features

  • πŸ” Code Summarization using Mistral-7B via OpenRouter API
  • πŸ› οΈ Bug Detection with LLaMA and DeepSeek Coder APIs
  • πŸ” JWT-based Authentication for secure login/register
  • 🧾 History Tracking for past code analyses
  • 🌐 Modern UI with React + Material UI
  • ⚑ Fast backend using FastAPI and MongoDB

🧩 Tech Stack

Layer Technology
Frontend React, Material UI
Backend FastAPI (Python)
AI Models Mistral, LLaMA
Auth JWT Token Auth
Database MongoDB
Hosting GitHub (codebase)

πŸ“ Folder Structure

Codexguru/
β”œβ”€β”€ backend/                   # FastAPI backend
β”‚   β”œβ”€β”€ app/
β”‚   β”‚   β”œβ”€β”€ main.py
β”‚   β”‚   β”œβ”€β”€ routes/
β”‚   β”‚   β”‚   β”œβ”€β”€ analyze.py
β”‚   β”‚   β”‚   └── debug.py
β”‚   β”‚   β”œβ”€β”€ services/
β”‚   β”‚   β”‚   β”œβ”€β”€ mistral_7b.py
β”‚   β”‚   β”‚   β”œβ”€β”€ llama_3_8b.py
β”‚   β”‚   β”‚   └── __init__.py
β”‚   β”‚   └── __init__.py
β”‚   β”œβ”€β”€ test.py
β”‚   └── requirements.txt
β”‚
β”œβ”€β”€ frontend/                  # React frontend
β”‚   β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ App.js
β”‚   β”‚   └── index.js
β”‚   β”œβ”€β”€ .env
β”‚   └── package.json
β”‚
β”œβ”€β”€ .gitignore
β”œβ”€β”€ README.md


πŸ”§ Setup Instructions

🐍 Backend (FastAPI)

cd backend
python -m venv venv
venv\Scripts\activate  # or source venv/bin/activate
pip install -r requirements.txt
uvicorn app.main:app --reload

🌐 Frontend (React)

cd frontend
npm install
npm start

πŸ” Add .env files as needed for API keys

πŸ‘₯ Contributors @koustub1412 @RIGVED0

About

CodexGuru is a full-stack AI tool that helps users summarize and debug code instantly. It uses models like Mistral and LLaMA for analysis, supports JWT-based login, and stores history with MongoDB. Built with React, FastAPI, and MongoDB, it offers a smooth and intelligent coding assistant experience.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published