Cleaning up your Github account from those repositories you once forked and then forgot about is a tedious process when done manually.
Lets speed up this process with some automagic:
- Open all repositories that you want to delete in new browser tabs
- Use https://chrome.google.com/webstore/detail/onetab/chphlpgkkbolifaimnlloiipkdnihall?hl=en to shorten them to a list and export the URL's as a text file
- In a text editor shorten the URL's to just the last part (username/repositoryname)
- Create a new personal API token with capability to delete repositories and paste that token in the script
- Run
./clean-repos.sh