Turn Your GitHub Contributions into a Tetris GIF! 🎮

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: G…


This content originally appeared on DEV Community and was authored by Andrea Debernardi

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:

  1. Data Collection: it uses an external service for fetching your GitHub contributions.
  2. Data Processing: Converts daily contributions into Tetris pieces.
  3. 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:

@debba 2023 - sample

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! 🚀


This content originally appeared on DEV Community and was authored by Andrea Debernardi


Print Share Comment Cite Upload Translate Updates
APA

Andrea Debernardi | Sciencx (2024-07-06T18:31:43+00:00) Turn Your GitHub Contributions into a Tetris GIF! 🎮. Retrieved from https://www.scien.cx/2024/07/06/turn-your-github-contributions-into-a-tetris-gif-%f0%9f%8e%ae/

MLA
" » Turn Your GitHub Contributions into a Tetris GIF! 🎮." Andrea Debernardi | Sciencx - Saturday July 6, 2024, https://www.scien.cx/2024/07/06/turn-your-github-contributions-into-a-tetris-gif-%f0%9f%8e%ae/
HARVARD
Andrea Debernardi | Sciencx Saturday July 6, 2024 » Turn Your GitHub Contributions into a Tetris GIF! 🎮., viewed ,<https://www.scien.cx/2024/07/06/turn-your-github-contributions-into-a-tetris-gif-%f0%9f%8e%ae/>
VANCOUVER
Andrea Debernardi | Sciencx - » Turn Your GitHub Contributions into a Tetris GIF! 🎮. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/07/06/turn-your-github-contributions-into-a-tetris-gif-%f0%9f%8e%ae/
CHICAGO
" » Turn Your GitHub Contributions into a Tetris GIF! 🎮." Andrea Debernardi | Sciencx - Accessed . https://www.scien.cx/2024/07/06/turn-your-github-contributions-into-a-tetris-gif-%f0%9f%8e%ae/
IEEE
" » Turn Your GitHub Contributions into a Tetris GIF! 🎮." Andrea Debernardi | Sciencx [Online]. Available: https://www.scien.cx/2024/07/06/turn-your-github-contributions-into-a-tetris-gif-%f0%9f%8e%ae/. [Accessed: ]
rf:citation
» Turn Your GitHub Contributions into a Tetris GIF! 🎮 | Andrea Debernardi | Sciencx | https://www.scien.cx/2024/07/06/turn-your-github-contributions-into-a-tetris-gif-%f0%9f%8e%ae/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.