{"id":22705421,"url":"https://github.com/yaolifeng0629/del-repos","last_synced_at":"2025-04-13T11:12:06.381Z","repository":{"id":225354951,"uuid":"765752188","full_name":"yaolifeng0629/del-repos","owner":"yaolifeng0629","description":"一个用于批量删除 GitHub 或 Gitee 仓库的命令行工具 （del-repos is a command line tool used to delete GitHub or Gitee repositories in batches.）","archived":false,"fork":false,"pushed_at":"2025-03-09T14:00:31.000Z","size":4590,"stargazers_count":31,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T09:33:44.936Z","etag":null,"topics":["batch","cli","gitee","github","repository"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/del-repos","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yaolifeng0629.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-01T14:49:12.000Z","updated_at":"2025-04-02T17:06:55.000Z","dependencies_parsed_at":"2024-07-06T10:56:06.748Z","dependency_job_id":null,"html_url":"https://github.com/yaolifeng0629/del-repos","commit_stats":null,"previous_names":["yaolifeng0629/delete-reponsitory-util"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaolifeng0629%2Fdel-repos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaolifeng0629%2Fdel-repos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaolifeng0629%2Fdel-repos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaolifeng0629%2Fdel-repos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yaolifeng0629","download_url":"https://codeload.github.com/yaolifeng0629/del-repos/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248195675,"owners_count":21063264,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["batch","cli","gitee","github","repository"],"created_at":"2024-12-10T09:10:55.940Z","updated_at":"2025-04-13T11:12:06.375Z","avatar_url":"https://github.com/yaolifeng0629.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003edel-repos\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003eEnglish | \u003ca href=\"./README.zh.md\"\u003e中文\u003c/a\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"screen.png\" width=90%\"/\u003e\u003c/p\u003e\n\n### ⚡ introduction to\n\n`del-repos` is a command line tool used to delete GitHub or Gitee repositories in batches.\n\n### 🛠️ feature\n\n-   supports `GitHub` and `Gitee` platforms\n-   batch delete selected warehouses\n-   Select the warehouse to delete through the interactive command line interface\n\n### 🚀 installation\n\n#### preconditions\n\n-   `Node.js` has been installed on your computer. You can download and install it from [Node.js official website](https://nodejs.org/).\n\n#### installation steps\n\n1. Open the terminal\n2. Enter the following command to install `del-repos`:\n\n```bash\nnpm install del-repos -g\n# or\npnpm install del-repos -g\n```\n\n-   Options\n    -   `-v`，`--version` displays the version number\n    -   `-h`，`--help` displays help information\n    -   `-t`, `o/a` get repositories type, default value `a` `(o: owner，a: all)`\n        -   How to specify the acquisition repositories type：\n        ```sh\n        # get all personal repositories\n        del-repos -t o\n\n        # Get all repositories (including collaborators and organization member repositories)\n        del-repos\n        # or\n        del-repos -t a\n        ```\n### 🌟 using\n\n1. Select the platform (`GitHub` or `Gitee`).\n2. Enter the access token (`Token`) of the corresponding platform.\n3. For `GitHub` or `Gitee`, the tool opens the `Token` of the corresponding platform to generate a page.\n4. The tool will get a list of your repositories and let you choose which repositories to delete.\n   - After the warehouse name 🔗 The symbol is a shortcut link, click to directly access the corresponding warehouse.\n5. After confirming the selection, the tool will delete the selected warehouse in batch.\n\n### ⚠️ considerations\n\n-   Confirm the warehouse to be deleted before deletion, because the deleted warehouse cannot be restored.\n-   Before using `Token`, make sure that your `Token` has sufficient permissions to delete the repository.\n-   If you encounter any problems or have any suggestions, please feel free to submit `Issue`.\n\n### 🙌 contribution\n\n-   We welcome all contributions and suggestions. If you want to contribute to `del- repos`, you can:\n\n1. Clone repository:\n\n```bash\ngit clone https://github.com/yaolifeng0629/del-repos.git\n\ncd del-repos\n```\n\n2. Installation dependencies:\n\n```bash\nnpm install\n# or\npnpm install\n```\n\n3. Develop and test:\n\n```bash\nnpm run dev\n# or\npnpm dev\n```\n\n-   Welcome to submit questions (`Issues`) and merge requests (`Issues`)!\n-   Thanks to all those who have contributed to `del- repos`! 🎉\n### Sponsored\nIf you think this tool is helpful to you, please use your hand to point a Star to my [GitHub](https://github.com/yaolifeng0629/del-repos) warehouse!\n\nYour support is the driving force for me to move forward!\n\n### 🚀 Star history\n[![Stargazers over time](https://starchart.cc/yaolifeng0629/del-repos.svg?variant=adaptive)](https://starchart.cc/yaolifeng0629/del-repos)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaolifeng0629%2Fdel-repos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyaolifeng0629%2Fdel-repos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaolifeng0629%2Fdel-repos/lists"}