How codervipersan/taskflow works
TaskFlow is a self-balancing task manager: users track tasks whose scores rise with daily increments and fall on completion, aiming for a total at or below zero. The documented workflow is to manage tasks in the web interface, send requests to the Flask API, and persist task and activity data in SQLite. The sampled run.py also implements streaks, achievements, statistics, critical-task lookup, and data transfer. The README documents dashboard, analytics, help, and activity-log capabilities, but their detailed frontend implementation was not sampled; the repository also contains a simpler Vue prototype.
Main entry points: run.py Task records · index.html Web dashboard
Components 17
User interface
- Web dashboard
frontend/index.html - Vue prototype
frontend/src/App.vue
Task lifecycle
- Task API
run.py - Score and streak updates
run.py - Daily increments
run.py
Insights and data tools
- Activity log
run.py - Daily statistics
run.py - Achievements
run.py - Dashboard statistics
run.py - Achievement lookup
run.py - Completion history
run.py - Category lookup
run.py - Critical task lookup
run.py - Export and import
run.py
Persistence
- Task records
run.py
Other components
- TaskFlow user
- Browser
Connections 19
- TaskFlow user → Web dashboard: uses
README.md - Web dashboard → Task API: requests task API
README.md - Browser → Web dashboard: loads
- Task API → Task records: reads and writes
run.py - Score and streak updates → Task records: updates scores
run.py - Score and streak updates → Activity log: records completions
run.py - Score and streak updates → Daily statistics: updates completion stats
run.py - Score and streak updates → Achievements: checks streak achievements
run.py - Daily increments → Task records: increments scores
run.py - Daily increments → Activity log: records increment
run.py - Dashboard statistics → Task records: queries task totals
run.py - Achievement lookup → Achievements: reads achievements
run.py - Completion history → Daily statistics: reads daily counts
run.py - Completion history → Activity log: falls back to logs
run.py - Category lookup → Task records: reads categories
run.py - Critical task lookup → Task records: finds critical tasks
run.py - Export and import → Task records: exports and imports tasks
run.py - Export and import → Activity log: exports logs
run.py - Export and import → Achievements: exports achievements
run.py