Creating "ASCII Art" using the contributions heatmap
Read Docs
·
Report Bug
·
Request Feature
This project uses python's datetime to calculate the date that each commit must be sent. It uses os to send git commands to the terminal and exploits git's ability to create commits to the past (and future) to create art.
Sample inputs are stored in the /inputs folder. Each non-whitespace character represents a filled-in block on the GitHub contributions page. Only the first 7 lines and 53 characters of each line are parsed.
To get a local copy up and running follow these simple steps.
- python
- git
- Create a copy of this repository
- Clone the repo
git clone https://github.com/[YOUR-USERNAME]/[YOUR-REPO-NAME].git
Navigate to the local repo and run the following line in the terminal
python3 main.py -i inputs/hello.txt
To remove the commits, delete the repository.
For more examples, please refer to the Documentation
Improve ease of use (remove need to copy files from one repo to another)- WIP Make use of the contribution page's full color palette
- Decrease runtime (create git tree manually as opposed to using git commits)
- Create more sample inputs
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Tariq - tariapper@outlook.com
Project Link: https://github.com/tariapper/git-ascii