English | Chinese
del-repos is a command-line tool that can help you bulk delete repositories on GitHub. This tool is ideal for developers who need to manage a large number of repositories.
You need to install Node.js and npm on your machine. You can download and install it from [Node.js official website] (https://nodejs.org/).
- Open the terminal, Enter the following command to install del-repos:
pnpm install del-repos
- From the command line, run the following command to start del-repos:
del-repos
-
Then a Create Token page opens in the browser, and this Token is only used to delete the warehouse.
-
You will see a prompt for you to choose a platform (currently only Github is supported). After selecting Github, you need to enter your Github token.
-
del-repos will get all your warehouses and display a list that allows you to select the repositories to delete.
-
After the selection, del-repos will start to delete the warehouse you selected.
- Please use del-repos carefully, as deleted repositories cannot be recovered.
- before using del-repos, make sure your Github token has sufficient permissions to delete the repository.
- if you encounter any problems or have any suggestions, you are welcome to submit issue.
-
We welcome all contributions and suggestions. If you want to contribute to del-repos, you can:
- submit bug reports or recommendations
- submit code improvements or new features
- improve documentation
-
thanks to all those who have contributed to del-repos! 🎉