{"id":13467388,"url":"https://github.com/PrintNow/ChaoxingSign","last_synced_at":"2025-03-26T02:31:23.672Z","repository":{"id":37699829,"uuid":"260459143","full_name":"PrintNow/ChaoxingSign","owner":"PrintNow","description":"PHP版超星学习通自动签到（包括普通签到、手势签到、位置签到，不支持二维码签到），支持多用户，二次开发便捷！","archived":false,"fork":false,"pushed_at":"2023-06-28T01:52:36.000Z","size":103,"stargazers_count":118,"open_issues_count":21,"forks_count":24,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-29T21:53:38.525Z","etag":null,"topics":["chaoxing","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PrintNow.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}},"created_at":"2020-05-01T12:55:45.000Z","updated_at":"2024-10-15T14:19:05.000Z","dependencies_parsed_at":"2024-10-29T20:50:23.326Z","dependency_job_id":null,"html_url":"https://github.com/PrintNow/ChaoxingSign","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrintNow%2FChaoxingSign","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrintNow%2FChaoxingSign/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrintNow%2FChaoxingSign/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrintNow%2FChaoxingSign/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrintNow","download_url":"https://codeload.github.com/PrintNow/ChaoxingSign/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245576529,"owners_count":20638125,"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":["chaoxing","php"],"created_at":"2024-07-31T15:00:55.759Z","updated_at":"2025-03-26T02:31:21.399Z","avatar_url":"https://github.com/PrintNow.png","language":"PHP","readme":"# ⭐ ChaoxingSign | 超星学习通签到\nPHP 版超星学习用自动签到，支持多用户签到，二次开发便捷！\n\n`PHP 7.3` 测试通过，理应 `PHP 5.4` 及以上都能够使用\n\n- 登录方式：\n\n支持手机号码登录，暂时不支持学号登陆！！！\n\n- 签到功能：\n\n支持普通签到，手势签到，~~二维码签到~~，位置签到，拍照签到（无图片上传）\n\n# 🎨 更新日志\n\u003cdetails open\u003e\n  \u003csummary\u003e2023/2/12\u003c/summary\u003e\n  \n- 增加了docker-compose运行的支持，运行`run-docker.sh`即可完成一键部署\n\u003cdetails open\u003e\n  \u003csummary\u003e2022/12/23\u003c/summary\u003e\n  \n- 增加Go-cqhttp推送，需要配置 config.php 文件\n- 支持直接在config.php文件配置账号和密码（单用户使用）\n- 默认设置了周六周日不签到\n\u003cdetails open\u003e\n  \u003csummary\u003e2022/08/29\u003c/summary\u003e\n  \n- 修复无法登录的Bug\n- 修复无法位置签到的Bug\n- 调整了curl的实现方法，方便后期debug\n\u003c/details open\u003e\n\u003cdetails\u003e\n  \u003csummary\u003e2022/06/06\u003c/summary\u003e\n  \n- 增加预签到\n- 修复无法签到的Bug\n\u003c/details\u003e\n\u003cdetails\u003e\n  \u003csummary\u003e2022/04/27\u003c/summary\u003e\n  \n- 新增 Bark 推送 \n  \u003e Bark API的末尾不需要添加 / \n- 修复获取课程失败导致签到失败的Bug \n- 优化签到效率 \n\u003c/details\u003e\n\u003cdetails\u003e\n  \u003csummary\u003e2021/03/21\u003c/summary\u003e\n\n- \u003ca href=\"https://github.com/xiwangly2/ChaoxingSign/issues/6\"\u003e#6\u003c/a\u003e 升级为新版 Server 酱推送通道，原因：微信发布公告将在2021年4月底下线模板消息，故旧版推送通道将于 2021年4月 下线\n    \u003e 获取本源码后，请配置 `Config.php` 的相关配置\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003e2020/06/13\u003c/summary\u003e\n\n- 修复 \u003ca href=\"https://github.com/xiwangly2/ChaoxingSign/issues/2\"\u003e#2\u003c/a\u003e 的问题，配置了 Server酱但不推送的问题\n- 更改 判断时间区间的方法\n- 添加 获取课程列表失败，重试2次以判断是API错误\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003e2020/05/27\u003c/summary\u003e\n\n- 修复 \u003ca href=\"https://github.com/xiwangly2/ChaoxingSign/issues/1\"\u003e#1\u003c/a\u003e\n- 更改 获取课程、签到 API\n- 添加 手势、位置、二维码一键签到\n- 添加 Server酱 微信推送，需要配置 `config.php` 文件\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003e2020/05/25\u003c/summary\u003e\n\n- 更改 登录接口，原接口已经失效\n\u003c/details\u003e\n\n# 🎁 TODO\n- [] 接入钉钉机器人 API\n\n# 🧀 使用方法\n1. 下载源码：\n\n    直接下载：https://github.com/xiwangly2/ChaoxingSign/archive/master.zip\n    \n    克隆源码：`git clone https://github.com/xiwangly2/ChaoxingSign.git`\n\n2. 🚀 运行\n    1. 上传到**网站根目录**运行\n    \n        然后访问 `http://你的域名/main.php?account=你的超星账号\u0026password=你的超星密码`\n    \n    2. 或者使用**命令行**运行\n       ```\n       php main.php -A \"你的超星账号\" -P \"你的超星密码\"\n       ```\n\n3. ⚙ 实现自动签到\n    \u003e 推荐大于等于 **10 分钟** 执行一次，避免出现异常\n    \u003e \n    \u003e 我已经硬编仅能在每天的 08:00 ~ 22:00 之间运行，\n    \u003e 如果要取消或修改这一限制，请删除或注释\n    \u003e `main.php` 第 7~9 行\n    1. 如果以**网页方式**运行，定时监控 `http://你的域名/main.php?account=你的超星账号\u0026password=你的超星密码` 即可\n    2. 如果使用**命令行方式**运行，添加 `crontab` 任务即可，具体添加 `crontab 任务` 方法可以网上搜。\n    每天 早上8点到晚上22点之间，每10分钟签到一次 crontab 表达式：`0 */10 8-22 * * * *`\n\n# √ 运行输出\n签到成功：\n```\n正在签到：陈半仙@测试班级\n[2020-06-13 11:44:14]签到成功\n\nServer酱 消息推送成功\n```\n\n没有签到任务：\n```\n没有待签到的任务\n```\n\n# ❗ 注意\n超星**可能**屏蔽了如 阿里云、腾讯云、百度云... 等 IDC IP 地址，故有可能出现未知的错误（我没测试，我仅在家庭宽带中测试成功）\n\n# 🙇‍ 感谢\n\u003e 本项目的实现参考了以下文章\n\n- https://www.z2blog.com/index.php/learn/423.html\n- https://www.z2blog.com/index.php/default/459.html\n\n\u003e 本项目中使用到的 `Selector.php` 来自 [PHPSpider](https://github.com/owner888/phpspider) \n\n# License\n遵循 [MIT License](./LICENSE) 协议\n\n## 其它版本签到脚本推荐\n\u003e 排名不分先后\n\n| 项目地址                                                | 开发语言   | 备注                                         |\n| ------------------------------------------------------- | ---------- | ------------------------------------------ |\n| https://github.com/mkdir700/chaoxing_auto_sign          | Python     | 超星学习通自动签到脚本\u0026多用户多任务\u0026API       |\n| https://github.com/Wzb3422/auto-sign-chaoxing           | TypeScript | 超星学习通自动签到，梦中刷网课                |\n| https://github.com/aihuahua-522/chaoxing-testforAndroid | Java       | 学习通（超星）自动签到                       |\n| https://github.com/yuban10703/chaoxingsign              | Python     | 超星学习通自动签到                           |\n| https://github.com/Huangyan0804/AutoCheckin             | Python     | 学习通自动签到，支持手势，二维码，位置，拍照等 |\n","funding_links":[],"categories":["PHP"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPrintNow%2FChaoxingSign","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPrintNow%2FChaoxingSign","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPrintNow%2FChaoxingSign/lists"}