Compare commits

..

129 Commits

Author SHA1 Message Date
郑诚 (Cheng Zheng)
11dacb34f4 docs: batch add 4 projects 2026-03-30 16:06:38 +08:00
郑诚 (Cheng Zheng)
44dc18735e Merge pull request #807 from 1c7/batch-add-projects-20260329-160925
新增项目:批量添加 1 个项目
2026-03-30 13:37:22 +08:00
郑诚 (Cheng Zheng)
9f9984870d Merge branch 'master' into batch-add-projects-20260329-160925 2026-03-30 13:37:10 +08:00
郑诚 (Cheng Zheng)
916331803e Merge pull request #812 from lian-yang/add-trans
添加 trans - 终端 AI 翻译工具
2026-03-30 13:34:10 +08:00
yanglian
d7907b97f1 添加 trans - 基于 OpenAI 兼容 API 的终端 AI 翻译工具 2026-03-30 12:49:21 +08:00
yanglian
df87ece706 添加 LTools - 基于 Wails v3 的跨平台桌面工具箱 2026-03-30 12:46:54 +08:00
郑诚 (Cheng Zheng)
b51dd23010 docs: batch add 1 projects 2026-03-30 00:09:28 +08:00
郑诚 (Cheng Zheng)
dd8cedcac2 Merge pull request #805 from 1c7/batch-add-projects-20260327-161953
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
新增项目:批量添加 2 个项目
2026-03-28 00:29:32 +08:00
郑诚 (Cheng Zheng)
02f8400d9d Update README.md 2026-03-28 00:29:08 +08:00
郑诚 (Cheng Zheng)
f08df6bf38 docs: batch add 2 projects 2026-03-28 00:19:55 +08:00
郑诚 (Cheng Zheng)
716d754e5c Merge pull request #802 from 1c7/batch-add-projects-20260326-162820
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
新增项目:批量添加 1 个项目
2026-03-27 18:32:04 +08:00
郑诚 (Cheng Zheng)
699208d341 Merge branch 'master' into batch-add-projects-20260326-162820 2026-03-27 18:31:53 +08:00
郑诚 (Cheng Zheng)
5af8e8de78 Merge pull request #803 from jsxyzb/patch-1
Add VideoFlux to README
2026-03-27 14:32:24 +08:00
郑诚 (Cheng Zheng)
98070d9058 Merge branch 'master' into patch-1 2026-03-27 14:32:14 +08:00
郑诚 (Cheng Zheng)
3f9cdacece Merge pull request #801 from AsaZhou923/master
增加 PicSpeak 项目
2026-03-27 14:31:21 +08:00
jsxyzb
85b130c284 Add VideoFlux to README 2026-03-27 11:46:04 +08:00
郑诚 (Cheng Zheng)
edc41f5ae5 docs: batch add 1 projects 2026-03-27 00:28:23 +08:00
Xavier
09453854c7 增加 PicSpeak 项目 2026-03-26 22:21:36 +09:00
郑诚 (Cheng Zheng)
0eb795dcd2 Merge pull request #800 from CoderStartup/add-reelsmakerai
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
docs: add ReelsMakerAI to project list
2026-03-26 10:11:51 +08:00
Coder Startup
b6cc5fa810 docs: add ReelsMakerAI to project list
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 23:31:17 +06:00
郑诚 (Cheng Zheng)
952f4e58c4 Update README.md 2026-03-26 00:52:38 +08:00
郑诚 (Cheng Zheng)
27a6726d15 Merge pull request #799 from 1c7/batch-add-projects-20260325-162854
新增项目:批量添加 3 个项目
2026-03-26 00:50:07 +08:00
郑诚 (Cheng Zheng)
f510e47feb Update README.md 2026-03-26 00:49:56 +08:00
郑诚 (Cheng Zheng)
3c84aea229 docs: batch add 3 projects 2026-03-26 00:28:57 +08:00
郑诚 (Cheng Zheng)
d6305984d5 Merge pull request #798 from Moresl/add-cchub
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
添加 CCHub - Claude Code 生态管理平台
2026-03-25 19:06:28 +08:00
zhanghaidong
23e90d602c 添加 CCHub - Claude Code 生态管理平台 2026-03-25 18:49:49 +08:00
郑诚 (Cheng Zheng)
8474f2eb69 Merge pull request #797 from margox/master
增加2款iOS原生应用「订阅宝」和「重要日子」
2026-03-25 12:18:48 +08:00
超能刚哥
9b3f431951 增加[订阅宝]和[重要日子] 2026-03-25 11:19:55 +08:00
超能刚哥
095b8c2798 Merge pull request #6 from 1c7/master
同步Repo
2026-03-25 11:12:45 +08:00
郑诚 (Cheng Zheng)
e67ce1eb0b Merge pull request #796 from 1c7/batch-add-projects-20260324-162519
新增项目:批量添加 2 个项目
2026-03-25 01:18:37 +08:00
郑诚 (Cheng Zheng)
64eb5626c3 docs: batch add 2 projects 2026-03-25 00:25:22 +08:00
郑诚 (Cheng Zheng)
64f2d5c511 Update README.md
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
2026-03-24 10:56:23 +08:00
郑诚 (Cheng Zheng)
d604ce0711 Merge pull request #792 from 1c7/batch-add-projects-20260323-162139
新增项目:批量添加 2 个项目
2026-03-24 10:54:48 +08:00
郑诚 (Cheng Zheng)
de2d83a412 docs: batch add 2 projects 2026-03-24 00:21:42 +08:00
郑诚 (Cheng Zheng)
a06426d446 docs: add file description comment to process_item.py
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
2026-03-23 13:43:07 +08:00
郑诚 (Cheng Zheng)
f5cec1ea05 Merge pull request #790 from 1c7/batch-add-projects-20260323-054041
新增项目:批量添加 2 个项目
2026-03-23 13:41:49 +08:00
郑诚 (Cheng Zheng)
71d4574dc7 docs: batch add 2 projects 2026-03-23 13:40:43 +08:00
郑诚 (Cheng Zheng)
a3a7699ab4 feat: expand project collection to all open issues (body and last 7 days comments) 2026-03-23 13:39:52 +08:00
郑诚 (Cheng Zheng)
d4c2c4f9d5 Merge pull request #787 from 1c7/batch-add-projects-20260320-161525
新增项目:批量添加 1 个项目
2026-03-23 13:28:20 +08:00
郑诚 (Cheng Zheng)
2c7fa289e3 Update README.md 2026-03-23 13:27:30 +08:00
郑诚 (Cheng Zheng)
3ca3cd43c2 Merge pull request #788 from raullenchai/add-rapid-mlx
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
添加 Rapid-MLX 到程序员版面
2026-03-22 13:13:37 +08:00
Raullen
57b3d25c0f 添加 Rapid-MLX — Apple Silicon 本地 AI 推理引擎 2026-03-21 14:43:18 -07:00
郑诚 (Cheng Zheng)
ff2918ce56 docs: batch add 1 projects 2026-03-21 00:15:28 +08:00
郑诚 (Cheng Zheng)
0929d713ec Merge pull request #786 from 1c7/batch-add-projects-20260319-162045
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
新增项目:批量添加 1 个项目
2026-03-20 22:14:19 +08:00
郑诚 (Cheng Zheng)
7deb764171 docs: batch add 1 projects 2026-03-20 00:20:48 +08:00
郑诚 (Cheng Zheng)
fe6773e86a Merge pull request #784 from 1c7/batch-add-projects-20260318-162538
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
新增项目:批量添加 1 个项目
2026-03-19 15:29:41 +08:00
郑诚 (Cheng Zheng)
5d95790028 docs: batch add 1 projects 2026-03-19 00:25:41 +08:00
郑诚 (Cheng Zheng)
fbe5c9ecd7 Merge pull request #783 from 1c7/batch-add-projects-20260317-162645
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
新增项目:批量添加 2 个项目
2026-03-18 12:18:58 +08:00
郑诚 (Cheng Zheng)
f2944627f5 docs: batch add 2 projects 2026-03-18 00:26:48 +08:00
郑诚 (Cheng Zheng)
c2a0edacd9 Merge pull request #782 from Moresl/master
添加 ImageMinify 图片批量压缩工具
2026-03-17 18:22:03 +08:00
Moresl
5e3caa67c2 feat: 添加 ImageMinify 图片批量压缩工具 2026-03-17 16:24:21 +08:00
郑诚 (Cheng Zheng)
c30aa3dd46 Merge pull request #781 from haosao12345/patch-5
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
Update README with new project listings
2026-03-16 18:08:38 +08:00
haosao12345
6a200863d0 Update README with new project listings
Added new project entries for March 16 and 15, 2026, including descriptions and links.
2026-03-16 16:50:00 +08:00
郑诚 (Cheng Zheng)
eca65a70f8 Merge pull request #780 from 1c7/batch-add-projects-20260315-160815
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
新增项目:批量添加 4 个项目
2026-03-16 10:50:32 +08:00
郑诚 (Cheng Zheng)
d7d4f9ef32 Update README.md 2026-03-16 10:50:21 +08:00
郑诚 (Cheng Zheng)
0312dc6f8d docs: batch add 4 projects 2026-03-16 00:08:18 +08:00
郑诚 (Cheng Zheng)
374e8673bc Update README.md 2026-03-15 23:08:11 +08:00
郑诚 (Cheng Zheng)
19eb3d9e3e Merge pull request #778 from 1c7/batch-add-projects-20260314-160808
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
新增项目:批量添加 1 个项目
2026-03-15 13:46:55 +08:00
郑诚 (Cheng Zheng)
58ca525341 Update README.md 2026-03-15 13:46:43 +08:00
郑诚 (Cheng Zheng)
4e940e6778 docs: batch add 1 projects 2026-03-15 00:08:11 +08:00
郑诚 (Cheng Zheng)
13ae35820a Merge pull request #777 from 1c7/batch-add-projects-20260313-161241
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
新增项目:批量添加 4 个项目
2026-03-14 12:11:49 +08:00
郑诚 (Cheng Zheng)
2a47ef63c8 Update README.md 2026-03-14 12:11:37 +08:00
郑诚 (Cheng Zheng)
d5d02f1550 docs: batch add 4 projects 2026-03-14 00:12:43 +08:00
郑诚 (Cheng Zheng)
c0b1bf6009 Merge pull request #776 from my19940202/master
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
Add project listings and descriptions to README
2026-03-13 21:36:08 +08:00
xibobo
07fd3b1814 Add project listings and descriptions to README 2026-03-13 18:32:33 +08:00
郑诚 (Cheng Zheng)
53f6237240 Update README.md 2026-03-13 15:37:12 +08:00
郑诚 (Cheng Zheng)
50d718f86e Merge pull request #775 from 1c7/batch-add-projects-20260312-162430
新增项目:批量添加 2 个项目
2026-03-13 10:08:16 +08:00
郑诚 (Cheng Zheng)
66dd329c65 Update README.md 2026-03-13 10:08:06 +08:00
郑诚 (Cheng Zheng)
f4a128bafa docs: batch add 2 projects 2026-03-13 00:24:32 +08:00
郑诚 (Cheng Zheng)
d2bbf4519c Merge pull request #773 from 1c7/batch-add-projects-20260311-161926
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
新增项目:批量添加 2 个项目
2026-03-12 16:41:29 +08:00
郑诚 (Cheng Zheng)
f8fb52f586 docs: batch add 2 projects 2026-03-12 00:19:28 +08:00
郑诚 (Cheng Zheng)
1dcee5904b Merge pull request #772 from my19940202/master
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
Cursor带我学英语
2026-03-10 19:01:05 +08:00
xibobo
bdc3fcee3f Remove project entry for 'my19940202'
Removed project entry for 'my19940202' from the list.
2026-03-10 09:52:30 +08:00
xibobo
a0e839f67f Add new project entries to README 2026-03-10 09:50:38 +08:00
xibobo
e719744bb5 Update project link in README.md 2026-03-10 09:50:12 +08:00
xibobo
2efa801111 Update README with new project listings
Added new project entries for March 10, 2026, including my19940202's Cursor project.
2026-03-10 09:44:25 +08:00
郑诚 (Cheng Zheng)
c60f7635c3 Update README.md
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
2026-03-09 10:38:57 +08:00
郑诚 (Cheng Zheng)
cee1e8b72e Merge pull request #771 from 1c7/batch-add-projects-20260309-023437
新增项目:批量添加 2 个项目
2026-03-09 10:37:37 +08:00
郑诚 (Cheng Zheng)
748b7fe54d Update README.md 2026-03-09 10:37:28 +08:00
郑诚 (Cheng Zheng)
273a19c578 docs: batch add 2 projects 2026-03-09 10:34:40 +08:00
郑诚 (Cheng Zheng)
6b4d6f3451 Update README.md
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
2026-03-07 22:14:16 +08:00
郑诚 (Cheng Zheng)
65c9a5c6f1 Update README.md 2026-03-07 22:13:19 +08:00
郑诚 (Cheng Zheng)
2b9ac64846 Merge pull request #769 from yzqzy/master
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
Feat: Add New Project
2026-03-07 17:34:06 +08:00
郑诚 (Cheng Zheng)
c3f821136f Merge branch 'master' into master 2026-03-07 17:30:24 +08:00
郑诚 (Cheng Zheng)
c470c3431a Update README.md 2026-03-07 17:28:24 +08:00
yzqzy
dcb04d0e20 Merge branch '1c7:master' into master 2026-03-07 10:42:05 +08:00
yzqzy
ccbc5b378f docs: 添加新项目交易信标 2026-03-07 10:41:37 +08:00
Cheng Zheng
ee7609e1dd docs: 完成 README.md 全量项目核查,更新失效状态
- 累计核查 README.md 中剩余的约 1200+ 个项目
- 将所有确认为 404、500 或无法访问的项目标记为 
- 确保整个主清单的链接有效性状态得到更新
2026-03-06 21:56:20 +08:00
Cheng Zheng
fe77fa82bc 将无法访问的产品,标记为已下线。我用 Gemini CLI 做的检查,让它自动去检查然后修改。
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
2026-03-06 15:13:08 +08:00
Cheng Zheng
c0c1705c67 docs: 更新已失效项目状态并处理反馈
- 检查 README.md 中约 310 个项目的链接有效性
- 将 404/500/超时的项目标记为 
- 根据 alengYuan 反馈更新 README-Programmer-Edition.md
2026-03-06 13:53:27 +08:00
Cheng Zheng
990c8825ce 更新已失效项目 2026-03-06 12:59:25 +08:00
郑诚 (Cheng Zheng)
5f08db82db Merge pull request #767 from 1c7/batch-add-projects-20260305-161931
新增项目:批量添加 2 个项目
2026-03-06 12:47:54 +08:00
郑诚 (Cheng Zheng)
be7f6d96b0 Update README.md 2026-03-06 12:47:17 +08:00
郑诚 (Cheng Zheng)
f54d7673dd docs: batch add 2 projects 2026-03-06 00:19:34 +08:00
郑诚 (Cheng Zheng)
d3fe8fddf3 Merge pull request #765 from 1c7/batch-add-projects-20260304-161758
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
新增项目:批量添加 3 个项目
2026-03-05 12:39:40 +08:00
郑诚 (Cheng Zheng)
9e6e10668a Update README.md 2026-03-05 12:39:18 +08:00
郑诚 (Cheng Zheng)
93ecb728df docs: batch add 3 projects 2026-03-05 00:18:01 +08:00
郑诚 (Cheng Zheng)
081d03b564 Merge pull request #764 from 1c7/batch-add-projects-20260303-161720
新增项目:批量添加 1 个项目
2026-03-04 21:51:30 +08:00
郑诚 (Cheng Zheng)
5a70c7ce90 docs: batch add 1 projects 2026-03-04 00:17:23 +08:00
郑诚 (Cheng Zheng)
905263cbb9 Update README.md
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
2026-03-02 12:02:55 +08:00
郑诚 (Cheng Zheng)
fede6041f0 Update README.md 2026-03-02 11:59:16 +08:00
郑诚 (Cheng Zheng)
6ce5ec176a Merge pull request #763 from 1c7/batch-add-projects-20260301-160621
新增项目:批量添加 1 个项目
2026-03-02 11:56:47 +08:00
郑诚 (Cheng Zheng)
88e05df79f docs: batch add 1 projects 2026-03-02 00:06:24 +08:00
郑诚 (Cheng Zheng)
aabdc6f41b Merge pull request #761 from mundane799699/master
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
添加aihugvideo.app
2026-03-01 14:14:28 +08:00
mundane
3627eb4886 添加aihugvideo.app 2026-03-01 14:08:46 +08:00
郑诚 (Cheng Zheng)
7740a2a640 Merge pull request #760 from 1c7/batch-add-projects-20260301-043212
新增项目:批量添加 3 个项目
2026-03-01 12:35:03 +08:00
郑诚 (Cheng Zheng)
af7d86e7b4 docs: batch add 3 projects 2026-03-01 12:32:15 +08:00
郑诚 (Cheng Zheng)
30c159d0eb Merge pull request #756 from cursorzephyr002-lgtm/add-sonicker
Add Sonicker — AI 语音克隆平台
2026-03-01 12:31:23 +08:00
郑诚 (Cheng Zheng)
5f14449893 Merge pull request #757 from 1c7/batch-add-projects-20260228-160609
新增项目:批量添加 1 个项目
2026-03-01 12:30:28 +08:00
郑诚 (Cheng Zheng)
83a057a85f Merge pull request #759 from leodenglovescode/master
Update CID List to include @leodenglovescode
2026-03-01 12:28:29 +08:00
Leodeng
72fe759275 Update CID List to include @leodenglovescode 2026-03-01 11:59:31 +08:00
郑诚 (Cheng Zheng)
00351aa5da docs: batch add 1 projects 2026-03-01 00:06:12 +08:00
郑诚 (Cheng Zheng)
b634e9ca52 Merge pull request #755 from 1c7/batch-add-projects-20260227-161212
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
新增项目:批量添加 2 个项目
2026-02-28 11:27:59 +08:00
郑诚 (Cheng Zheng)
1ccc4b4829 Update README.md 2026-02-28 11:27:50 +08:00
郑诚 (Cheng Zheng)
ae13e9bc77 docs: batch add 2 projects 2026-02-28 00:12:15 +08:00
sonicker
32b5a85f09 Add Sonicker — AI 语音克隆平台 2026-02-27 23:45:15 +08:00
郑诚 (Cheng Zheng)
1dd96e87b4 Merge pull request #752 from emptykid/add-daziya
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
Add 打字鸭 - 免费中文打字练习平台
2026-02-27 16:06:07 +08:00
xiaoqiang
ed68f74783 Add 打字鸭 - 免费中文打字练习平台 2026-02-27 13:29:30 +08:00
郑诚 (Cheng Zheng)
71845f2823 Update README.md 2026-02-27 11:55:15 +08:00
郑诚 (Cheng Zheng)
9f91c0bcc4 Update README.md
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
2026-02-26 12:08:10 +08:00
郑诚 (Cheng Zheng)
c6a43136fd Merge pull request #749 from 1c7/batch-add-projects-20260225-162709
新增项目:批量添加 1 个项目
2026-02-26 12:07:22 +08:00
郑诚 (Cheng Zheng)
40bc8dbb7c Merge branch 'master' into batch-add-projects-20260225-162709 2026-02-26 11:50:58 +08:00
郑诚 (Cheng Zheng)
1bdc615e47 Merge pull request #748 from Sherlockouo/feat/leaf_resume
feat: leaf-resume 简历助手 欢迎体验!
2026-02-26 11:23:50 +08:00
郑诚 (Cheng Zheng)
86519f7ff1 docs: batch add 1 projects 2026-02-26 00:27:12 +08:00
dingfeng
58d860782a feat: leaf-resume 简历助手 欢迎体验! 2026-02-26 00:13:58 +08:00
郑诚 (Cheng Zheng)
727927bf3f Update README.md
Some checks failed
提交项目(每 24 小时运行一次,晚上 00:00) / build (push) Has been cancelled
2026-02-25 18:34:37 +08:00
郑诚 (Cheng Zheng)
5eeb3ae632 Update README.md 2026-02-25 18:33:38 +08:00
郑诚 (Cheng Zheng)
0c8c14bff8 Update README.md 2026-02-25 12:02:36 +08:00
郑诚 (Cheng Zheng)
154022589d Merge pull request #745 from 1c7/batch-add-projects-20260222-160710
新增项目:批量添加 1 个项目
2026-02-25 11:22:03 +08:00
3 changed files with 702 additions and 357 deletions

View File

@@ -1,3 +1,4 @@
# 自动扫描 GitHub Issues 中被标记为 🚀 的项目提交,通过 AI 格式化后批量添加到 README 并创建 Pull Request。
import os
import re
import datetime
@@ -79,62 +80,92 @@ def get_ai_project_line(raw_text):
)
return response.choices[0].message.content.strip()
def check_reactions(item):
"""检查对象Issue 或 IssueComment是否有触发表情且没有成功标记"""
reactions = item.get_reactions()
has_trigger = any(r.content == TRIGGER_EMOJI and r.user.login == ADMIN_HANDLE for r in reactions)
has_success = any(r.content == SUCCESS_EMOJI for r in reactions)
return has_trigger, has_success
def main():
# 检查环境变量
check_environment()
g = Github(PAT_TOKEN)
repo = g.get_repo(REPO_NAME)
issue = repo.get_issue(ISSUE_NUMBER)
# ===== 阶段 1收集待处理项 (Issue 160 评论 + 其他 Open Issue) =====
pending_items = [] # 存储 (item_object, parent_issue_object)
# 1.1 处理 Issue 160 的评论 (Legacy)
issue160 = repo.get_issue(ISSUE_NUMBER)
time_threshold = datetime.now(timezone.utc) - timedelta(days=3)
comments = issue.get_comments(since=time_threshold)
comments160 = issue160.get_comments(since=time_threshold)
for comment in comments160:
has_t, has_s = check_reactions(comment)
if has_t and not has_s:
pending_items.append((comment, issue160))
# ===== 阶段 1收集待处理评论 =====
pending_comments = []
formatted_entries = []
# 1.2 扫描所有其他 Open Issue
open_issues = repo.get_issues(state='open')
comment_time_threshold = datetime.now(timezone.utc) - timedelta(days=7)
for issue in open_issues:
if issue.number == ISSUE_NUMBER:
continue
# 1. 检查 Issue Body
has_t, has_s = check_reactions(issue)
if has_t and not has_s:
pending_items.append((issue, issue))
# 2. 检查最近 7 天的所有评论
comments = issue.get_comments(since=comment_time_threshold)
for comment in comments:
has_t, has_s = check_reactions(comment)
if has_t and not has_s:
pending_items.append((comment, issue))
for comment in comments:
reactions = comment.get_reactions()
has_trigger = any(r.content == TRIGGER_EMOJI and r.user.login == ADMIN_HANDLE for r in reactions)
has_success = any(r.content == SUCCESS_EMOJI for r in reactions)
if has_trigger and not has_success:
print(f"\n{'='*60}")
print(f"处理评论:\n{comment.body}")
print(f"\n评论链接:{comment.html_url}")
print(f"{'='*60}\n")
cleaned_body = remove_quote_blocks(comment.body)
# 判断用户是否自带了 Header
header_match = re.search(r'^####\s+.*', cleaned_body, re.MULTILINE)
if header_match:
header_line = header_match.group(0).strip()
body_for_ai = cleaned_body.replace(header_line, "").strip()
print(f"检测到用户自带 Header: {header_line}")
else:
author_name = comment.user.login
author_url = comment.user.html_url
header_line = f"#### {author_name} - [Github]({author_url})"
body_for_ai = cleaned_body
print(f"自动生成 Header: {header_line}")
# AI 处理项目详情行
project_line = get_ai_project_line(body_for_ai)
formatted_entry = f"{header_line}\n{project_line}"
pending_comments.append(comment)
formatted_entries.append(formatted_entry)
# ===== 阶段 2批量提交 =====
if not pending_comments:
print("无待处理评论")
if not pending_items:
print("无待处理项")
return
print(f"\n共收集 {len(pending_comments)} 个待处理评论")
print(f"\n共收集 {len(pending_items)} 个待处理")
# ===== 阶段 2格式化和 AI 处理 =====
formatted_entries = []
processed_items = [] # 用于最后标记和回复
for obj, parent in pending_items:
print(f"\n{'='*60}")
print(f"处理项目:来自 {parent.html_url}")
print(f"内容:\n{obj.body[:200]}...")
print(f"{'='*60}\n")
cleaned_body = remove_quote_blocks(obj.body)
# 判断用户是否自带了 Header
header_match = re.search(r'^####\s+.*', cleaned_body, re.MULTILINE)
if header_match:
header_line = header_match.group(0).strip()
body_for_ai = cleaned_body.replace(header_line, "").strip()
print(f"检测到用户自带 Header: {header_line}")
else:
author_name = obj.user.login
author_url = obj.user.html_url
header_line = f"#### {author_name} - [Github]({author_url})"
body_for_ai = cleaned_body
print(f"自动生成 Header: {header_line}")
# AI 处理项目详情行
project_line = get_ai_project_line(body_for_ai)
formatted_entry = f"{header_line}\n{project_line}"
formatted_entries.append(formatted_entry)
processed_items.append((obj, parent, formatted_entry))
# ===== 阶段 3批量提交 =====
# 更新 README
content = repo.get_contents("README.md", ref="master")
readme_text = content.decoded_content.decode("utf-8")
@@ -149,8 +180,8 @@ def main():
# 插入所有条目(用两个换行分隔)
insertion_point = new_readme.find(date_header) + len(date_header)
all_entries = "\n\n".join(formatted_entries)
final_readme = new_readme[:insertion_point] + "\n\n" + all_entries + new_readme[insertion_point:]
all_entries_str = "\n\n".join(formatted_entries)
final_readme = new_readme[:insertion_point] + "\n\n" + all_entries_str + new_readme[insertion_point:]
# 创建分支
branch_name = f"batch-add-projects-{datetime.now().strftime('%Y%m%d-%H%M%S')}"
@@ -164,27 +195,27 @@ def main():
repo.create_git_ref(ref=f"refs/heads/{branch_name}", sha=base.commit.sha)
repo.update_file(
"README.md",
f"docs: batch add {len(pending_comments)} projects",
f"docs: batch add {len(processed_items)} projects",
final_readme,
content.sha,
branch=branch_name
)
# 构建 PR body
comment_links = "\n".join([
f"- [{c.user.login}]({c.html_url})"
for c in pending_comments
item_links = "\n".join([
f"- [{obj.user.login}]({obj.html_url})"
for obj, parent, entry in processed_items
])
formatted_list = "\n\n".join([
f"### {i+1}. {formatted_entries[i]}"
for i in range(len(formatted_entries))
f"### {i+1}. {entry}"
for i, (obj, parent, entry) in enumerate(processed_items)
])
pr_body = f"""批量添加 {len(pending_comments)} 个项目
pr_body = f"""批量添加 {len(processed_items)} 个项目
## 原始评论链接
{comment_links}
## 原始链接
{item_links}
## 格式化结果
{formatted_list}
@@ -194,7 +225,7 @@ def main():
"""
pr = repo.create_pull(
title=f"新增项目:批量添加 {len(pending_comments)} 个项目",
title=f"新增项目:批量添加 {len(processed_items)} 个项目",
body=pr_body,
head=branch_name,
base="master"
@@ -202,16 +233,25 @@ def main():
print(f"\n✅ PR 创建成功:{pr.html_url}")
# 标记所有评论(添加 🎉 表情)
for comment in pending_comments:
comment.create_reaction(SUCCESS_EMOJI)
# ===== 阶段 4标记成功并回复 =====
replies = {} # parent_issue -> set of users
# 创建一条评论提及所有用户
user_mentions = " ".join([f"@{c.user.login}" for c in pending_comments])
reply_body = f"{user_mentions} 感谢提交,已添加!\n\n PR 链接:{pr.html_url}"
issue.create_comment(reply_body)
for obj, parent, entry in processed_items:
# 标记所有条目(添加 🎉 表情)
obj.create_reaction(SUCCESS_EMOJI)
# 收集需要回复的 Issue 和用户
if parent not in replies:
replies[parent] = set()
replies[parent].add(obj.user.login)
print(f"\n✅ 已标记所有 {len(pending_comments)} 个评论")
# 分别在各 Issue 回复
for parent, users in replies.items():
user_mentions = " ".join([f"@{u}" for u in users])
reply_body = f"{user_mentions} 感谢提交,已添加!\n\n PR 链接:{pr.html_url}"
parent.create_comment(reply_body)
print(f"\n✅ 已在 {len(replies)} 个 Issue 中标记并回复")
if __name__ == "__main__":
main()

View File

@@ -16,6 +16,30 @@ Issue 和 PR 里偶尔有人提交一些不错的东西,但打开一看,不
程序员版开始于 2019 年 4 月 11 号, 主版面开始于 2018 年 3 月
-->
### 2026 年 3 月 30 号添加
#### yanglian(珠海) - [Github](https://github.com/lian-yang)
* :white_check_mark: [trans](https://github.com/lian-yang/trans):基于 OpenAI 兼容 API 的终端 AI 翻译工具,管道友好,即装即用
### 2026 年 3 月 25 号添加
#### Moresl - [Github](https://github.com/Moresl)
* :white_check_mark: [CCHub](https://github.com/Moresl/cchub)Claude Code 生态管理平台,支持 MCP 服务器管理、Skill 技能管理、多配置切换、自定义 Slash Command 等功能,基于 Tauri v2 构建的桌面应用
### 2026 年 3 月 21 号添加
#### raullenchai - [Github](https://github.com/raullenchai)
* :white_check_mark: [Rapid-MLX](https://github.com/raullenchai/Rapid-MLX)Apple Silicon 上最快的本地 AI 推理引擎OpenAI API 兼容,比 Ollama 快 2-4 倍,支持 17 种工具调用解析器、推理分离、视觉模型和语音功能
### 2026 年 3 月 10 号添加
#### my19940202(上海) - [Github](https://github.com/my19940202)
* :white_check_mark: [Cursor带我学英语](https://github.com/my19940202/cursor-thinking-stat)本地采集cursor对话英语语料信息通过可视化方式分析辅助程序员提升技术英语的学习辅助写好英语prompt
### 2026 年 3 月 1 号添加
#### @leodenglovescode(北京) - [Github](https://github.com/leodenglovescode), [博客](https://leodeng.dev)
* :white_check_mark: [pm2-webmanager](https://github.com/leodenglovescode/pm2-webmanager)基于HTML和JS的新一代PM2进程管理器简易上手。A modern, light-weight web manager for all your PM2 processes
### 2026 年 1 月 14 号添加
#### 草梅友仁 - [Github](https://github.com/CaoMeiYouRen), [博客](https://momei.app/)
* :white_check_mark: [墨梅博客](https://github.com/CaoMeiYouRen/momei):博客平台,专为技术开发者和跨境内容创作者量身定制。专业、高性能、国际化 - [更多介绍](https://docs.momei.app/)
@@ -113,7 +137,7 @@ Issue 和 PR 里偶尔有人提交一些不错的东西,但打开一看,不
### 2025 年 5 月 13 号添加
#### masz
* :white_check_mark: [ui2vue](https://www.ui2vue.cn):生成 vue3 代码的工具网站,支持拖拽&编辑方式添加组件可直接导出vue3代码
* :x: [ui2vue](https://www.ui2vue.cn):生成 vue3 代码的工具网站,支持拖拽&编辑方式添加组件可直接导出vue3代码
### 2025 年 5 月 11 号添加
#### 草梅友仁 - [Github](https://github.com/CaoMeiYouRen), [博客](https://blog.cmyr.ltd/)
@@ -152,7 +176,7 @@ Issue 和 PR 里偶尔有人提交一些不错的东西,但打开一看,不
### 2025 年 3 月 17 号添加
#### dodid - [Github](https://github.com/dodid)
* :white_check_mark: [PAC代理自动配置管理器](https://github.com/dodid/pac-proxy-manager)管理代理自动配置文件PAC支持灵活的代理规则设置
* :x: [PAC代理自动配置管理器](https://github.com/dodid/pac-proxy-manager)管理代理自动配置文件PAC支持灵活的代理规则设置
### 2025 年 2 月 10 号添加
#### yvling(合肥) - [Github](https://github.com/yv1ing), [博客](https://blog.yvling.cn)
@@ -732,5 +756,5 @@ Issue 和 PR 里偶尔有人提交一些不错的东西,但打开一看,不
* :white_check_mark: [Image2ASCII](https://github.com/qeesung/image2ascii.git) : 图片转化为 ASCII 码的命令行工具
* :white_check_mark: [ASCIIPlayer](https://github.com/qeesung/asciiplayer) : 图片GIF视屏 ASCII 转化播放命令行工具
#### 袁慠棱(南京) - [Github](https://github.com/alengYuan), [博客](http://slothindie.org/)
* :white_check_mark: [LemonTea](http://lemontea.slothindie.org/):极简且特别的静态网站生成器 - [更多介绍](http://lemontea.slothindie.org/book/index.html)
#### 袁慠棱 - [Github](https://github.com/alengYuan), [博客](http://slothindie.org/)
* :x: [LemonTea](http://lemontea.slothindie.org/):极简且特别的静态网站生成器 - [更多介绍](http://lemontea.slothindie.org/book/index.html)

861
README.md

File diff suppressed because it is too large Load Diff