Git Product home page Git Product logo

zzzzzzz's Introduction

awesome-contributions

Make your GitHub's contributions viewer awesome!

With this simple python script you can make your contributions viewer look however you want:

screenshot from 2016-05-17 14 17 44

You can use any image, it will be grayscaled and converted to commits for you:

screenshot from 2016-05-17 12 40 33

Requirements

If you don't have pip, apt-get install python-pip

The script uses the Python Image Library (PIL)

pip install pillow

Usage (Image)

git clone https://github.com/twinone/awesome-contributions
cd awesome-contributions
  • Create a new empty github repository yourself on github, called awesome-contributions
  • Add your repository as a remote:
git remote add github https://github.com/[YourUser]/awesome-contributions
  • Replace the test.png image by the 52x7 image you want as background (can be other formats too)

  • Run the generator:

# In the awesome-contributions directory:
python gen.py test.png
  • Push the changes to your GitHub repository:
git push github master

Usage (Text)

You can also generate an image containing whatever text you want:

python gen.py --text "AWESOME"

Will generate AWESOME.bmp for you:

screenshot from 2016-05-18 22 43 41

Then you just run the program the normal way:

python gen.py AWESOME.bmp

Important

Sometimes some commits don't make it into the contributions page, in this case you create another repository (for example called awesome) and follow this steps:

# Go to the cloned repository
cd awesome-contributions

# Add the second repository as a remote
git remote add helper https://github.com/[YourUser]/awesome

# Push the same commits there too...
git push helper master

This will make GitHub refresh the commits correctly. If you refresh your profile page and see the commits are there, you can delete this helper repository again, and the commits from the original (forked) repository will stay visible.

Notes

  • Each week the image will be shifted to the left, so if you leave some padding you can update once every two months or so.
  • Make sure to leave at least a few weeks of space at the right so you don't spam the people who follow you.

zzzzzzz's People

Contributors

faceplantdev 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.