https://github.com/krishkumar/git-blink
git-blink is a simple shell script that will blink your blink(1) LED lights if your git repo has uncommitted changes
https://github.com/krishkumar/git-blink
Last synced: about 19 hours ago
JSON representation
git-blink is a simple shell script that will blink your blink(1) LED lights if your git repo has uncommitted changes
- Host: GitHub
- URL: https://github.com/krishkumar/git-blink
- Owner: krishkumar
- Created: 2014-06-18T15:50:50.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2019-09-13T19:38:00.000Z (over 6 years ago)
- Last Synced: 2025-02-24T22:51:19.493Z (over 1 year ago)
- Language: Shell
- Size: 145 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# git-blink
git-blink is a simple shell script that will blink your blink(1) LED lights if your git repo has uncommitted changes.
## blink(1)
"blink(1) is a super status light: it packs three dimensions of information (color, brightness and pattern) into a single tiny package that fits into any USB port on nearly every device. It makes it incredibly easy to connect any data source in the cloud or on your computer to a full-color RGB LED so you can know what's happening without checking any windows, going to any websites or typing any commands." Learn more about it at [ThingM](http://thingm.com).
## Usage
Provide the path to your repos in $GIT_REPO_PATH. That's it.
You can download the blink1-tool binary available [here](https://github.com/todbot/blink1/releases)
For best results, call this script from cron every 5 minutes.
```
*/5 * * * * * $HOME/.git/scripts/git-blink.sh
```
Many other git operations can be wired to the blink(1) lights. This is a good starting point, that's all.
For other fun things to do with blink(1), check out [blink(1) on github](https://github.com/todbot/blink1)
Tested on OS X 10.9.
## License
This code is distributed under the terms and conditions of the [MIT license](LICENSE).