github-cleaner
v1.7.0
Published
A simple utility that will back up and / or delete repos in bulk
Downloads
16
Maintainers
Readme
GitHub Cleaner
Install this utility, answer a few questions, get to cleaning out your cluttered GitHub account.
What You Need:
- Node + NPM (2 minutes)
- https://nodejs.org/en/download/
- A GitHub OAuth Token w/ Access To Backup and Delete (1 minute)
- https://github.com/settings/tokens
- A folder to store backups of repos (5 seconds / optional)
- https://www.wikihow.com/Make-a-New-Folder-on-a-Computer
How To Get It:
npm i -g github-cleaner
How To Use It:
ghclean
GitHub Cleaner
(Prompt Choice, Use Enter Button)- Select Repos (Space Bar Selects or Unselects)
- Select Action (Prompt Choice, Use Enter Button)
- Confirm Action and Repo(s)
- Repeat (if needed)
Notes:
If you are running the application for the first time you need to answer some questions so that github-cleaner can find your repos.
This module is very new please run
ENV=DEV ghclean
for more details on errors for issue reporting.If you are running this tool for Enterprise your apiBase will likely look like
http(s)://hostname/api/v3/
When creating a token only give it the privileges it needs. This application needs the ability to Find, Backup and Delete repos.