1.0.0 โข Published 5 months ago
forkaway v1.0.0
Forkaway ๐งน
A CLI tool to help you clean up your GitHub fork repositories efficiently.
Features โจ
- ๐ List all your fork repositories
- ๐๏ธ Delete multiple forks at once
- โ Interactive selection with visual feedback
- ๐ Progress tracking with status bars
- ๐ฏ Bulk or selective deletion options
- ๐ Secure GitHub token handling
- ๐ซ Beautiful CLI interface
Prerequisites ๐
- Node.js (v16 or higher)
- GitHub account
- GitHub Personal Access Token with required permissions
Installation ๐
npm install -g forkaway
Setup ๐ง
- Generate a GitHub token at https://github.com/settings/tokens
- Enable these permissions:
repo
(Full control of private repositories)delete_repo
(Delete repositories)
Add the token to your shell configuration:
For zsh:
echo 'export GITHUB_TOKEN=your_token' >> ~/.zshrc source ~/.zshrc
For bash:
echo 'export GITHUB_TOKEN=your_token' >> ~/.bashrc source ~/.bashrc
Usage ๐ป
Simply run:
forkaway
The interactive CLI will guide you through: 1. Scanning your GitHub account for forks 2. Choosing between:
- Deleting all forks (with safety confirmations)
- Selecting specific forks to delete
- Reviewing selected repositories
- Confirming and executing deletions with progress tracking
Visual Feedback ๐
- Progress bars show deletion status
- Spinners indicate active operations
- Color-coded success/failure messages
- Detailed error reporting
- Operation summary at completion
Safety Features ๐ก๏ธ
- Multiple confirmations for bulk deletions
- Review step before final deletion
- Clear error messages
- Ability to cancel at any point
Contributing ๐ค
Contributions are welcome! Please check out our Contributing Guide.
License ๐
MIT
Support ๐ช
If you encounter any issues or have questions:
- Open an issue at: https://github.com/bismarkhenao/forkaway/issues
- Provide detailed information about the problem
- Include any error messages
1.0.0
5 months ago