Skip to content

Generate GIF sequences that mimic the GitHub contribution chart on everyone's profile page.

License

Notifications You must be signed in to change notification settings

RohanFredriksson/GIF-to-Contribution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GIF-to-Contribution

Description

Ever wanted to have a cool stylised GIF to put into your GitHub profile README.md files? Well I did! So I created a program that takes any video and creates GIF inspired by the GitHub contribution graph. Also if you want to see a really cool example of this check out my profile.

Dependencies

How to Use

  1. Ensure that you have all required dependencies for this project. The required dependencies are listed above.
  2. Clone the repository
git clone https://github.com/RohanFredriksson/GIF-to-Contribution.git
  1. Get a video that you wish to turn into a contribution graph. Usually black and white videos work best. The current file formats that are supported are: .mp4, .gif
  2. Run the python script generate.py. This will create a GIF for your chosen video in your chosen theme.
python3 generator.py input [-h] [-t THEME] [-o OUTPUT]
  1. To display your GIFs in your README files, do the following
![SpiralDark](examples/dark.gif#gh-dark-mode-only)
![SpriralLight](examples/light.gif#gh-light-mode-only)

This makes sure that the GIF that is shown matches the current theme of the user viewing your README.

Themes

Currently the only supported GitHub themes are:

  • Light
  • Dark
  • HalloweenLight
  • HalloweenDark

Examples

SpiralDark SpriralLight

About

Generate GIF sequences that mimic the GitHub contribution chart on everyone's profile page.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages