{"id":50362116,"url":"https://github.com/mcpp-community/mcpp-bot","last_synced_at":"2026-05-30T02:05:26.484Z","repository":{"id":334874045,"uuid":"1140735033","full_name":"mcpp-community/mcpp-bot","owner":"mcpp-community","description":"mcpp社区小助手","archived":false,"fork":false,"pushed_at":"2026-02-14T15:31:09.000Z","size":86,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-14T23:35:43.203Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://mcpp.d2learn.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mcpp-community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-23T17:29:03.000Z","updated_at":"2026-02-14T15:22:44.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mcpp-community/mcpp-bot","commit_stats":null,"previous_names":["mcpp-community/mcpp-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mcpp-community/mcpp-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcpp-community%2Fmcpp-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcpp-community%2Fmcpp-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcpp-community%2Fmcpp-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcpp-community%2Fmcpp-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcpp-community","download_url":"https://codeload.github.com/mcpp-community/mcpp-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcpp-community%2Fmcpp-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33677261,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-30T02:05:25.660Z","updated_at":"2026-05-30T02:05:26.477Z","avatar_url":"https://github.com/mcpp-community.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MCPP Bot\n\nA collection of GitHub automation tools for managing repositories and organizations.\n\n## Project Structure\n\n```\nsrc/\n├── components/         # Bot components and modules\n│   ├── scan_join_issues.py    # Process join requests\n│   ├── task_checker.py         # Check and remind on overdue tasks\n│   └── README.md               # Component documentation\n├── config/            # Configuration files\n│   ├── join-config.yml        # Join request configuration\n│   └── task-checker.yml       # Task checker configuration\n├── libs/              # Shared libraries\n│   ├── github_client.py       # GitHub API client\n│   ├── utils.py               # Utility functions\n│   └── __init__.py\n└── main.py            # Main entry point\n```\n\n## Components\n\n### 1. Task Checker\n\nMonitors task issues with priority labels (P0/P1/P2) and sends reminders when they haven't been updated within configured timeouts.\n\n**Quick Start:**\n```bash\nexport GH_TOKEN=\"your_github_token\"\npython src/components/task_checker.py\n```\n\n**Features:**\n- Scan single repository or entire organization\n- Customizable timeout thresholds per priority (P0/P1/P2)\n- Flexible reminder templates\n- Repository exclusion support\n- Configurable priority patterns\n\nSee [components/README.md](src/components/README.md) for detailed configuration options.\n\n### 2. Join Request Scanner\n\nProcesses join request issues for organization membership management.\n\n**Quick Start:**\n```bash\nexport GH_TOKEN=\"your_github_token\"\npython src/components/scan_join_issues.py\n```\n\n## Quick Start\n\n1. Clone the repository\n2. Set up your GitHub token:\n   ```bash\n   export GH_TOKEN=\"your_github_personal_access_token\"\n   ```\n3. Configure the components in `src/config/`\n4. Run the bot:\n   ```bash\n   # Run all components\n   python src/main.py all\n\n   # Run specific component\n   python src/main.py join-issues\n   python src/main.py task-checker\n\n   # Run multiple components\n   python src/main.py join-issues task-checker\n\n   # Enable verbose error output\n   python src/main.py all --verbose\n   ```\n\n## Running Individual Components\n\nYou can also run components directly:\n\n```bash\n# Task checker\npython src/components/task_checker.py\n\n# Join issues scanner\npython src/components/scan_join_issues.py\n```\n\n## Configuration\n\nAll components use YAML configuration files in `src/config/`:\n\n- `join-config.yml` - Join request processing settings\n- `task-checker.yml` - Task monitoring and reminder settings\n\n## Requirements\n\n- Python 3.7+\n- GitHub Personal Access Token with appropriate permissions\n  - For task checker: `repo` scope (read issues, write comments)\n  - For join scanner: `admin:org` scope (manage organization members)\n\n## GitHub Actions Workflows\n\nThis project includes automated workflows for scheduled execution:\n\n- **Daily Bot Tasks** (`daily-scan.yml`): Runs all components daily at 02:20 UTC\n- **Task Checker Hourly** (`task-checker-hourly.yml`): Checks task timeouts every 6 hours\n\nSee [.github/workflows/README.md](.github/workflows/README.md) for workflow documentation.\n\n## License\n\nSee [LICENSE](LICENSE) for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcpp-community%2Fmcpp-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcpp-community%2Fmcpp-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcpp-community%2Fmcpp-bot/lists"}