CodeCompass is an AI-powered LeetCode assistant designed to help users solve coding problems more efficiently. Built using Python and Flask, it provides real-time solutions, detailed explanations, all through a user-friendly web interface.
Made for Nosu Hackathon. What a fun opportunity to practice my skillset.
Privately reach out if you would like to use this software.
In this image, the user is starting their question, receiving guidance from the technical recruiter.
Here, the user is complete the question and feedback is given. The user also compiles and the results of the test cases are compiled.
- AI Assistance: Offers real-time coding assistance tailored to LeetCode problems.
- Problem Explanations: Provides detailed walkthroughs and insights into coding challenges.
- Web-Based Interface: Easily accessible via any browser, no installation required.
Our primary goal for the hackathon is to deliver a functional prototype of CodeCompass with the following features:
- A Flask-powered backend that serves AI-driven coding solutions.
- Seamless real-time assistance for solving coding problems.
- AI-powered problem-solving and detailed explanations.
- A scalable architecture capable of supporting multiple users simultaneously.
As we continue to enhance CodeCompass, here are some planned improvements (by priority):
-
LeetCode API Integration:
- Automate fetching all LeetCode questions, including problem details, tags, and difficulty levels.
- Keep the question database up to date with the latest additions and updates from LeetCode.
- 50+ tests per application. Right now, one test case per.
-
User Progress Tracking:
- Implement user authentication and profiles.
- Track individual progress, including solved questions, success rates, and time spent on problems.
- Provide personalized recommendations based on user performance and history.
-
Leaderboard and Community Features:
- Add global and friend-specific leaderboards to foster healthy competition.
- Create a community forum for users to discuss solutions, share tips, and collaborate.
-
Performance Optimizations:
- Improve backend scalability to handle higher user loads seamlessly.
- Optimize response times for real-time AI assistance.
-
Mobile-Friendly Design:
- Develop a responsive interface to ensure smooth usability on both desktop and mobile devices.
-
Gamification:
- Introduce badges, achievements, and streaks to keep users motivated and engaged.
-
Clone the Repository:
git clone <repository_url> cd CodeCompass
-
Set Up a Virtual Environment:
python -m venv venv source venv/bin/activate # On Windows, use 'venv\Scripts\activate'
-
Install Dependencies:
pip install -r requirements.txt
-
Run the Application:
python code_editor_app/app.py
-
Access the Application: Open your browser and navigate to
http://127.0.0.1:5001.
These enhancements aim to make CodeCompass an indispensable tool for LeetCode enthusiasts, competitive programmers, and anyone looking to improve their problem-solving skills.
Note: This application is deployed on a free hosting platform, so it may take up to 60 seconds to load. Thank you for your patience! Also, please be mindful of how many tokens you use <3.

