-
Notifications
You must be signed in to change notification settings - Fork 1
chrismdp/sing_pomodoro
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Sing Pomodoro - Pomodoro tracking, statistics and accountability To use: 1. bin/pomodoro [action] [people] OR: POST to http:https://sing-pomodoro.heroku.com/<action>/<urlencode(people)> People is formatted as follows: "My Name <[email protected]>" 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 <[email protected]>" bin/pomodoro finish "My Name <[email protected]>" 2. View the result at http:https://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.