An open API service indexing awesome lists of open source software.

https://github.com/nikuscs/git-cleanup


https://github.com/nikuscs/git-cleanup

Last synced: about 1 year ago
JSON representation

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