Most developers write code, push it, and hope for the best. Security vulnerabilities, creeping complexity, and silent technical debt only surface during expensive late-stage reviews β or worse, in production.
DevScope AI installs a real-time intelligence layer directly into your development workflow:
- Ask it anything about your code β Big O, maintainability, security gaps
- Upload any file and get targeted refactoring or debugging analysis
- Track your technical debt as a measurable trend over time β not a gut feeling
No more flying blind. Your AI co-pilot is always watching.
| Feature | Description |
|---|---|
| π Intelligent Analysis | Real-time feedback on Time Complexity (Big O), Maintainability scores, and Security vulnerabilities |
| π Smart File Uploads | Attach .py, .js, or .cpp files with specific refactoring or debugging instructions |
| π Issue Trend Graph | Data-driven line chart tracking code issues over time via persistent SQLite |
| π¨ Cinematic UI | Glassmorphism Space Theme with a live starfield, terminal-style interface, and smooth animations |
| β‘ Lightning-Fast AI | Groq LPU inference with Llama 3.3 70B for near-instantaneous responses |
graph TD
subgraph Frontend["π₯οΈ React Frontend"]
A[π¨βπ» Developer] -->|Code / File Upload| B[π¬ Chat Interface]
B -->|HTTP POST via Axios| C[β‘ FastAPI Backend]
end
subgraph Backend["π§ Backend Engine"]
C -->|Prompt Engineering| D[π€ Groq β Llama 3.3 70B]
D -->|Analysis Result| E[π Issue Scorer]
E -->|Write Record| F[(SQLite via SQLAlchemy)]
end
subgraph Dashboard["π Analytics Layer"]
F -->|Historical Data| G[Recharts Issue Trend Graph]
D -->|Live Response| H[Terminal Chat Bubbles]
end
style D fill:#38bdf8,stroke:#fff,stroke-width:1px,color:#000
style G fill:#38bdf8,stroke:#fff,stroke-width:1px,color:#000
style C fill:#009688,stroke:#fff,stroke-width:1px,color:#fff
style F fill:#003B57,stroke:#aaa,stroke-width:1px,color:#fff
style A fill:#1e1b4b,stroke:#a5b4fc,stroke-width:1px,color:#fff
style B fill:#1e293b,stroke:#38bdf8,stroke-width:1px,color:#fff
| Layer | Technologies |
|---|---|
| Frontend | React.js, Vite, Tailwind CSS, Framer Motion, Recharts, Lucide React |
| Backend | Python 3.8+, FastAPI, Uvicorn |
| AI Engine | Groq SDK β Llama 3.3 70B |
| Database | SQLite, SQLAlchemy ORM |
| File Handling | python-multipart |
| HTTP Client | Axios |
devscope-ai/
βββ backend/
β βββ main.py # FastAPI entry point & API routes
β βββ analyzer.py # AI logic & Groq API integration
β βββ database.py # SQLite connection & SQLAlchemy models
β βββ .env # API keys (environment variables)
β βββ devscope.db # Auto-generated SQLite database
βββ frontend/
β βββ src/
β β βββ components/
β β β βββ Sidebar.jsx
β β β βββ ChatBubble.jsx
β β β βββ CodeWindow.jsx
β β β βββ MetricsBar.jsx
β β β βββ InputArea.jsx
β β β βββ IssueGraph.jsx
β β β βββ Starfield.jsx
β β βββ App.jsx # Main logic & state
β β βββ main.jsx # React entry point
β β βββ index.css # Global styles & Tailwind
β βββ tailwind.config.js
β βββ package.json
β βββ vite.config.js
βββ README.md
- Python 3.8+
- Node.js v16+ & npm
- A Groq API key (free)
# Navigate to the backend folder
cd backend
# Create and activate a virtual environment
python -m venv .venv
# Windows
.\.venv\Scripts\activate
# Mac / Linux
source .venv/bin/activate
# Install dependencies
pip install fastapi uvicorn sqlalchemy groq python-dotenv python-multipartConfigure environment variables β create a .env file in backend/:
GROQ_API_KEY=your_gsk_key_hereStart the backend:
python main.py
# Running at http://localhost:8000# Navigate to the frontend folder
cd ../frontend
# Install dependencies
# (includes axios, recharts, lucide-react, react-syntax-highlighter, framer-motion)
npm install --legacy-peer-deps
# Start the dev server
npm run dev
# Running at http://localhost:5173| Service | URL |
|---|---|
| Frontend UI | http://localhost:5173 |
| Backend API | http://localhost:8000 |
| API Docs (Swagger) | http://localhost:8000/docs |
π¬ Chat β Type any coding question (e.g. "Write an optimized quicksort in Python") and hit Send. The AI responds with code, complexity analysis, and suggestions.
π Analyze a File β Click the Paperclip icon or the Upload icon in the sidebar to attach a .py, .js, or .cpp file. Add specific instructions (e.g. "Check this for SQL injection") and hit Send.
π Analytics β Click the Bar Chart icon in the sidebar to view your issue trend graph β a persistent record of code health over time.
π Dashboard β Click the Grid icon to reset your current session and start a fresh analysis.
Contributions that improve the following are especially welcome:
- Prompt Engineering β more accurate Big O and security scoring prompts
- New File Type Support β extending uploads to
.ts,.go,.rs,.java - Database Adapters β PostgreSQL support via SQLAlchemy
- UI Themes β additional Glassmorphism or terminal-dark variants
Please open an issue before submitting a large PR so we can align on direction.
This project is open source. See LICENSE for details.
Built for developers who care about code quality. β‘
DevScope AI β Real-time intelligence. Zero compromise.