Problem, Inspiration, & Solution
Procrastination and lack of motivation make everyday tasks hard to start and finish. TaskSprout solves this by turning productivity into a game — every task you complete helps grow a fruit-themed virtual pet from seed to ripe fruit. Skipping tasks causes the fruit's health to decline, encouraging consistency. AI-generated motivational messages make the experience feel fun and personalized.
Technical Aspects
Prototype built with: Python, Hugging Face API of Mistral model, Streamlit for an interactive and clean UI Mockup built with: HTML and CSS for UI, JavaScript to handle user action Gamification logic: Task completion earns users points that can be used to buy accessories which aid plant growth AI Integration: Hugging Face's Mistral model API (Mistral-7B-Instruct-v0.1) used to give users tips for completing tasks and boost productivity Session tracking: Uses st.session_state to manage plant progress and task flow Timer & points system: Countdown per task, rewards based on time invested, user can choose between Pomodoro technique, time blocking, or Kanaban board to manage time (not implemented in code)
Challenges we ran into
- Managing user interaction one task at a time in Streamlit’s re-run loop
- Handling Hugging Face API responses, cold starts, and prompt formatting
- Keeping everything simple but engaging, without overcomplicating the user experience
- Implementing complex UI designs into HTML+CSS mockup and making them work with JS logic
Learnings & Future
- Learned how to build interactive web apps and manage state
- Gained experience integrating AI APIs for real-time responses
- Understood how to improve user engagement through gamification
Built With
- css
- html
- huggingface
- javascript
- mistralapi
- python
- streamlit
Log in or sign up for Devpost to join the conversation.