All-in-one GitHub/Gitee Repository Manager & Profile Beautifier
一站式 GitHub/Gitee 仓库管理 & 主页美化工具
Features • Quick Start • Docker • Screenshots • Contributing
Set up:
- View all repositories (public / private / forked)
- Multiple sorting and filtering options
- Batch delete repositories
- Batch archive repositories
- Leave collaboration repositories
- Visual editor with real-time preview
- 100+ preset skill badges
- Programming: Python, JavaScript, Go, Rust, Java, TypeScript...
- Big Data: Hadoop, Spark, Hive, Kafka, Flink, Airflow...
- Visualization: Tableau, Power BI, ECharts, Grafana...
- AI/ML: TensorFlow, PyTorch, Pandas, HuggingFace...
- Cloud: AWS, GCP, Azure, Alibaba Cloud...
- Custom skills - Add any skill badge
- Custom social links - Support Chinese labels (Discord, 知乎, Bilibili...)
- GitHub Stats card with customizable service URL
- Streak Stats contribution card
- Typing animation header
- 30+ themes to choose from
- One-click deploy to GitHub
- Account overview
- Repository statistics
- Async loading for fast response
- Token management (GitHub / Gitee)
- SSH Key viewer
- Stats service URL configuration
- Python 3.10+
- uv (recommended) or pip
git clone https://github.com/A2Data/github-clear.git
cd github-clear# Using uv (recommended)
uv sync
# Or using pip
pip install -e .cp .env.example .envEdit .env file:
GITHUB_TOKEN=your_github_token_here
GITEE_TOKEN=your_gitee_token_here # OptionalGet your Token:
- GitHub: https://github.com/settings/tokens
- Required scopes:
repo,delete_repo,user
- Required scopes:
- Gitee: https://gitee.com/profile/personal_access_tokens
uv run uvicorn main:app --reload --port 8000Visit http://localhost:8000
# Build image
docker build -t github-clear .
# Run container
docker run -d -p 8000:8000 \
-e GITHUB_TOKEN=your_token \
--name github-clear \
github-clear# Copy and edit environment file
cp .env.example .env
# Start services
docker-compose up -dFor detailed deployment guide, see DOCKER_DEPLOYMENT.md
Click to expand screenshots
Quick overview of your account and recent repositories
Batch manage, delete, and archive repositories
Visual editor for Profile README with real-time preview
Token and service configuration
| Category | Technology |
|---|---|
| Backend | Python, FastAPI, Uvicorn |
| Frontend | Jinja2, HTML5, CSS3, JavaScript |
| API | GitHub REST API, Gitee API |
| Styling | Custom CSS (Dark theme) |
| Deployment | Docker, Docker Compose |
github-clear/
├── main.py # FastAPI main entry
├── pyproject.toml # Project configuration
├── docker-compose.yml # Docker Compose config
├── Dockerfile # Docker image config
├── .env.example # Environment variables example
├── config/
│ └── settings.py # Settings management
├── core/
│ ├── github_api.py # GitHub API wrapper
│ ├── gitee_api.py # Gitee API wrapper
│ ├── profile_generator.py # Profile README generator
│ └── token_manager.py # Token management
├── templates/ # Jinja2 templates
│ ├── base.html # Base template
│ ├── index.html # Home page
│ ├── dashboard.html # Dashboard
│ ├── repositories.html # Repository management
│ ├── profile.html # Profile beautifier
│ └── settings.html # Settings
└── static/ # Static assets
├── css/style.css # Global styles
├── js/app.js # JavaScript
└── favicon.svg # Favicon
GitHub Clear supports multiple languages:
- 🇨🇳 Chinese (中文)
- 🇺🇸 English
Language can be switched using the toggle button in the bottom-left corner.
A: This is usually a network issue and doesn't affect actual deployment. GitHub loads images from the server side.
Solutions:
- Click "Deploy to GitHub" directly - it will work on GitHub
- Expand "Service URL Config" and click "Test Connection"
- Try using mirror service URLs
- Enable VPN and refresh the page
A: See these projects:
- github-readme-stats - Deploy to Vercel
- github-readme-streak-stats - Official: streak-stats.demolab.com
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
For detailed guidelines, see CONTRIBUTING.md
This project is licensed under the MIT License - see the LICENSE file for details.
JackFeng - @A2Data
- GitHub: https://github.com/A2Data
- Project: https://github.com/A2Data/github-clear
If you find this project helpful, please consider giving it a ⭐️
Made with ❤️ by JackFeng





