Skip to content

silvaignacio/GitHub-Public-Repositories-Deleter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Public Repositories Deleter

This program uses the "go-github" Go library to delete all public repositories of a GitHub user.

Prerequisites

Before using this program, you need to obtain a personal access token from GitHub. To do so, follow these steps:

  • Log in to your GitHub account.
  • Click on your avatar in the upper-right corner and select "Settings" from the dropdown menu.
  • Click on "Developer settings" on the left-hand menu.
  • Select "Personal access tokens" from the left-hand menu.
  • Click on "Generate new token".
  • Give your token a name and select the necessary permissions.
  • Click on "Generate token".

Copy and paste the generated token into the source code file in the "token" variable.

How to Use

  • Clone or download the repository.
  • Open the main.go file in a code editor.
  • Replace "username" with the GitHub username of the user whose public repositories you want to delete.
  • Run the program in your preferred Go environment.

Note: Be careful when using this program as it permanently deletes public repositories.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages