Skip to content

Generate many repositories right in your GitHub profile! Repositories'll contain programmning language you choose

License

Notifications You must be signed in to change notification settings

HardCodeDev777/Repo-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Go License Last commit Top lang

💻 Repo Generator


🚀 Overview

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!


📦 Installation

  1. Download .exe from Realeses
  2. Download GitHub CLI
  3. Login in GitHub CLI

Important

Always run RepoGenerator.exe in cmd.

⌨️ Usage

RepoGenerator.exe -c 5 -lang 2

Explanation

-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).


⚙️ How it works

For example, you typed -c 2 -lang 4, here's how it will work:

For people who know BatchFile:

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 PCRNDGGYJc

P.S: "PCRNDGGYJc" and "QoYVntuyMX" are randomly generated names

For people who don't know Batchfile:

It will generate .bat file, that will:

  1. Generate random name
  2. Create folder with this name
  3. Init git and create SomeFile.js file with console.log("Hello, World!); in this folder
  4. Push commit with name "Initial commit"
  5. Create repository in your github profile via GitHub CLI
  6. Delete this folder
  7. Will do it again but with another name

Result:

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.


📄 License

This project is licensed under the MIT License.
See LICENSE for full terms.


👨‍💻 Author

HardCodeDev


💬 Got feedback, found a bug, or want to contribute? Open an issue or fork the repo on GitHub!

About

Generate many repositories right in your GitHub profile! Repositories'll contain programmning language you choose

Topics

Resources

License

Stars

Watchers

Forks

Languages