An intelligent coding assistant that breaks down complex snippets into digestible explanations. Choose your expertise level—Beginner (ELI5), Intermediate, or Senior—to get tailored insights powered by AI.
-
Multi-Level Explanations:
- Beginner (Explain Like I'm 5):: Uses analogies like Legos and recipes to explain logic without jargon.
- Intermediate: Balances technical terms with clear, logical flow.
- Senior: Focuses on Big O notation ($O(n)$), architectural patterns, and performance.
- Syntax Highlighting: Beautiful code blocks with language-specific formatting.
- Math Support: Renders complex mathematical notations using LaTeX.
- Clean UI: Built with Tailwind CSS for a responsive, modern developer experience.
- Frontend: React (Vite), Tailwind CSS, Lucide Icons
- Backend: Node.js, Express
- AI Engine: OpenAI API (via Nebius TokenFactory)
- Markdown:
react-markdownwith GFM and Math plugins
git clone [https://github.com/vandy02/Codesplain.git](https://github.com/Vandy02/Codesplain.git)
cd ai-code-explainercd server
npm installCreate a .env file in the server folder:
PORT=3002
NEBIUS_API_KEY=your_api_key_hereStart the server:
npm startcd client
npm install
npm run dev🖥️ Usage
- Paste your code into the text area.
- Select the programming language.
- Choose your Explanation Level.
- Click "Explain Code" and watch the AI break it down!