This is a beginner-friendly Flask web application that mimics Duolingo's streak-tracking features, allowing users to:
- Create and track multiple habits
- Maintain daily streaks for each habit
- Earn points and streak freezes
- Visualize progress
- Python 3.6 or higher
- pip (Python package installer)
-
Clone or download this repository
-
Create a virtual environment (optional but recommended)
python -m venv venv -
Activate the virtual environment
- On Windows:
venv\Scripts\activate - On macOS/Linux:
source venv/bin/activate
- On Windows:
-
Install dependencies
pip install -r requirements.txt -
Run the application
python app.py -
Access the application Open your web browser and navigate to
http://127.0.0.1:5000
- Habit Creation & Tracking: Create multiple habits and track them daily
- Streak System: Maintain a streak by completing habits daily
- Completion Levels: Mark daily completion as Low (10pts), Medium (20pts), or High (30pts)
- Points & Freezes: Every 200 points earns a streak freeze
- Automatic Freeze Usage: System automatically applies streak freezes if available
- Visual Progress: Calendar view showing completion history
- Motivational Elements: Encouraging messages and badges
- Progress Visualization: Simple chart showing streak progress
app.py: Main Flask applicationrequirements.txt: Python dependenciestemplates/: HTML templatesstatic/: CSS and JavaScript files