Repo Cleaner is a React web app for managing and cleaning up your GitHub repositories with a modern, clean UI. It supports both dark and light themes.
- Login with GitHub username and personal access token (stored locally)
- Fetch and display all user repositories with pagination
- View repository name, description, forks, and stars
- Delete repositories with confirmation (using GitHub API)
- Toggle between dark and light mode
- Node.js (v16+ recommended)
- npm or yarn
- GitHub account and personal access token
-
Clone the repository:
git clone https://github.com/IndrajeethY/repo-cleaner.git cd repo-cleaner -
Install dependencies:
npm install # or yarn install
-
Generate a GitHub Personal Access Token:
- Go to GitHub Settings > Developer settings > Personal access tokens
- Generate a token with
reposcope.
-
Start the app:
npm start # or yarn start
- On first launch, enter your GitHub username and personal access token.
- Browse your repositories in a paginated, clean UI.
- View details: name, description, forks, stars.
- To delete a repository, click the delete button and confirm.
- Switch between dark and light mode using the theme toggle.
- React
- GitHub REST API
- Styled Components / CSS Modules (for theming)
- Local Storage (for credentials)
- Fork the repo
- Create your feature branch (
git checkout -b feature/foo) - Commit your changes
- Push to the branch
- Open a pull request
MIT License