Skip to content

nikuscs/git-cleanup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 installed on your system
  • GitHub account with gists or stars you want to clean up

Installation 🚀

# Clone the repository
git clone https://github.com/yourusername/git-cleanup.git
cd git-cleanup

# Install dependencies
bun install

Usage 💻

Run the script:

bun start

Or directly:

./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

About

A quick tool to cleanup your Github gists, forked, unstar etc.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors