A Friendly AI Assistant for Developers
π IIMS VIBEATHON 2026 WINNER π
DevBuddy is a friendly AI assistant platform that helps developers when they are tired or stuck with code. It focuses on your well-being and productivity by combining task management, coding challenges, AI chat support, and health reminders.
- β Task Manager with Timer - Focus on one task at a time with built-in Pomodoro timer
- π§ AI Chatbot - Chat with Buddy AI for coding help and support (powered by Groq)
- πͺ Code Challenges - Generate beginner-friendly Python coding challenges
- π Meme Generator - Take a break with random memes
- π§ Health Reminders - Hydration, posture, and eye care reminders
- πΎ Local Storage - All tasks and chat history persist in your browser
- Frontend: HTML, CSS (TailwindCSS), Vanilla JavaScript
- Backend: Python Flask
- AI: Groq API (llama-3.3-70b-versatile)
- Storage: Browser LocalStorage
- Python 3.8 or higher
- pip (Python package installer)
- A Groq API key (Get one here)
cd /path/to/DevBuddyOn Linux/macOS:
python3 -m venv venv
source venv/bin/activateOn Windows:
python -m venv venv
venv\Scripts\activateYou should see (venv) in your terminal prompt when the virtual environment is activated.
pip install -r requirements.txtThis will install:
- Flask 3.0.0
- groq 0.15.0
- python-dotenv 1.0.0
- flask-cors 4.0.0
Create a .env file in the project root:
touch .envAdd your Groq API key to the .env file:
GROQ_API_KEY=your_groq_api_key_here
To get a Groq API key:
- Visit https://console.groq.com
- Sign up or log in
- Navigate to API Keys
- Create a new API key
- Copy and paste it into your
.envfile
python app.pyThe application will start on http://localhost:5000
Open your browser and navigate to:
http://localhost:5000
- Enter a task in the "New Task" input
- Optionally set a timer duration (default: 25 minutes)
- Click the + button to add the task
- Use the timer controls to pause or complete tasks
- Type your coding question or message in the chat input
- Click send or press Enter
- Buddy AI will respond with helpful advice
- Use quick action buttons for mood check
- Click "Generate New Challenge" to get a Python coding challenge
- Read the challenge description
- Solve it in your preferred code editor
- Click the "Get" button in the meme section
- Enjoy a random meme (SFW only)
- Click again for the next meme from the queue
DevBuddy/
βββ app.py # Flask backend
βββ requirements.txt # Python dependencies
βββ .env # Environment variables (create this)
βββ .gitignore # Git ignore file
βββ templates/
β βββ dashboard.html # Main dashboard UI
β βββ reminder_modal.html # Health reminder modal
βββ static/
βββ css/ # Stylesheets (if any)
βββ js/
β βββ chatbot.js # AI chat functionality
β βββ challenges.js # Challenge generator
β βββ meme.js # Meme fetching logic
β βββ modal.js # Modal management
β βββ storage.js # LocalStorage utilities
β βββ timer.js # Timer functionality
β βββ todo.js # Task management
βββ image/ # Logo and images
βββ sounds/ # Notification sounds
When you're done working on the project:
deactivate- Make sure you're in the project directory
- On Windows, you may need to run:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
- Verify your
.envfile exists and containsGROQ_API_KEY=your_key - Check that your Groq API key is valid
- Ensure
python-dotenvis installed
If port 5000 is already in use, modify app.py:
app.run(debug=True, port=5001) # Change to any available port- Ensure pip is up to date:
pip install --upgrade pip - Try installing packages individually if batch install fails
- Vision KC - Designer, Frontend Developer
- Pranish Khanal - Backend Developer
- π§ info.devbuddy@gmail.com
- π Kathmandu, Nepal
Β© 2026 DevBuddy. All rights reserved.See the LICENSE file for detail.