Commit: compete with your teammates!
Proof of work
Commit is a simple motivation game for developer teams using Github + Slack.
How it works
- You sign up with your GitHub account and it'll ask for
repopermissions in order to read the repos and create hooks on them.
- You select in which repository you want the game.
- The app will create a webhook in the selected repo and it'll track every push there.
- You connect your Slack account.
- You select in which channel you want to receive the updates from the app.
- Now every push you make will be tracked by the app.
- Everyday at 6pm (GMT -3) the app will send the weekly leaderboard on Slack.
The idea came up during a very productive week of mine. The leader of my team started to count the commits of every one and I felt very motivated to push more and to divide my work into smaller and more organized commits to compete with my teammates.
The idea is based on the premise that adding competiton to the work environment will lead to more productivity and fun.
How to use
Go to the app page and follow the steps. Make sure you don't have any other hook activated in the repo that you select, because this may cause conflicts. Also, you need to be the owner or have admin permissions in this repo.
If you want to test the leaderboard, after you complete the setup, do a push to the repo, access https://wt-1d230a38e18ec582a3dce585ff81f44b-0.run.webtask.io/daily and then check your Slack.
- Test coverage
- Remove "callback hell" and implement async/await (need to figure out how to do this in Webtask)
- Organize frontend code, maybe in a separated CDN
- Better "token flow". Avoid passing the
access_tokenthrough query param and cache
- Better mongo schemas
Posted on Utopian.io - Rewarding Open Source Contributors