Inspiration

As a computer science graduate and developer, I often faced unfamiliar code while learning or debugging. Understanding it usually meant switching between documentation, tutorials, and AI tools, breaking focus and slowing productivity.

CodeAI was inspired by the idea that code understanding should be instant and contextual. Developers should be able to analyze, understand, and improve code directly where they see it, while tracking weak spots to focus on what matters most.

What it does

CodeAI helps developers understand, debug, and improve code directly on any webpage, while supporting continuous learning.

Core Features

  • Explain – Clarifies what code does in simple language
  • Output – Predicts the code’s output without running it
  • Errors – Detects bugs and common mistakes
  • Improve – Suggests cleaner, better code
  • History – Saves previous interactions
  • Personalized Learning – Highlights weak areas and tracks progress

Learning Features

  • Lessons – Focused lessons to improve weak areas
  • Challenges – Practical coding challenges (currently JavaScript)
  • Progress Tracking – Monitors learning and improvement over time

How we built it

  • Chrome Extension (Manifest V3) – Injects content and handles user interactions
  • JavaScript / HTML / CSS – Logic, UI, and interactivity
  • OpenAI GPT API – Generates explanations, predictions, and suggestions
  • Firebase – Stores user data, history, and learning insights

Challenges

  • Ensuring data privacy while tracking user interactions
  • Balancing fast AI responses with clear explanations

Accomplishments

  • Fully functional Chrome extension ready for real-world use
  • Integrated OpenAI GPT API for code analysis and suggestions
  • Backend support via Firebase for user history and progress
  • Personalized learning through insights and tracking

Lessons Learned

  • Chrome extension development (content scripts, background workers)
  • Prompt design for accurate AI outputs
  • Developer-focused UX and AI-assisted learning

Next Steps

  • Multi-language support (Java, C++, Python, etc.)
  • Chat interface for follow-up code questions
  • Code-to-pseudocode or flowchart visualization
  • Interactive Roadmap – Personalized learning plans for users
  • Community page for sharing insights, challenges, and collaboration

Presentation Slides

Slides explaining the problem, solution, architecture, and impact of CodeAI:
View the slides

🔗 GitHub Repository

https://github.com/janaalbader28/CodeAI

📝 Feedback Form

We’d love your feedback to make CodeAI better! Share your thoughts on the idea, user experience, or the code itself:
Feedback Form

Share this project:

Updates