Founntain / RepositoryGenerator

A GitHub repository generator written in python that creates a blank repository with a README.md on github and your computer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Repository Generator written in Python

Preparing the script

First you need to create a config.json the config should look like this.
Yes please keep in mind that your repositoryFolder should end with \\!

{
    "username": "YOUR_GITHUB_USERNAME",
    "accessToken": "YOUR_ACCESS_TOKEN",
    "repositoryFolder": "Y:\\PATH\\TO\\YOUR\\REPOSITORIES\\FOLDER\\",
    "codeCommand": "code ."
}

If you use VsCode Insiders replace code . with code-insiders . for the codeCommand property.

The repositoryFolder property is used to create a folder for the new repository and create a README.md in that folder and push it to the new repository. You probably have somewhere on your PC a folder that contains all your repositories. After you created the config you can run the script.

Running the script

Run the script with python python main.py
Enter all the values and the script will create a repository on GitHub and the Repository Folder on your PC at the given path repositoryFolder/Repository_Name.

About

A GitHub repository generator written in python that creates a blank repository with a README.md on github and your computer


Languages

Language:Python 100.0%