🚀 Learn to code, don't just copy-paste! Antivibe.ai helps you understand programming concepts instead of relying on AI to write code for you.
- 🎯 Smart Hints: Get guided hints instead of complete solutions
- 💡 Progressive Assistance: Choose hint levels from conceptual nudges to implementation guidance
- 🤔 Thought-Provoking Questions: Learn to think like a programmer
- 📚 Relevant Resources: Get pointed to learning materials
- 🔍 Problem Detection: Automatically recognizes problem types (Two Sum, Binary Search, String Reversal, etc.)
- Node.js (for VS Code extension)
- Python 3.8+ (for backend server)
- Clone the repository
git clone <your-repo-url>
cd AntiVibe- Setup Backend Server
cd antivibe-backend
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt- Setup VS Code Extension
cd antivibe-ai
npm install- Start the Backend Server (Terminal 1):
cd antivibe-backend
source venv/bin/activate
uvicorn main:app --reload --host 0.0.0.0 --port 8000- Run the VS Code Extension (Terminal 2):
cd antivibe-ai
npm run compile
Press F5 to launch extension development window- Select code in your editor
- Right-click and choose "Antivibe: Get Hint" or use
Ctrl+Shift+H - Choose hint level:
- 🚀 Level 1: Conceptual nudge
- 💡 Level 2: Algorithm suggestion
- 🔧 Level 3: Implementation hint
- 🎯 Level 4: Code structure
- Describe your problem when prompted
- Get guided hints that help you learn!
- Two Sum: Find pairs that add to target
- Binary Search: Search in sorted arrays
- String Reversal: Reverse strings efficiently
- General: Fallback for other problems
POST /api/hint- Get hints for your codeGET /api/health- Check server statusGET /api/problem-types- List supported problems
AntiVibe/
├── antivibe-backend/ # FastAPI server
│ ├── main.py # Server code
│ └── requirements.txt # Python dependencies
└── antivibe-ai/ # VS Code extension
├── src/ # TypeScript source
└── package.json # Extension config
Backend Development:
cd antivibe-backend
uvicorn main:app --reload --host 0.0.0.0 --port 8000Extension Development:
cd antivibe-ai
npm run watch # Auto-compile on changes
Press F5 to debugServer not connecting?
- Check if backend is running on port 8000
- Verify
curl http://localhost:8000/api/healthworks - Ensure no firewall blocking the connection
Extension not working?
- Check Developer Tools (Help → Toggle Developer Tools)
- Verify
npm run compilesucceeds - Check backend server is running
- More problem types and algorithms
- Code analysis for better hints
- Learning progress tracking
- Multiple programming languages
This is an early prototype! Feel free to suggest features or report issues.
Remember: The goal is understanding, not just solving! 🧠
Backend server must be running for hints to work!