Skip to content

Debasishpradhan28/CodeConV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

CodeFlowAI

CodeFlowAI is an AI-powered code understanding platform that helps developers and students convert code, understand program logic, and visualize execution flow using interactive flowcharts.

Instead of just transforming code, CodeFlowAI focuses on how and why a program works.

🌟 Inspiration

While learning programming, many beginners struggle not with syntax, but with understanding the logic behind code. Most tools convert code but fail to explain execution flow.

CodeFlowAI was built to bridge that gap by combining:

-code conversion -human-friendly explanations -intermediate logic representation -real execution flowcharts

all in one platform.

🧠 What CodeFlowAI Does

CodeFlowAI provides three powerful ways to understand any program:

🔁 Code Conversion

Convert programs between multiple programming languages while preserving logic and structure.

🧩 Explain Logic

Generate step-by-step, human-readable explanations of how the program works — like a teacher explaining it.

🔍 View Logic (Intermediate Representation)

Extract the internal logic of a program as structured flow rules.

📊 Interactive Flowcharts

Visualize program execution using real flowcharts with: -decisions -loops -inputs and outputs -execution paths

🛠️ How We Built It

Frontend

-Flask -HTML, CSS, JavaScript -Mermaid.js for flowchart rendering

Backend

-Flask-based AI service -Google Gemini API for intelligent code analysis -Prompt engineering for logic extraction -Intermediate Representation (IR) generation

💡 Key Features

-Multi-language code conversion -Teacher-style logic explanations -Compiler-inspired IR generation -Real execution flowcharts -Clean and beginner-friendly UI -Secure backend-only AI access -Fully deployed cloud architecture

🚧 Challenges We Faced

-Handling AI API rate limits and key security -Ensuring logic extraction differs from explanation -Designing correct flowcharts for loops and conditions -Preventing browser cache issues during development -Connecting frontend and backend services in production

🏆 Accomplishments We’re Proud Of

-Built a real code → IR → visualization pipeline -Successfully deployed a multi-service AI system -Implemented interactive flowchart generation -Designed a beginner-friendly learning experience -Solved real-world deployment and security issues

🔮 What’s Next for CodeFlowAI

-Step-by-step execution animation -Flowchart export as image or PDF -AI-powered debugging suggestions -Algorithm detection and visualization -Classroom mode for educators -Support for more programming languages

🧪 Tech Stack

Languages

-Python -JavaScript -HTML -CSS

Frameworks & Libraries

-Flask -Mermaid.js -Google Gemini API

Tools & Platforms

-Render -GitHub -Thunder Client -VS Code

📌 Live Demo

deployment link -

frontend - https://code-flow-8sx3.onrender.com backend - https://codeflow-lw1w.onrender.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors