Hi everyone,
I’m excited to share my latest project with you: GitHub Contributions Tetris GIF Maker.
This tool converts your GitHub contributions graph into a fun Tetris GIF. If you love GitHub and retro games, this project is just for you!
Link: GitHub URL
Why Did I Create This?
The idea came from wanting to visualize my GitHub contributions in a creative way. I wanted something more interactive and fun than the usual graph, and Tetris seemed like the perfect choice. It’s not only a tribute to one of the most iconic games ever, but it’s also a unique way to showcase your dedication and consistency in open source contributions.
How Does It Work?
The project is written in Python and uses various libraries to transform contribution data into a Tetris animation. Here’s an overview of the main steps:
- Data Collection: it uses an external service for fetching your GitHub contributions.
- Data Processing: Converts daily contributions into Tetris pieces.
- GIF Generation: Creates the Tetris animation that evolves as you add new contributions.
How to Use It
To get started, clone the repository and install the necessary dependencies:
git clone https://github.com/debba/gh-contributions-tetris-gif-maker.git
cd gh-contributions-tetris-gif-maker
pip install -r requirements.txt
Then, run the program with your GitHub username:
python main.py --username YourGitHubUsername --year 2024
Example Result
Here is an example GIF generated from my profile:
Contributions and Feedback
I’m always looking for improvements and new ideas! If you have suggestions or want to contribute, feel free to make a pull request or open an issue on the repository.
Note: This is an ongoing release that may still have bugs to resolve.
Conclusion
I hope you enjoy this project as much as I enjoyed creating it. It’s a small tribute to Tetris and a fun way to visualize your hard work on GitHub. Check out the repository and let me know what you think!
Thanks for reading and happy coding! 🚀
Top comments (0)