Repo Generator is a CLI tool that allows you to generate repositories right into your github profile. Also you can choose any language(see available languages below) and it will be in every repository!
- Download .exe from Realeses
- Download GitHub CLI
- Login in GitHub CLI
Important
Always run RepoGenerator.exe in cmd.
RepoGenerator.exe -c 5 -lang 2-c stands for count and -lang for language. You can choose how many repositories you want to create and which language should be in them.
| Index | Language |
|---|---|
| 0 | C# |
| 1 | C++ |
| 2 | Go |
| 3 | Java |
| 4 | JavaScript |
| 5 | C |
| 6 | TypeScript |
| 7 | Swift |
| 8 | Python |
| 9 | Dart |
| 10 | Rust |
I will add more languages in future(maybe).
For example, you typed -c 2 -lang 4, here's how it will work:
It will generate this .bat file:
set BASEDIR=%CD%
md QoYVntuyMX
cd QoYVntuyMX
git init
echo console.log("Hello, World!"); > SomeFile.txt
ren SomeFile.txt SomeFile.js
git add .
git commit -m "Initial commit"
gh repo create QoYVntuyMX --public --source=. --remote=origin --push
cd %BASEDIR%
RD /S /Q QoYVntuyMX
md PCRNDGGYJc
cd PCRNDGGYJc
git init
echo console.log("Hello, World!"); > SomeFile.txt
ren SomeFile.txt SomeFile.js
git add .
git commit -m "Initial commit"
gh repo create PCRNDGGYJc --public --source=. --remote=origin --push
cd %BASEDIR%
RD /S /Q PCRNDGGYJcP.S: "PCRNDGGYJc" and "QoYVntuyMX" are randomly generated names
It will generate .bat file, that will:
- Generate random name
- Create folder with this name
- Init git and create SomeFile.js file with
console.log("Hello, World!);in this folder - Push commit with name "Initial commit"
- Create repository in your github profile via GitHub CLI
- Delete this folder
- Will do it again but with another name
You have two public repositories in your GitHub profile with JavaScript language, SomeFile.js with console.log("Hello, World!); in both of them; no folders or files in your computer.
This project is licensed under the MIT License.
See LICENSE for full terms.
💬 Got feedback, found a bug, or want to contribute? Open an issue or fork the repo!