{"id":13467067,"url":"https://github.com/clansty/superstar-checkin","last_synced_at":"2025-05-03T05:32:50.664Z","repository":{"id":37018566,"uuid":"407735832","full_name":"clansty/superstar-checkin","owner":"clansty","description":"超星学习通自动签到","archived":false,"fork":false,"pushed_at":"2023-03-27T05:05:32.000Z","size":2236,"stargazers_count":160,"open_issues_count":12,"forks_count":17,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-10-29T20:34:50.509Z","etag":null,"topics":["chaoxing","checkin","superstar","xuexitong"],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clansty.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":"2021-09-18T02:40:17.000Z","updated_at":"2024-10-27T08:55:01.000Z","dependencies_parsed_at":"2024-10-29T20:04:33.323Z","dependency_job_id":null,"html_url":"https://github.com/clansty/superstar-checkin","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clansty%2Fsuperstar-checkin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clansty%2Fsuperstar-checkin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clansty%2Fsuperstar-checkin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clansty%2Fsuperstar-checkin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clansty","download_url":"https://codeload.github.com/clansty/superstar-checkin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224354775,"owners_count":17297410,"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","checkin","superstar","xuexitong"],"created_at":"2024-07-31T15:00:52.787Z","updated_at":"2024-11-12T21:44:58.175Z","avatar_url":"https://github.com/clansty.png","language":"Nix","funding_links":[],"categories":["Nix"],"sub_categories":[],"readme":"# Superstar Checkin\n\n超星学习通自动签到工具\n\n[![GitHub package.json dependency version (prod)](https://img.shields.io/github/package-json/dependency-version/Clansty/Superstar-checkin/oicq/main)](https://github.com/takayama-lily/oicq)\n[![discord](https://img.shields.io/static/v1?label=chat\u0026message=discord\u0026color=7289da\u0026logo=discord)](https://discord.gg/WV8W25eH)\n\n特色：\n\n- 通过 IM 协议实时获取签到信息，而不是每隔一定时间请求服务器\n\n- 包含 QQ 机器人，实时向指定的群通知程序状态\n\n- 支持使用任何一张二维码进行二维码签到，即使二维码已经过期（直接在指定群内发送二维码即可）\n\n## 功能（已实现部分）\n\n- [x] 自动取 Cookie，过期自动更新\n\n- [x] 支持通过学习通 IM 协议实时获取签到推送\n\n- [x] 在群内发送提醒并自动签到\n\n- [x] 通过 QQ 机器人接收群内发送的二维码实现二维码签到\n\n  本功能只需要一张已过期的二维码就可以\n\n- [x] 支持多用户共同签到\n\n- [x] 根据课程设置签到经纬度以及位置名称\n\n  请使用[此网页](https://api.map.baidu.com/lbsapi/getpoint/index.html)拾取坐标\n\n- [x] 支持通过周次设定签到的地址，适用于实验课和正课在不同地点的情况\n\n- [x] 手动签到\n\n  机器人命令：`签到 {aid} [enc(二维码签到时)|courseId(位置签到时。不需要提交位置可以不填)]`\n\n- [x] Docker 和 Docker Compose 部署\n\n- [ ] 通过 REST API 设置课程信息\n\n## 部署方法\n\n### 使用 Docker Compose 部署\n\n1. 下载 [docker-compose.yaml](https://github.com/Clansty/superstar-checkin/raw/main/docker-compose.yaml) 和 [config.example.yaml](https://github.com/Clansty/superstar-checkin/raw/main/config.example.yaml)，将它们放在一个文件夹中\n2. 将 `config.example.yaml` 重命名为 `config.yaml`\n3. 修改 `config.yaml` 中的配置项\n4. `docker compose up`\n\n### 使用 NixOS 部署\n\n1. 在你的系统 Flake 中，引入本项目\n\n    ```nix\n    inputs.superstar-checkin.url = \"github:clansty/superstar-checkin\";\n    ```\n\n2. 在系统配置的某个 Module 中填写配置项（[查看示例](./config.example.nix)）\n3. `nixos-rebuild switch`\n\n可以使用 `systemctl status superstar-checkin` 来查看状态\n\n### 手动部署\n\n1. 安装 NodeJS 14 以上版本\n2. `yarn install`\n3. `cp config.example.yaml config.yaml` 并在 `config.yaml` 中填写配置项。配置文件中自带说明，请参考\n4. `yarn build`\n5. `yarn start`\n\n提示：机器人使用的账号必须已经在 [oicq](https://github.com/takayama-lily/oicq) 框架上登录过\n\n## 限制\n\n（据说）学习通禁止腾讯云阿里云这种 IP 签到，所以需要部署在家庭宽带下\n\n## 参考\n\n本程序借鉴了一些前人的项目：\n\n- [mkdir700/chaoxing_auto_sign](https://github.com/mkdir700/chaoxing_auto_sign)\n- [SSmJaE/XueXiTonsSign_Electron](https://github.com/SSmJaE/XueXiTonsSign_Electron)\n- [cyanray/cx-auto-sign](https://github.com/cyanray/cx-auto-sign)\n\n更多有关学习通签到的项目值得尝试\n\n| 项目地址                                                | 开发语言   | 备注                                           |\n| ------------------------------------------------------- | ---------- | ---------------------------------------------- |\n| https://github.com/cyanray/cx-auto-sign                 | C#         | 超星学习通自动签到工具，通过IM协议监测签到活动。        |\n| https://github.com/mkdir700/chaoxing_auto_sign          | Python     | 超星学习通自动签到脚本\u0026多用户多任务\u0026API       |\n| https://github.com/PrintNow/ChaoxingSign                | PHP        | PHP版超星自动签到，支持多用户，二次开发便捷！|\n| https://github.com/Wzb3422/auto-sign-chaoxing           | TypeScript | 超星学习通自动签到，梦中刷网课       |\n| https://github.com/Huangyan0804/AutoCheckin             | Python     | 学习通自动签到，支持手势，二维码，位置，拍照等 |\n| https://github.com/aihuahua-522/chaoxing-testforAndroid | Java       | 学习通（超星）自动签到               |\n| https://github.com/yuban10703/chaoxingsign              | Python     | 超星学习通自动签到                   |\n| https://github.com/SSmJaE/XueXiTonsSign_Electron        | TypeScript | 基于Electron，桌面端，GUI，签到队列            |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclansty%2Fsuperstar-checkin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclansty%2Fsuperstar-checkin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclansty%2Fsuperstar-checkin/lists"}