contrib-rocket
v1.0.0
Published
ππ To the moon!
Downloads
8
Maintainers
Readme
contrib-rocket is the awesome idea of combining GitHub Contributions, spark and a rocket emoji - it's like if your contributions were fueling the rocket, getting you one 'thrust' closer to the moon! π
Strictly speaking, contrib-rocket is a minimal shell script that glues gh-contribs and spark together. It basically saves you writing a few characters, but it makes it feel more exciting.
Install
Via npm
npm i -g contrib-rocket
Else
This one liner should place contrib-rocket in your $PATH:
sudo sh -c "curl https://raw.githubusercontent.com/dasilvacontin/contrib-rocket/master/contrib-rocket.sh -o /usr/local/bin/contrib-rocket && chmod +x /usr/local/bin/contrib-rocket"
Dependencies
You'll need gh-contribs and spark in your $PATH. However, they will be installed for you the first time you execute or source contrib-rocket β nice!
Usage
contrib-rocket forwards its arguments to gh-contribs, so you should check the latter's README.
$ contrib-rocket -d 7
β
ββββββπ
$ contrib-rocket -d 14
ββββββββ
ββββββπ
Usage example in tmux status bar
In your .tmux.conf
:
set -g status-right-length 60
set -g status-right "#(contrib-rocket -d 14) :: #(battery -t) #[fg=blue]:: %d %b %Y #[fg=cyan]::%l:%M %p "
set -g status-interval 30
License
MIT Β© David da Silva