This project contains Python scripts and images for generating customized GitHub QR codes using the segno and Pillow libraries.
github_qr.py- Initial QR code generation script.github_qr_custom.py- Customized QR code with gradient background, logo, and text.DialloWill_custom_github_animated.gif- Animated QR code GIF.- Various PNG images showing different QR code outputs and logos.
- Install dependencies:
pip install segno pillow
Run the custom QR code script:
python3 github_qr_custom.py
To create the animated QR code GIF:
python3 github_qr_animated.py
Description This project demonstrates:
Generating QR codes using segno for high error correction and customizable dot shapes.
Adding a gradient background behind the QR code using Pillow.
Overlaying a GitHub logo at the center of the QR code.
Adding text below the QR code using custom fonts.
Creating an animated GIF by cycling through frames of the QR code with different colors.
Usage Scan the generated QR codes with a smartphone camera to verify they link to the GitHub URL.
Use the animated GIF as a fun, engaging way to share your GitHub profile.
Notes Make sure the font path in the script (github_qr_custom.py) matches a font available on your system.
Keep the logo image (github_logo.png) in the same folder as the scripts for correct loading.
Temporary files like temp_rounded.png are created during execution and can be deleted afterward.
Contact Created by Diallo Williams GitHub: https://github.com/DialloWill