kyleconroy / timesuck

Privately track your computer usage
MIT License
17 stars 7 forks source link

Implement graphing #2

Open kyleconroy opened 12 years ago

kyleconroy commented 12 years ago

Just use flask + Rickshaw

kyleconroy commented 12 years ago

The command line tool should work like this.

To graph

timesuck serve --port 5000

To export data

timesuck export --format csv|json
kyleconroy commented 12 years ago

This query is how the graphing can be built

select date(start, "unixepoch", "localtime"), sum(duration) from logs group by date(start, "unixepoch", "localtime");