https://github.com/nikuscs/git-cleanup
https://github.com/nikuscs/git-cleanup
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/nikuscs/git-cleanup
- Owner: nikuscs
- License: mit
- Created: 2025-04-05T12:57:15.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-05T12:57:17.000Z (about 1 year ago)
- Last Synced: 2025-05-14T01:38:10.427Z (about 1 year ago)
- Language: TypeScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub Cleaner ๐งน
Clean up your GitHub account by bulk deleting gists and removing stars.
## Features โจ
- Delete all public gists
- Delete all private gists
- Delete all forked gists
- Delete all gists at once
- Unstar all repositories
## Requirements ๐
- [Bun](https://bun.sh) installed on your system
- GitHub account with gists or stars you want to clean up
## Installation ๐
```bash
# Clone the repository
git clone https://github.com/yourusername/git-cleanup.git
cd git-cleanup
# Install dependencies
bun install
```
## Usage ๐ป
Run the script:
```bash
bun start
```
Or directly:
```bash
./index.ts
```
### Steps
1. The script will open a link to create a GitHub token
2. Create a token with the required permissions
3. Paste the token when prompted
4. Choose the action to perform:
- `gists` - Delete gists
- `stars` - Unstar repositories
- `all` - Perform both actions
5. If deleting gists, select which type to delete:
- `public` - Delete only public gists
- `private` - Delete only private gists
- `forks` - Delete only forked gists
- `all` - Delete all gists
## License ๐
MIT