Mass LICENSE production — stamp a license into every repo that lacks one.
Built by Angela Hudson · DaCameraGirl
Mass LICENSE production for GitHub.
One command. Every bare repo. Zapped. 💚
A repo with no LICENSE is a little frog with no fireflies — legally it's
"all rights reserved" by default, but it looks unfinished and leaves people
unsure what they can do. license-zapper hops through every repo on your
account, finds the bare ones, and zaps a license right in through the GitHub
API. No cloning twenty repos by hand. 🪰⚡
Dry-run by default — nothing changes until you say --go.
bash zap-licenses.sh # 👀 dry run — see what it WOULD do
bash zap-licenses.sh --license mit # 👀 dry run, MIT
bash zap-licenses.sh --go # ⚡ stamp the proprietary license
bash zap-licenses.sh --license mit --go # ⚡ stamp MIT| Flag | Default | What it does |
|---|---|---|
--owner <name> |
DaCameraGirl |
GitHub account to scan |
--license <type> |
proprietary |
proprietary or mit |
--name <name> |
Angela Hudson |
Name written into the license |
--year <year> |
current year | Copyright year |
--only <a,b> |
(all) | Only zap these repos |
--exclude <a,b> |
retiring repos | Never zap these repos |
--include-archived |
off | Also include archived repos |
--go |
off (dry run) | Actually write the LICENSE |
- 🐸 Dry run unless
--go. Look before you leap. - ⏭️ Skips any repo that already has a license.
- 🔒 Skips archived (read-only) repos unless you ask for them.
- 🎯
--only/--excludefor precise aim.
- GitHub CLI (
gh), authenticated:gh auth login bash+base64(Git Bash on Windows works fine)
Born the night of 2026-06-12 out of a joke — "lol I wish I could just zap all my repos with a license" — and shipped about an hour later. On his very first run he snapped up 20 bare repos in one pass. Full story in the changelog. 🐸⚡🪰
Built by Angela Hudson · DaCameraGirl 💖
Copyright © 2026 Angela Hudson. All Rights Reserved. See LICENSE.