Make long running tasks more fun (mac only).
Have you ever kicked off a long running task and wanted to work on something else or play ping pong until it finished? If so then woof is for you.
Woof is a collection of command line tools to send yourself notifications
when long running tasks complete. If you plan to stay close by,
music <long running task>
will play the Jeapordy theme song (provided
separately) until that comand finishes. If you plan to venture further
away, <long running task> && text success || text failure
will send
you a text message when that task completes.
- Install terminal-notifier.
- Install and configure twurl.
- Download background music to
~/waiting.mp3
. - Add configuration parameters to the top of
woof.bash
and addsource path/to/woof.bash
to your bash profile.
Play music from ~/waiting.mp3
in the background:
music git status
Pop up a growl notification:
notify Your job just finished.
Send yourself a text message:
text Your job just finished.
Tweet
tweet My job just finished.
Send yourself a direct message on Twitter:
dm_me Your job just finished.
Send yourself an email:
email Your job just finished.
Text-to-speech (this is actually built-in for macs, but worth noting anyway):
say Your job just finished.
Send yourself an email, direct message, tweet, text, growl notification, and speak:
woof Your job just finished.
!!!
Mike Barry
Special thanks to @mediocrity for help
getting the music
command working.
Feel free to fork the repo and open a pull request. Some suggestions:
- Brew formula
- More notification methods
- Testimonials for the readme
- Benchmarking results
- Unit tests
MIT