Commit-a-day

A simple tool to give you hints about what you could commit today, as your commit-a-day commit. But enough talk. Demo?

Or you could install it as a command line tool:

          [sudo] npm install -g commit-a-day
        

...and then whenever you feel like it:

          commit-a-day [username]
        

Of course, you can also use it in your own node.js or browserify project by requiring it as a module.

How does it work?

It works by using the github API to scan the public repos of the user in question, and it analyzes it from different perspectives (currently number of issues and dependencies in package.json) to suggest some low hanging fruit to get your commit of the day. The very same codebase is used to provide both the above searchbox and the command line tool. Because JavaScript.

Why have you made this?

Well, to be perfectly honest, I made this so I could have some way to easily identify some things I could commit on the days I had less time than others, to keep my resolution of commiting to github every day.

All this stuff looks ugly and/or is really buggy. What is the best way to ventilate the rage I am feeling right now?

Thankfully, the complete source is available on github. Open issues, create pull requests. Go nuts!

Credits

This page is made possible by the awesome projects browserify and Mithril. Of course there are alot of other dependencies and they are coincidentally all awesome too. Also, I would like to note that the site First Pull Request is the inspiration for making it work in the browser as well. And of course, if you still haven't read the code every day article by John Resig, why not do it now?

Who is this person who have made this?

I am Eirik and you can find me on twitter or github if you want to say hi.