chrismdp / sing_pomodoro

Pomodoro tracking app

This URL has Read+Write access

name age message
file README Tue Oct 13 03:27:52 -0700 2009 Styling changes, github ribbon [Chris Parsons]
file TODO Tue Oct 06 16:11:58 -0700 2009 more display tweakage + added TODO [Chris Parsons]
directory bin/ Tue Oct 06 16:18:24 -0700 2009 fixed host on bin file [Chris Parsons]
file config.ru Wed Sep 30 09:19:36 -0700 2009 Heroku deployment tweaks [Chris Parsons]
directory config/ Thu Oct 01 11:00:29 -0700 2009 refactor to stop using test db [Chris Parsons]
directory db/ Tue Oct 06 00:49:25 -0700 2009 Attempt to sort out heroku datetime problem [Chris Parsons]
directory lib/ Tue Oct 06 16:11:58 -0700 2009 more display tweakage + added TODO [Chris Parsons]
directory public/ Tue Oct 06 15:51:54 -0700 2009 tidied up style, added ux + behaviour [Chris Parsons]
file rakefile.rb Thu Oct 01 11:00:29 -0700 2009 refactor to stop using test db [Chris Parsons]
directory spec/ Wed Oct 07 01:08:57 -0700 2009 Improved spec granularity Signed-off-by: Chris... [Enrique Comba Riepenhausen]
directory views/ Tue Oct 13 03:27:52 -0700 2009 Styling changes, github ribbon [Chris Parsons]
README
Sing Pomodoro - Pomodoro tracking, statistics and accountability

To use:

1. bin/pomodoro [action] [people]
OR: 
POST to http://sing-pomodoro.heroku.com/<action>/<urlencode(people)>

People is formatted as follows:

"My Name <my@email.address>"

You can pass multiple people by seperating them with commas. Note that we don't show email addresses on the website, 
just the name you supply.

Action can be:

start - Start a pomodoro
finish - Finish a pomodoro. If a pomodoro is finished less than 25 minutes then it counts as failed.
interrupt - Register an interrupt. Currently this just increments a counter.

For example:

bin/pomodoro start "My Name <my@email.address>"
bin/pomodoro finish "My Name <my@email.address>"

2. View the result at http://sing-pomodoro.heroku.com

The output is pretty basic so far: ideas for stats welcome!

To use the pomodoro timer app for OSX:

1. Open preferences
2. Click script
3. Check the box next to the following events and put in the following:

start:
do shell script "~/path/to/bin/pomodoro start \"$pomodoroName\""

interrupt:
do shell script "~/path/to/bin/pomodoro interrupt \"$pomodoroName\""

reset:
do shell script "~/path/to/bin/pomodoro finish \"$pomodoroName\""

end:
do shell script "~/path/to/bin/pomodoro finish \"$pomodoroName\""

You'll need to type in your "Name <email>,Name <email" as the pomodoro name when you start.