Skip to content

nikhilweee/github-activity-art

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Activity Art for GitHub

Create pixel art on the GitHub contributions graph

nikhilweee

Acknowledgements

Dan Bader's blog post helped me create stencil matrix from TTF fonts. Thank you Dan!

First steps

  1. Create and activate a python3 virtual environment (optional). python2 might work fine as well.
virtualenv venv --python=python3
source venv/bin/activate
  1. Install the dependencies from requirements.txt
pip install -r requirements.txt

Usage

Just run main.py as a normal python script and answer the questions along the way!

python main.py
Please enter text to render: nikhilweee

This is roughly how the activity graph would look like:

.......#..#....#.....#..##..........................
..##......#....#.........#..#....#..##...##...##....
.#..#.##..#..#.###..##...#..#.#..#.#..#.#..#.#..#...
.#..#..#..#.#..#..#..#...#..#.#..#.#..#.#..#.#..#...
.#..#..#..##...#..#..#...#..#.#..#.####.####.####...
.#..#..#..#.#..#..#..#...#..#.#..#.#....#....#......
.#..#...#.#..#.#..#...#...#..#.#....##...##...##....

Please enter the directory name for the new repo: activity-art-repo
Please enter your name as on GitHub: Nikhil Verma
Please enter your email as on GitHub: [email protected]

All commits will be made by "Nikhil Verma <[email protected]>"
Enter the number of commits per day (blank for 1): 1

Creating 114 commits. Please be patient.

Please create a new repository on GitHub. Enter its push url here: https://github.com/nikhilweee/activity-art-repo.git
Username for 'https://github.com': nikhilweee
Password for 'https://[email protected]':

You should now be able to see this activity graph art on GitHub.
Cheers!

About

Pixel art on the GitHub contributions graph

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages