Snippy is a full-stack application that generates code snippets using AI. It combines a Python/Flask backend with a React frontend to provide an intuitive interface for developers to get instant code solutions.
- AI-Powered Code Generation using Groq's API
- Multi-Language Support (Python, JavaScript, Java, etc.)
- Copy-Paste Ready output with syntax highlighting
- Dark/Light Mode toggle
- Responsive Design works on all devices
- Example Prompts for quick testing
- React (Vite)
- TypeScript
- Tailwind CSS
- ShadCN UI Components
- Lucide Icons
- Python
- Flask
- Flask-CORS
- Groq API
- Vercel (Frontend + Serverless Functions)
- Docker (Local/Production)
- Render.com (Alternative)
- Node.js (v18+)
- Python (3.9+)
- Groq API Key (free tier available)
- Clone the repository
git clone https://github.com/yourusername/Snippy.git cd Snippy) - Set up backend
cd api python -m venv venv source venv/bin/activate # Linux/Mac # venv\Scripts\activate # Windows pip install -r requirements.txt python app.py
- Set up frontend
cd ../frontend npm i npm run dev - Environment Variables
echo "GROQ_API_KEY=your_actual_key_here" > api/.env
Let's connect and collaborate! Feel free to reach out for:
- Project collaborations
- Job opportunities
- Technical discussions
- Feedback about this project
