Proof of work
<ul>
<li><a href="https://github.com/commit-io/commit/commits/master" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Full list of commits
<li><a href="https://github.com/commit-io/commit/commit/f3ec0da9e6db70b30954ceced5c61442017c7d54" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Major commit
<li><a href="https://github.com/commit-io/commit/pull/1" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">PR - Adding license
<p dir="auto">GitHub account:<br />
<img src="https://images.hive.blog/768x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1513051216/c80cxpctiriit0tn1hik.png" alt="image.png" srcset="https://images.hive.blog/768x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1513051216/c80cxpctiriit0tn1hik.png 1x, https://images.hive.blog/1536x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1513051216/c80cxpctiriit0tn1hik.png 2x" />
<h1>Commit
<p dir="auto"><img src="https://images.hive.blog/768x0/https://avatars1.githubusercontent.com/oa/525402?v=4&u=52d35b790d6044e52ddb5d1acfaef7e52b0b5c8e&s=240" alt="logo" srcset="https://images.hive.blog/768x0/https://avatars1.githubusercontent.com/oa/525402?v=4&u=52d35b790d6044e52ddb5d1acfaef7e52b0b5c8e&s=240 1x, https://images.hive.blog/1536x0/https://avatars1.githubusercontent.com/oa/525402?v=4&u=52d35b790d6044e52ddb5d1acfaef7e52b0b5c8e&s=240 2x" />
<p dir="auto">Commit is a simple motivation game for developer teams using Github + Slack.
<h2>How it works
<ol>
<li>You sign up with your GitHub account and it'll ask for <code>repo permissions in order to read the repos and create hooks on them.
<li>You select in which repository you want the game.
<li>The app will create a webhook in the selected repo and it'll track every push there.
<li>You connect your Slack account.
<li>You select in which channel you want to receive the updates from the app.
<li>Now every push you make will be tracked by the app.
<li>Everyday at 6pm (GMT -3) the app will send the weekly leaderboard on Slack.
<p dir="auto"><img src="https://images.hive.blog/768x0/https://image.ibb.co/ni1wsF/commit_screen.png" srcset="https://images.hive.blog/768x0/https://image.ibb.co/ni1wsF/commit_screen.png 1x, https://images.hive.blog/1536x0/https://image.ibb.co/ni1wsF/commit_screen.png 2x" />
<h2>Motivation
<p dir="auto">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.
<p dir="auto">The idea is based on the premise that adding competiton to the work environment will lead to more productivity and fun.
<h2>How to use
<p dir="auto">Go to the <a href="https://wt-1d230a38e18ec582a3dce585ff81f44b-0.run.webtask.io/commit/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">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.
<p dir="auto"><span>If you want to test the leaderboard, after you complete the setup, do a push to the repo, access <a href="https://wt-1d230a38e18ec582a3dce585ff81f44b-0.run.webtask.io/daily" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://wt-1d230a38e18ec582a3dce585ff81f44b-0.run.webtask.io/daily and then check your Slack.
<h2>Tools
<p dir="auto">Commit is a "serverless" app built using <a href="https://webtask.io" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">webtask.io and <a href="https://auth0.com" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Auth0. The frontend uses <a href="https://material.angularjs.org" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Angular Material
<h2>Next steps
<ul>
<li>Test coverage
<li>Remove "callback hell" and implement async/await (need to figure out how to do this in Webtask)
<li>Organize frontend code, maybe in a separated CDN
<li>Better "token flow". Avoid passing the <code>access_token through query param and cache <code>github_token and <code>slack_token
<li>Better mongo schemas
<p dir="auto"><br /><hr /><em>Posted on <a href="https://utopian.io/utopian-io/@icaro/commit-compete-with-your-teammates" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Utopian.io - Rewarding Open Source Contributors<hr /><p>
Hey @icaro I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
Your contribution cannot be approved yet. Can you please include the latest commit in the post (You must provide the links to the branches/forks/gists/pull requests.)
See the Utopian Rules. Please edit your contribution to reapply for approval.
You may edit your post here, as shown below:
You can contact us on Discord.
[utopian-moderator]
Just updated! I provided the link to all the commits, a direct link to the main commit and another one for a pull request.
Thanks for the feedback.
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]