Simplest (roughly): https://github.com/commitsto/commits.to/wiki#simple-beeminder-integration
2.3K
#!/usr/bin/env bash
BE='bundle exec' RU='rvm'
RVM_ENVIR=/etc/profile.d/rvm.sh
RUBY_VERS=cat .ruby-version
API="https://www.beeminder.com/api/v1" GOAL="simplest-commitsto" JSON="goals/$GOAL/datapoints.json" USER="${BEEMINDER_USERNAME}" TOKEN="auth_token=${BEE_AUTH_TOKEN}"
curl -s "$API/users/$USER/$JSON?$TOKEN" > "${GOAL}.json"
. $RVM_ENVIR $RU $RUBY_VERS $BE ruby ./cli sync
Content type
Image
Digest
sha256:1dd0e7bdd…
Size
186.3 MB
Last updated
over 3 years ago
docker pull kingdonb/simplest-commitbee:canary