Giter Site home page Giter Site logo

luispagarcia / commitart Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jbranchaud/commitart

0.0 1.0 0.0 12 KB

Modifying the commit history of git repositories in order to write messages in GitHub's contribution graph.

License: MIT License

Ruby 100.00%

commitart's Introduction

CommitArt

Modifying the commit history of git repositories in order to write messages in GitHub's contribution graph.

I did this project as a way of learning how to use the Rugged library which is a ruby binding to libgit2.

Check out the picture below or see it live (note: more than a year has passed since I created this, so the contribution graph for this account now looks empty).

GITHUB CommitArt

Using the letters from the alphabet.yml file, I was able to write GITHUB in the contribution history.

How to run it

First, set environment variable for the script to use. Both the email and the user need to be configured for the script to run. The environment variables for the email and username are COMMIT_ART_EMAIL and COMMIT_ART_USERNAME, respectively.

Then, run

$ ruby commitart.rb /absolute/path/to/existing/repo GITHUB

Assumption: the repository you are targeting already exists.

Related

  • gitfiti - uses python to make raw git calls and allows you to draw pictures such as the '1up' mushroom from Mario.
  • github-contributions - uses JavaScript and provides a GUI for designing the look of the contribution calendar to be generated.
  • git-draw - interactive chrome plugin that allows you to draw directly on the heat map and then export the script.

License

Copyright © 2013-2016 Josh Branchaud

Licensed under the MIT License. See LICENSE for details.

commitart's People

Contributors

jbranchaud avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.