An AI-powered platform that explains, debugs, and visualizes code with interactive flowcharts, 3D models, and voice narration.
CodeClarity is an intelligent AI-powered web platform that supports multiple programming languages (C, C++, Python, Java, JavaScript) and generates detailed, easy-to-understand code explanations.
The platform supports multiple comprehension levels (e.g., for 10-year-olds or 20-year-olds), making it accessible to all kinds of learners. It visualizes logic and flow with animated flowcharts, 3D models for arrays/matrices/trees/graphs, and includes a βWhy?β mode for line-by-line explanations.
It can:
- Fix buggy code and explain the mistake.
- Narrate code in natural voice.
- Analyze complexity (time & space).
- Execute code step-by-step in a sandbox.
- Track code evolution over time.
- Suggest smart optimizations with side-by-side comparisons.
- Auto-generate quizzes, test cases, and summary files.
CodeClarity/
ββ .github/
β ββ workflows/
β ββ issue-create-automate-message.yml
ββ CodeViz/
β ββ public/
β β ββ favicon.ico
β β ββ other assets...
β ββ src/
β β ββ assets/
β β ββ components/
β β β ββ features/
β β β ββ layout/
β β β ββ ui/ ...
β β ββ data/
β β ββ hooks/
β β ββ lib/
β β ββ pages/
β β ββ services/
β β ββ App.tsx, main.tsx, index.css, ...
β ββ index.html
β ββ package.json
β ββ tsconfig.json
β ββ other assets and documentations
ββ CODE_OF_CONDUCT.md
ββ CONTRIBUTING.md
ββ IDEA.md
ββ License.md
ββ OWNERSHIP.md
ββ README.md
ββ SECURITY.md
- Multi-level explanations β Tailored for beginners, students, and advanced learners.
- βWhy?β mode β Line-by-line or block-level reasoning behind the code.
- Real-world analogies β Simplifies abstract concepts with relatable examples.
- Interactive flowcharts & diagrams β Auto-generated from logic and structure.
- 3D data structure models β Arrays, matrices, trees, and graphs visualized in 3D.
- Export-ready visuals β Save diagrams, charts, and summaries for reports or study.
- Auto-generated quizzes & test cases generator β Reinforce understanding instantly.
- Secure sandbox β Step-by-step real-time execution with variable tracking.
- Complexity analysis β Automatic time & space complexity insights.
- Smart debugging & refactoring suggestions β Detects bugs, suggests fixes, and optimizations.
-
ποΈ Voice narration β Natural speech explanations for auditory learners.
-
π€ Export β Save visuals, diagrams, and summaries for reports or study.
-
GitHub import β Analyze code directly from repositories.
-
Version tracking β Monitor and compare code evolution over time.
This project and its concept were originally created and are maintained by:
π© Damacharla Sushma
ποΈ Idea Creation: July 28, 2025
π GitHub Profile
All rights reserved.
Unauthorized copying, redistribution, or reproduction of this project in any form is strictly prohibited without explicit written permission from the author.
We welcome suggestions and contributions from the community to enhance CodeClarity.
You can contribute in two ways:
- Open an Issue β Describe the suggestion, bug, or improvement with clear expected behavior.
- Submit a Pull Request (PR) β Fork the repository, implement changes in a feature branch, and submit a Pull Request (PR) for review.
Quick PR steps
# 1. Fork this repository and clone your fork
fork β git clone
cd CodeClarity
# 2. Create a new branch
git checkout -b feature/your-feature-name
# 3. Make your edits
git add .
git commit -m "Commit Message Here"
# 4. Push your branch and open a PR
git push -u origin feature/your-feature-name
# 5. Open a PR from your fork
Please follow our Code of Conduct to maintain a welcoming community.
Clone this repo and start contributing!
git clone https://github.com/Sushma-1706/CodeClarity.git
cd CodeClarity
npm install
npm run dev
π View the Code
π GitHub Repository β
π License
This project is licensed under the MIT License.
You can use, modify, and distribute this project freely, but attribution is required.
βYou can do almost anything you want with this code, just donβt hold us liable, and please keep our names in it.β
This project is licensed under the MIT License. See MIT License for details.