https://github.com/ferperales/pmdr
pomo + rescuetime + ifttt = #SoMuchWin
https://github.com/ferperales/pmdr
Last synced: 3 months ago
JSON representation
pomo + rescuetime + ifttt = #SoMuchWin
- Host: GitHub
- URL: https://github.com/ferperales/pmdr
- Owner: FerPerales
- License: gpl-3.0
- Created: 2015-12-31T20:36:04.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-31T20:59:52.000Z (over 9 years ago)
- Last Synced: 2025-01-14T03:41:31.450Z (5 months ago)
- Language: Shell
- Homepage: http://ferperales.github.io/pmdr
- Size: 42 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pmdr
pmdr is an small wrapper for the awesome [pomo](https://github.com/tj/pomo) command-line interface to use pomodoro
and make it work together with [rescue time](http://rescuetime.com) and their cool feature called FocusTime.This script uses [IFTTT](http://ifttt.com) to trigger a custom action via [maker channel](https://ifttt.com/maker) which will be listening to two actions: `pomodoro_start` and `pomodoro_end`
## Pomo setup
Pomo is a Ruby gem so make sure you have `Ruby` installed.
Install pomo:
`gem install pomo`
This should be pretty straightforward but, in case you run into any issue, please refer to [pomo repo](https://github.com/tj/pomo) to look for help.
## IFTTT Setup
* Get an [IFTTT account](https://ifttt.com/join) if you don't have one yet
* Activate the [maker channel](https://ifttt.com/maker)
* You will get a token. Take note and replace the `$IFTTT_KEY` in the `pmdr` file
* Add these two recipes to your IFTTT account:
* [Start a FocusTime session]( https://ifttt.com/recipes/364500-start-a-15-minute-focustime-session). By default, a 15-minute session will be created, but can be customized.
* [End current FocusTime session](https://ifttt.com/recipes/364499-end-current-focustime-session). Ends your current FocusTime session## Script setup
* To make the script global, do the following:
```
chmod +x pmdr
sudo cp pmdr /usr/local/bin/pmdr
```## Use
`pmdr start`
Starts a new 25-minute session in pomo and activate a 15-minute FocusTime session in RescueTime
`pmdr end`
Ends your current session in pomo and stops the current FocusTime session