Synthex is your advanced AI coding assistant that transforms how developers understand, write, and learn code. Built with FastAPI and Streamlit, it leverages cutting-edge LLMs to provide:
- 📚 Smart Code Explanations - Detailed breakdowns with complexity analysis
- ⚡ Intelligent Code Generation - From natural language to optimized code
- 🎓 Interactive Learning - Personalized programming tutorials and challenges
- Line-by-line code analysis
- Time & space complexity insights
- Best practices recommendations
- Multi-language support
- Natural language to code conversion
- Optimization suggestions
- Template-based generation
- Context-aware completions
- Interactive tutorials
- Hands-on challenges
- Progress tracking
- Real-world examples
Python 3.9+
Git
Groq API key# Clone repository
git clone https://github.com/your-username/synthex.git
cd synthex
# Setup environment (Windows)
python -m venv venv
.\venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Configure environment
Add your GROQ_API_KEY to .env# Start backend
uvicorn main:app --reload --port 8000
# Start frontend (new terminal)
streamlit run app.pyAccess:
- Frontend: http://localhost:8501
- API Docs: http://localhost:8000/docs
- Response Time: < 500ms+
- Code Analysis Accuracy: 95%+
Planned enhancements for Synthex include:
- Multi-LLM Support: Integrate additional large language models (e.g., OpenAI GPT, Anthropic Claude) for fallback and response comparison.
- VS Code Extension: Develop a Visual Studio Code extension with features like inline ghost suggestions, contextual commands, and command palette integration for seamless in-editor AI assistance.
- Advanced/Nice-to-Have Features:
- Progress tracker for learning mode and topic completion
- Git diff explanation (explain code changes directly from version control)
- Integration with communication tools (Slack, Discord, Teams)
- Fork the repo
- Create your branch (
git checkout -b feature/amazing) - Commit changes (
git commit -m 'Add feature') - Push to branch (
git push origin feature/amazing) - Open a Pull Request
MIT License - feel free to use this project as you wish.