Your commits deserve better than a changelog.
Every morning, this bot reads yesterday's commits and turns them into a 4-panel medieval RPG comic strip -- delivered to your Telegram or GitHub Issues. Powered entirely by Gemini AI. Costs $0.
198 commits from openclaw/openclaw. 4 panels. 1 exhausted knight.
A calm, deadpan knight (you) fixes bugs and ships features. The villagers (your users) react with weeping, statue-building, and naming their children after git commands.
You need two things:
- Gemini API key (free) -- get one here
- Telegram bot (optional) -- message @BotFather to create one
Step 1: Fork and configure
# Fork the repo
gh repo fork shalomer/github-comic-bot --clone=false
# Set your Gemini key
gh secret set GEMINI_API_KEY --repo YOUR_USERNAME/github-comic-bot
# Set the repo you want comics for (e.g. "octocat/hello-world")
# This is the repo whose commits get turned into comics -- NOT the fork itself
gh variable set TARGET_REPO --repo YOUR_USERNAME/github-comic-bot --body "owner/repo"Step 2: Enable Actions and trigger
gh api repos/YOUR_USERNAME/github-comic-bot/actions/permissions -X PUT -f enabled=true -f allowed_actions=allGo to Actions tab > "Daily Comic Strip" > Run workflow.
Runs automatically every day at 00:30 UTC. That's it.
Add these secrets to your fork and comics will land in your Telegram chat every morning:
gh secret set TELEGRAM_BOT_TOKEN --repo YOUR_USERNAME/github-comic-bot
gh secret set TELEGRAM_CHAT_ID --repo YOUR_USERNAME/github-comic-botTo find your chat ID: send any message to your bot, then open https://api.telegram.org/bot<YOUR_TOKEN>/getUpdates in your browser.
- GitHub Actions runs daily, fetches yesterday's commits
- Gemini writes a 4-panel comic script (medieval RPG style)
- Gemini generates each panel as an image
- Pillow stitches the panels into one strip
- Delivered via Telegram and/or GitHub Issue
pip install -r requirements.txt
GEMINI_API_KEY=your-key TARGET_REPO=owner/repo python scripts/daily_comic.pyIf your target repo is private, add a GitHub PAT:
gh secret set GH_PAT --repo YOUR_USERNAME/github-comic-bot$0. Gemini free tier + GitHub Actions free tier.
MIT
Built with Claude Code.
