Pomodoro in Ruby - CLI version
A simple pomodoro developed using ruby.
-
Run $
bundle install -
Add the
.wavfile you would like to use as notification sound inside the foldermedia.- In case you want only one notification sound:
- Add a file named
notification.wav
- Add a file named
- In case you want a different notification sound for focus and rest.
- Add a file named
focus_notification.wav - Add a file named
rest_notification.wav
- Add a file named
- In case you want only one notification sound:
NOTE: If you prefer to not have any sound played when the timer is over you can leave the media folder empty. The pomodoro will work normally.
If you're using Ubuntu based distro you'll need to install libgtk2.0-dev in order to run the project
Due the usage of the gem FFI you'll probably have a problem this missing files libgobject-2.0.so, so you'll need to
install the respective library that will provide it. Probably installing a gtk lib should be enough to run the project
NOTE: Windows OS is not supported.
-
Starting the Pomodoro:
bin/pomodoroorruby bin/pomodoro
-
To cancel/quit the pomodoro in the middle:
CTRL + C
After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can
also run bin/console for an interactive prompt that will allow you to experiment.
Bug reports and pull requests are welcome on GitHub at https://github.com/lucasmenezesds/pomodoro-in-ruby-cli. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the PiRb-CLI project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.