SafestCode is an AI-powered code analysis toolkit for developers who want clean, secure, and maintainable code. It provides instant debugging, refactoring, security insights, and explanations across multiple languages.
https://safest-code.vercel.app
SafestCode analyzes code using advanced AI models and returns structured, actionable feedback. It supports multiple modes such as debugging, explanation, optimization, and security scanning.
Designed to grow from a simple web tool into a scalable platform for AI-assisted development.
| Layer | Technologies |
|---|---|
| Frontend | React, TypeScript, Vite, Tailwind CSS |
| AI Engine | Gemini API |
| Hosting | Vercel |
| Authentication | Planned (Supabase / Auth.js / Clerk) |
| Backend (Planned) | Node.js, Express, Prisma, PostgreSQL |
| AI Orchestration | Gemini, OpenAI, DeepSeek (Planned Ensemble) |
- Code editor with syntax highlighting
- Multi-language support (JS, TS, Python)
- Analysis modes (debug, explain, optimize, secure)
- Clean and consistent prompt generation
- AI-powered response parsing
- Error handling, loading states, and improved feedback
SafestCode/
│
├── frontend/ # React frontend (live on Vercel)
│ └── src/
│
├── backend/ # Upcoming backend for secure AI routing
│ └── routes/
│
├── ai-engine/ # Shared prompts, parsing, and fallback logic (future)
│ └── prompt/
│
└── README.md
- Secure backend routing for Gemini
- Improved syntax highlighting
- Enhanced UI feedback and loading states
- Local storage for analysis history
- AI fallback system (OpenAI, DeepSeek)
- User accounts
- Dashboard and history tracking
- Real-time shared sessions
- VSCode extension
- GitHub PR review bot
- Enterprise-grade security scanning
- AI-assisted learning modules (DSA, clean code, secure coding)
Run the frontend:
cd frontend
npm install
npm run devAdd your .env:
VITE_GEMINI_API_KEY=your_api_key_here
Backend and AI engine modules will be integrated as the platform scales.
Contributions will open once the core is stable. For now, discussions and suggestions are welcome.
MIT License. Attribution appreciated when using or extending the project.
Zigla City Building tools that scale with clarity, intention, and precision.