How miftahr149/habit-tracker works
Habit Tracker is a Tkinter application for tracking habits. Its visible product areas cover browsing habits, creating habits with properties, and viewing or editing daily habits. The documented launch path is main.py, which instantiates the application exported by build. Storage utilities provide JSON persistence and in-memory image, variable, and function storage. The README is brief and most UI source was not sampled, so relationships among those UI areas and their use of storage are not asserted.
Main entry points: main.py Program entry · json_storage.py JSON file access · __init__.py Tkinter app
Components 16
Application launch
- Program entry
main.py - Tkinter app
build/__init__.py
Habit workflows
- Habit list
build/main_menu/habit_list.py - Menu options
build/main_menu/option.py - Create habit
build/create_habit - Habit properties
build/create_habit/body - Habit page
build/habit_page - Daily habit
build/habit_page/body/daily_habit.py - Edit daily habit
build/habit_page/body/edit_daily_habit.py
Storage utilities
- JSON storage
utility/json_storage.py - JSON file access
utility/json_storage.py - Image cache
utility/image_storage.py - Variable storage
utility/variable_storage.py - Function storage
utility/stack.py
Other components
- User
- Local JSON files
Connections 4
- User → Program entry: launches
- Program entry → Tkinter app: instantiates
- JSON storage → JSON file access: creates or loads
- JSON file access → Local JSON files: reads and writes