{"id":19180570,"url":"https://github.com/leizhenpeng/trackstar","last_synced_at":"2025-08-24T13:12:28.448Z","repository":{"id":258916215,"uuid":"865148219","full_name":"Leizhenpeng/TrackStar","owner":"Leizhenpeng","description":"跟踪仓库的 Stargazers（加星用户），并将每日新增关注者发送到指定的飞书群。","archived":false,"fork":false,"pushed_at":"2024-10-22T10:48:04.000Z","size":46,"stargazers_count":23,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-01T17:13:22.120Z","etag":null,"topics":["feishu","star","stargazer"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Leizhenpeng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-09-30T04:08:19.000Z","updated_at":"2024-11-25T04:43:57.000Z","dependencies_parsed_at":"2024-10-21T07:10:21.192Z","dependency_job_id":null,"html_url":"https://github.com/Leizhenpeng/TrackStar","commit_stats":null,"previous_names":["leizhenpeng/trackstar"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leizhenpeng%2FTrackStar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leizhenpeng%2FTrackStar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leizhenpeng%2FTrackStar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leizhenpeng%2FTrackStar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Leizhenpeng","download_url":"https://codeload.github.com/Leizhenpeng/TrackStar/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252964274,"owners_count":21832654,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["feishu","star","stargazer"],"created_at":"2024-11-09T10:50:08.464Z","updated_at":"2025-05-07T22:28:41.343Z","avatar_url":"https://github.com/Leizhenpeng.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Track Stargazers\n\n![截图](https://i.imgur.com/a42BgPi.png)\n\n这个仓库包含一个 GitHub Actions 工作流，用于跟踪和记录仓库的 Stargazers（加星用户），并将每日新增关注者发送到指定的飞书群。\n\n## 功能特点\n\n- 自动跟踪仓库的 Stargazers。\n- 将 Stargazers 数据保存到 `stargazers.json` 文件中。\n- 每日新增关注者监控，并发送到指定的飞书群。\n- 自动定时执行：每天 UTC 时间 3:00（北京时间 11:00）自动运行。\n- 生成每日报告：每次运行时生成新增 Stargazers（new.csv）和总 Stargazers（total.csv）的表格。\n\n## 环境变量\n\n在你的 GitHub 仓库中，设置以下 Secrets：\n\n- `ACCESS_TOKEN`：你的 GitHub 个人访问令牌（需要有 `repo` 权限）。\n- `TARGET_REPO`: GitHub 仓库名，格式为 `owner/repo`。\n- `FEISHU_WEBHOOK`：飞书群的 Webhook URL。\n\n你可以参考 `example.env` 文件来配置这些环境变量。\n\n## 用途\n\n- 自动跟踪仓库的 Stargazers。\n- 将 Stargazers 数据保存到 `stargazers.json` 文件中。\n- 每日新增关注者监控，并发送到指定的飞书群。\n\n## 使用方法\n\n1. 将 `.github/workflows/star.yml` 文件添加到你的仓库中。\n2. 确保 `star.py` 脚本文件在你的仓库根目录中。\n3. 进入 GitHub 仓库页面，点击 `Actions` 标签，选择 `Run Track Stars` 工作流，点击 `Run workflow` 按钮手动触发工作流。\n\n## 文件说明\n\n- `.github/workflows/star.yml`：GitHub Actions 工作流配置文件，定义了自动运行的时间和步骤。\n- `stargazers.json`：存储 Stargazers 数据的文件，每次运行时更新。\n- `star.py`：用于获取和更新 Stargazers 数据的 Python 脚本。\n- `README.md`：项目说明文件。\n- `.gitignore`：Git 忽略文件配置。\n- `example.env`：环境变量示例文件。\n- `new.csv`：每次运行时生成的新增 Stargazers 表格。\n- `total.csv`：每次运行时生成的总 Stargazers 表格。\n\n## 自动化运行\n\n工作流程每天自动运行一次，您也可以在 GitHub 仓库的 Actions 页面手动触发运行。每次运行后，新的 Stargazers 数据和生成的 CSV 文件会作为 artifacts 上传，可以在 Actions 运行记录中下载查看。\n\n如有问题或建议，请提交 issue 或 pull request。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleizhenpeng%2Ftrackstar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleizhenpeng%2Ftrackstar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleizhenpeng%2Ftrackstar/lists"}