Inspiration

We were motivated to pursue this project by picturing a TV in a workplace streaming all edits of the codebase.

What it does

Replays commits live as they are pushed to the git repositories, and allows you to replay the entirety of a repository's history. It also features statistics of the repositories and includes a leaderboard of contributors as the modifications are made.

How we built it

Backend queries the git repositories and maintains local copies, condensing all the information into a rethinkDB database.

Socket I/O server subscribes to all changes to the repositories, replaying them for clients watching that repository.

Challenges we ran into

Node.js bindings for libgit2 are very poorly documented. Creating an algorithm for emulating human-like edits to the code.

Accomplishments that we're proud of

Picks up new commits within a second of them being pushed to the repository. Creating a satisfying and hypnotising live code viewer.

What we learned

Gained familiarity with javascript and the surrounding ecosystem. Learned about the pub-sub pattern and specifically how to use it with rethinkDB.

What's next for gitstat

We will modify the site to make it appropriate for 24/7 streaming of a codebase with a TV. Integrate our already existing algorithm for human-like modifications to code.

Built With

Share this project:

Updates