• Stars
    star
    102
  • Rank 335,584 (Top 7 %)
  • Language
    Ruby
  • License
    MIT License
  • Created over 11 years ago
  • Updated almost 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.

More Repositories

1

til

πŸ“ Today I Learned
Vim Script
11,367
star
2

awesome-react-design-systems

A collection of awesome React-based design systems
792
star
3

splitting-atoms

😡 a community-built, community-driven guide to hacking on the Atom editor
CSS
356
star
4

captionss

Sensible CSS Image Captions
CSS
66
star
5

resources

a collection of free, online resources for various technologies, languages, and tools
52
star
6

mybin

a collection of random scripts that I have written and put on my path to save time or do cool stuff.
Python
25
star
7

dotfiles

My configuration files
Vim Script
16
star
8

gatsby-programmatic-pages

A companion repo to the Gatsby guide on programmatically creating pages from data
CSS
12
star
9

blog

my personal blog
HTML
11
star
10

reason-helpers

A collection of helper functions that have proved useful as I've explored ReasonML
OCaml
11
star
11

atom-search

Open searches for various sites in your default browser from Atom.
CoffeeScript
8
star
12

vim-bdubs

quickly delete and wipeout buffers
Vim Script
7
star
13

reading

Using GitHub's issue tracker as a reading list manager
6
star
14

hn-cli

a command-line interface for accessing HackerNews items
Python
5
star
15

tree-reason-native

List the tree structure of the current directory
OCaml
5
star
16

reason-of-life

Game of Life implemented in ReasonML
OCaml
5
star
17

js-play

Stuff written in JavaScript
JavaScript
4
star
18

ocelot

Because you're awesome!
4
star
19

snake_case

4
star
20

postgresing

PostgreSQL Scratch Pad
PLpgSQL
4
star
21

react-logical

A collection of components for reducing inline logic in your React apps
JavaScript
4
star
22

man-git

a collection of git tips, tricks, and resources
3
star
23

pg_faker

fake data for postgres databases
PLpgSQL
3
star
24

ts-react-game-of-life

Building Game of Life with TypeScript and React
TypeScript
3
star
25

esy-reasonml-lwt-example

Example of using esy and dune to build a ReasonML project using lwt
OCaml
3
star
26

vim-rails-sql-migrations

rails.vim helper for generating SQL migrations for Rails projects
Vim Script
3
star
27

vim-fourohfour

πŸ†— Lookup HTTP status codes without leaving Vim
Vim Script
2
star
28

hello-world-reason-native

Say Hello to the World with ReasonML compiled natively
C++
2
star
29

next-personal-site

JavaScript
2
star
30

ruby-projects

Karan's Projects implemented in Ruby
Ruby
2
star
31

rust-must-read

a collection of must-reads on the Rust programming language
2
star
32

gatsby-v2-reason-example

Example repo for using ReasonML in a Gatsby v2 project
CSS
2
star
33

jager

a class project for CSE990 that does specification-based program repair using symbolic execution
Python
2
star
34

rails-ajax-forms

adding `remote: true` to Rails forms with wild abandon
Ruby
2
star
35

ROSLaunchParser

A python script for parsing out parameter and node information from ROS launch files
Python
2
star
36

just-dotfiles

lots of stuff about dotfiles
2
star
37

minutesmaker

A script for generating LaTeX files and subsequently PDF documents for meeting minutes.
Shell
2
star
38

jekyll-boilerplate

taking care of all the boilerplate involved in setting up a new Jekyll blog
2
star
39

advent-of-code-2020

Solutions to Advent of Code 2020 problems
Ruby
2
star
40

profilex

Implementing user registration and authentication with Phoenix 1.3
Elixir
2
star
41

2016

2016
2
star
42

PuzHub

Solutions to a bunch of programming puzzles in a bunch of languages!
Python
2
star
43

now-do-this-react

Now Do This written with React.js
JavaScript
2
star
44

talks

notes, slides, resources from talks I've given
2
star
45

gistory

a series of scripts and utilities for exploring and learning about the history of git repositories
Ruby
2
star
46

react-firebase-auth-example

Firebase authentication in a SPA-style React app
JavaScript
1
star
47

flashcartas

a simple flashcard web app
JavaScript
1
star
48

gatsby-cypress-example

Example of testing Gatsby with Cypress
CSS
1
star
49

linked-list-reason-native

Implementation of a linked list data structure
OCaml
1
star
50

ecto_by_example

Examples of using Ecto
1
star
51

fizzbuzz-reason-native

The classic fizzbuzz challenge implemented in ReasonML
OCaml
1
star
52

sortr

Sorting Algorithms as a Gem
Ruby
1
star
53

read-file-reason-native

Read a file using `Unix.read`
OCaml
1
star
54

simple-sudoku-check

An inexpensive, preliminary validity check of a Sudoku solution.
JavaScript
1
star
55

hello-world

Elixir
1
star
56

postgres-performance-fkey-indexes

SQL snippets to accompany a blog post on foreign key indexes
1
star
57

sorting-reason-native

Implementations of some sorting algorithms in ReasonML
OCaml
1
star
58

scrape-rick-and-morty

A simple ReasonML native utility for scraping titles from Rick and Morty's wikipedia page
OCaml
1
star
59

test-pr-templates

A repo to test out the PR templates feature
1
star
60

git-playground

a repo for testing out all things Git
1
star
61

blog.joshbranchaud.com

Learning in public, writing it down
JavaScript
1
star
62

ios-projects-solutions

iOS solutions to many of @Karan's Projects plus many other projects and problems.
Objective-C
1
star
63

hn-sync

Using Elixir to sync data from HN to Postgres
Elixir
1
star
64

vercel-next-routing

Routes, Rewrites, and Redirects powered by Vercel
JavaScript
1
star
65

gatsby-joshbranchaud.com

My personal site served up by Gatsby
CSS
1
star
66

sidecar

Ruby
1
star
67

react-xstate-7-guis

Building the 7 GUIs Tasks with React.js and XState
JavaScript
1
star
68

advent-spiral

JavaScript
1
star
69

RPTR-paper2012

Final paper for RPTR project in CSE990-ProgramAnalysis
1
star
70

babou

a cross-platform GUI application for creating commits with ocelot annotations
Java
1
star
71

2019-bookshelf

A virtual bookshelf for the books I read in 2019
JavaScript
1
star
72

exercism-elixir

Solutions to the Exercism.io Elixir problems
Elixir
1
star
73

left-pad-reason-native

Left pad the given argument with some characters
OCaml
1
star
74

rails-bookshelf-example

A basic Rails app that demonstrates schema caching issues
Ruby
1
star
75

stream-args-reason-native

Consume the arguments given to the command with a stream
OCaml
1
star