Add habits and time tracking - habits.py: Daily habit tracking with streaks - track.py: Time tracking with projects - Updated ws CLI with new commands - Data stored in data/ directory
This commit is contained in:
24
data/habits.json
Normal file
24
data/habits.json
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"habits": {
|
||||
"exercise": {
|
||||
"description": "Daily workout",
|
||||
"created": "2026-01-30T23:26:33.660592",
|
||||
"active": true
|
||||
},
|
||||
"reading": {
|
||||
"description": "Read 30 min",
|
||||
"created": "2026-01-30T23:26:33.686635",
|
||||
"active": true
|
||||
},
|
||||
"journal": {
|
||||
"description": "Write daily notes",
|
||||
"created": "2026-01-30T23:26:33.714573",
|
||||
"active": true
|
||||
}
|
||||
},
|
||||
"log": {
|
||||
"2026-01-30": [
|
||||
"journal"
|
||||
]
|
||||
}
|
||||
}
|
||||
16
data/timetrack.json
Normal file
16
data/timetrack.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"current": {
|
||||
"task": "More building",
|
||||
"project": "sandbox",
|
||||
"start": "2026-01-30T23:27:15.604246"
|
||||
},
|
||||
"entries": [
|
||||
{
|
||||
"task": "Late night building",
|
||||
"project": "sandbox",
|
||||
"start": "2026-01-30T22:27:15.578348",
|
||||
"end": "2026-01-30T23:27:15.578348",
|
||||
"duration_min": 60
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user