GitHub logo L04DB4L4NC3R / gitcr

A dead simple script to create/delete repos in bulk

GitCR

A dead simple script for bulk creation and deletion of GitHub repositories


Check out the blog related to this project: 7 things I learnt from a script for repository creation.

Functionalities

  • Bulk create repositories from a template
  • Revert creation

Instructions to run

Pre-requisites

Setup

You'll need 2 things to get started:

  1. A file called .env with the following variables. See the sample.

  2. The second thing that is needed is a repos.txt file with the name of the repositories that you want to create. The number of repositories can be anywhere between 1 to 5000, due to the rate limitation of the GitHub API. eg:

repo-1
repo-2
repo-3
repo-5000

See a sample here

Execution

To run the scripts on any platform, replace {PATH}

View on GitHub