JSPM

contrib-rocket

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q29618F
  • License MIT

🚀🌑 To the moon!

Package Exports

  • contrib-rocket

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (contrib-rocket) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

contrib-rocket header

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

tmux example screenshot

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