An animated terminal GIF showcasing your GitHub stats — auto-generated daily.
- Fetches real-time GitHub stats (commits, stars, PRs, followers, rank, languages)
- Three themes — classic terminal, macOS Liquid Glass, or Debian GNOME
- Username auto-detected — no code editing needed after forking
- Auto-regenerated daily via GitHub Actions
- Easy to set up: fork → configure two settings → done
| Value | Theme | Description |
|---|---|---|
default |
Classic dark (default) | Clean dark terminal, no wallpaper |
macos |
macOS Liquid Glass | Frosted glass terminal floating over a macOS wallpaper, with traffic-light buttons |
debian |
Debian GNOME | Classic GNOME 2 terminal with title bar, menu bar, and Tango colors over the Debian wallpaper |
Click the Fork button at the top right of this page.
Go to Settings → Secrets and variables → Actions and add a new secret:
| Name | Value |
|---|---|
GH_TOKEN |
Your GitHub Personal Access Token |
Generate a token at github.com/settings/tokens — only the
read:userscope is needed.
Go to Settings → Secrets and variables → Actions, open the Variables tab and click New repository variable:
| Name | Value |
|---|---|
THEME |
macos or debian or default |
If you skip this step the
defaulttheme (classic dark terminal, no wallpaper) is used.
| Theme | File to replace |
|---|---|
macos |
assets/macos_wallpaper.jpg |
debian |
assets/debian_wallpaper.png |
Replace the file in assets/ with your own image. Any resolution works — it will be cropped to fit automatically.
Go to Actions → Generate Terminal GIF → Run workflow to generate your first GIF immediately, or wait for the daily schedule (06:00 UTC).
pip install github-readme-terminal requests python-dotenv Pillow
# Install ffmpeg (macOS)
brew install ffmpeg
# Install ffmpeg (Ubuntu / Debian)
sudo apt install ffmpegNo ffmpeg? The scripts include a PIL fallback — the GIF will still be generated.
cp .env.example .env
# Edit .env and set GITHUB_TOKEN=your_token_here# macOS Liquid Glass theme
python generate_liquid_glass.py
# Debian GNOME theme
python generate_debian.py
# Classic dark theme
python generate_with_stats.pyThe output is saved as output.gif.
.
├── generate_liquid_glass.py # macOS Liquid Glass theme
├── generate_debian.py # Debian GNOME theme
├── generate_with_stats.py # Classic dark theme
├── assets/
│ ├── macos_wallpaper.jpg # Wallpaper for macOS theme
│ └── debian_wallpaper.png # Wallpaper for Debian theme
├── output.gif # Generated GIF (auto-updated by CI)
├── .env.example # Environment variable template
└── .github/
└── workflows/
└── generate-gif.yml # Unified CI workflow (theme selected via THEME variable)
The username is automatically detected from your GitHub account — no code changes needed. When running locally, you can override it with:
GIT_USERNAME=your-username python generate_liquid_glass.pyAll three scripts share the same skills list and stats sections. Edit whichever script you use.
macOS Liquid Glass (generate_liquid_glass.py)
- Wallpaper → replace
assets/macos_wallpaper.jpg - Glass opacity →
frosted_title/frosted_contentoverlay alpha inprepare_glass_layers() - Text colors →
ConvertAnsiEscape.ANSI_ESCAPE_MAP_TXT_COLORat the top of the file
Debian GNOME (generate_debian.py)
- Wallpaper → replace
assets/debian_wallpaper.png - Glass darkness →
tint_rgbavalues inprepare_debian_layers() - Text colors →
ConvertAnsiEscape.ANSI_ESCAPE_MAP_TXT_COLORat the top of the file - Window layout →
TITLE_H,MENU_H,CORNER_RADIUSconstants
Contributions, issues, and feature requests are welcome. Feel free to open an issue or submit a pull request.
If this project helped you, consider leaving a ⭐
