Skip to content

LeucoByte/TiredOfGithubSetup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

GitHub Bootstrap

Tired of the same setup every time you create a project? Repo, SSH keys, git init, deploy keys, config... Use me once and you'll never do it manually again.

One command

curl -sL https://github.com/LeucoByte/TiredOfGithubSetup/raw/main/github-bootstrap.sh -o github-bootstrap.sh
chmod +x github-bootstrap.sh
./github-bootstrap.sh

That's it. Just paste your GitHub PAT when prompted.

What it does automatically

  1. Creates repo (personal/org, public/private) or uses existing
  2. Generates Ed25519 SSH deploy key (~/.ssh/repo_ed25519)
  3. Registers key with GitHub automatically
  4. Sets up ~/.ssh/config with custom Host alias
  5. Inits git locally + first commit + push to main/master
  6. Cleans PAT from memory
  7. Optional: auto-revokes the bootstrap token

Requirements: curl git ssh-keygen python3

Result

~/.ssh/
├── repo_ed25519
├── repo_ed25519.pub
└── config

./your-project/
├── .git/
├── README.md
└── .gitignore (optional)

Common issues:

  • Push failed? Run with --verbose
  • Deploy key failed? Check repo Settings → Deploy keys
  • Key exists? Rename in step 3 or reuse

© 2026 LeucoByte

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages