Skip to content

DaCameraGirl/license-zapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License Zapper — Mass LICENSE production — stamp a license into every repo that lacks one.

Mass LICENSE production — stamp a license into every repo that lacks one.

Live demo Source code

deploy-GitHub Pages type-devops tool

Languages

Shell

Stack

Shell-automation GitHub-repos

Built by Angela Hudson · DaCameraGirl

license-zapper 🐸⚡

Mass LICENSE production for GitHub.
One command. Every bare repo. Zapped. 💚

100% Shell License: proprietary 20 repos zapped Dry-run by default


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.

🪰 Usage

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

🎛️ Options

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

🛟 Safety

  • 🐸 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 / --exclude for precise aim.

🐣 Requirements

  • GitHub CLI (gh), authenticated: gh auth login
  • bash + base64 (Git Bash on Windows works fine)

💚 Origin

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.

About

Mass LICENSE production: stamp a license into every repo that lacks one

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages