Viewing statistics
Display your productivity statistics:- Duration ratio (work vs break time)
- Current and best streaks
- Weekly bar chart (last 7 days)
- 4-month activity heatmap
Press
q or Ctrl+C to exit the statistics view.Duration ratio
The duration ratio shows your total work time versus break time as a visual bar:- Left side: Total work duration and percentage
- Right side: Total break duration and percentage
- Colored bar: Visual representation of the ratio
Streak tracking
Pomo tracks your daily work streaks:- Current streak: Consecutive days with at least one work session
- Best streak: Your longest streak ever recorded
Weekly bar chart
The bar chart displays your work hours for the last 7 days:Chart features
- Y-axis: Work duration with dynamic scaling
- X-axis: Days of the week (3-letter abbreviations)
- Bars: Height represents total work time for each day
- Auto-scaling: Y-axis adjusts based on your maximum daily work time
4-month heatmap
A GitHub-style activity heatmap shows your work distribution over the last 4 months:Heatmap color intensity
The heatmap uses 5 color levels to represent daily work duration:| Color | Work Duration |
|---|---|
| Level 0 | No work (< 1 second) |
| Level 1 | Light work (1s - 30m) |
| Level 2 | Moderate work (30m - 1h) |
| Level 3 | Good work (1h - 2h) |
| Level 4 | Intense work (> 2h) |
Heatmap layout
- Columns: Each column represents one week
- Rows: Each row represents a day of the week (Sunday through Saturday)
- Months: The last 4 months are displayed, labeled at the top
- Current date: The heatmap stops at today (future dates are blank)
Data storage
Pomo stores session data in a SQLite database:Database schema
Session types
work: Work sessions started withpomoorpomo [duration]break: Break sessions started withpomo breakor automatically after work
Database location
The database is stored in your system’s data directory:- Linux/macOS:
~/.local/share/pomo/pomo.db - Windows:
%LOCALAPPDATA%\pomo\pomo.db
Statistics models
Pomo calculates several types of statistics from your session data:All-time stats
db/models.go
Daily stats
db/models.go
Streak stats
db/models.go
Understanding your metrics
Duration ratio insights
- Ideal ratio: Aim for 80-85% work, 15-20% breaks
- Too high work %: You might be skipping breaks and risking burnout
- Too high break %: Consider longer focused work sessions
Weekly bar chart patterns
- Consistent bars: Good daily work habit
- Gaps: Days without work sessions (identify blockers)
- Spikes: Very productive days (what made them different?)
Heatmap insights
- Dark squares: Consistently productive days
- Light squares: Light work days (meetings, planning, etc.)
- Blank squares: Days off or no tracked work
- Patterns: Identify weekly rhythms and seasonal trends
Privacy
All statistics are stored locally on your machine:- No data is sent to external servers
- No analytics or tracking
- Full control over your productivity data
You can delete the database file at any time to reset your statistics. Pomo will create a new database on the next session.
Examples
Quick stats check
After a productive week
Runpomo stats to see:
- Your weekly bar chart showing consistent daily work
- Updated streak if you’ve worked every day
- Updated heatmap with darker squares for recent days
Related
Work sessions
Start work sessions to build your stats
Break sessions
Manage breaks and maintain balance