{"id":36806840,"url":"https://github.com/a645162/shmtu-auth","last_synced_at":"2026-01-12T13:40:43.147Z","repository":{"id":226782473,"uuid":"769540634","full_name":"a645162/shmtu-auth","owner":"a645162","description":"上海海事大学校园网认证脚本。Shanghai Maritime University Network Login.","archived":false,"fork":false,"pushed_at":"2025-07-05T06:46:55.000Z","size":15965,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-21T03:37:14.661Z","etag":null,"topics":["nas","ruijie","school","server","shmtu"],"latest_commit_sha":null,"homepage":"https://a645162.github.io/shmtu-auth/","language":"Python","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/a645162.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2024-03-09T11:19:54.000Z","updated_at":"2025-06-16T06:19:20.000Z","dependencies_parsed_at":"2024-04-07T07:34:28.112Z","dependency_job_id":"a959c0b8-74d0-4635-a4a9-79d5a671192f","html_url":"https://github.com/a645162/shmtu-auth","commit_stats":null,"previous_names":["a645162/shmtu-auth"],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/a645162/shmtu-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a645162%2Fshmtu-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a645162%2Fshmtu-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a645162%2Fshmtu-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a645162%2Fshmtu-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a645162","download_url":"https://codeload.github.com/a645162/shmtu-auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a645162%2Fshmtu-auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28339315,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["nas","ruijie","school","server","shmtu"],"created_at":"2026-01-12T13:40:41.340Z","updated_at":"2026-01-12T13:40:43.112Z","avatar_url":"https://github.com/a645162.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 上海海事大学-校园网-自动认证\n\n\u003c!-- markdownlint-disable html --\u003e\n\n\u003cdiv align=\"center\" style=\"text-align: center;\"\u003e\n\u003cimg \n    src=\"Assets/Images/Logo/Logo128.png\" \n    alt=\"Logo\"\n/\u003e\n\n\u003cdiv class=\"badges\"\u003e\n\n![Python 3.5+](https://img.shields.io/badge/Python-3.5%2B-brightgreen)\n[![License](https://img.shields.io/github/license/a645162/shmtu-auth?label=license\u0026logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaH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AwLjIzLS44OTZMMjAuMDcgNy41aDEuNTc4YS43NS43NSAwIDAwMC0xLjVoLTQuMTAyYS4yNS4yNSAwIDAxLS4xNC0uMDQzbC0xLjY5Ny0xLjE1NGExLjc1IDEuNzUgMCAwMC0uOTg0LS4zMDNIMTIuNzVWMi43NXpNMi4xOTMgMTUuMTk4YTUuNDE4IDUuNDE4IDAgMDAyLjU1Ny42MzUgNS40MTggNS40MTggMCAwMDIuNTU3LS42MzVMNC43NSA5LjM2OGwtMi41NTcgNS44M3ptMTQuNTEtLjAyNGMuMDgyLjA0LjE3NC4wODMuMjc1LjEyNi41My4yMjMgMS4zMDUuNDUgMi4yNzIuNDVhNS44NDYgNS44NDYgMCAwMDIuNTQ3LS41NzZMMTkuMjUgOS4zNjdsLTIuNTQ3IDUuODA3eiI+PC9wYXRoPjwvc3ZnPgo=)](#license)\n\n\u003c/div\u003e\n\n\u003cdiv class=\"build-status\"\u003e\n\n\u003c/div\u003e\n\n\u003c/div\u003e\n\n![GUI](Assets/Images/QQ20240423002922.png)\n\n## 使用文档\n\n请参考\n[使用文档](https://a645162.github.io/shmtu-auth/)\n\n## 支持平台\n\n- Windows命令行(exe、pip)\n- macOS命令行(二进制文件、pip)\n- Linux命令行(pip)\n- Docker镜像\n\nGUI Coming Soon...\n\n## Features\n\n- [x] 自动认证\n- [x] 程序记录日志\n\n## 使用方法\n\n### 直接使用二进制可执行文件(推荐)\n\n### Docker(推荐在服务器中使用这种方式)\n\n[https://hub.docker.com/r/a645162/shmtu-auth](https://hub.docker.com/r/a645162/shmtu-auth)\n\n```bash\ndocker pull registry.cn-shanghai.aliyuncs.com/a645162/shmtu-auth:latest\n```\n\n### 直接运行Python源代码(请手动安装依赖库)\n\n#### Windows\n\n```powershell\n.\\start.ps1\n```\n\n#### Linux\n\n```bash\nchmod +x start.sh\n./start.sh\n```\n\n## 环境变量\n\n**必选配置项：**\n\n学号列表中，学号之间用`;`分隔\n\n- `SHMTU_AUTH_USER_LIST` : {学号1};{学号2}\n- `SHMTU_AUTH_USER_PWD_{学号1}` : {学号1的密码}\n- `SHMTU_AUTH_USER_PWD_{学号2}` : {学号2的密码}\n- `SHMTU_AUTH_USER_PWD_ENCRYPT_{学号1}` : {学号1的密码的是否为密文，密文为1，否则不用填}\n\n**可选配置项：**\n\n- `SHMTU_MACHINE_NAME`: 服务器名称\n- `SHMTU_AUTH_TIME_INTERVAL`: 认证状态检测时间间隔\n\u003c!-- - `SHMTU_AUTH_WEBHOOK_WEWORK`: 企业微信机器人WebHook --\u003e\n\u003c!-- - `SHMTU_WEBHOOK_SLEEP_TIME_START`: WebHook免打扰-开始时间 --\u003e\n\u003c!-- - `SHMTU_WEBHOOK_SLEEP_TIME_END`: WebHook免打扰-结束时间 --\u003e\n\n## 开发指南\n\n推荐使用`uv`进行包管理，也可以使用`Anaconda`或`Miniconda`创建虚拟环境。\n推荐使用学生认证的`Jetbrains PyCharm Professional`进行开发。\n\n因为许多开发步骤已经在`PyCharm`中配置好，因此推荐使用`PyCharm`进行开发。\n\n## GUI说明\n\nWindows下AMD显卡显示Mica云母特效会有问题，因此全局关闭了Mica云母特效。\n\nmacOS x64下Python版本必须小于等于3.11，否则无法安装PySide6。\n\n## License\n\n本程序使用[GPL-3.0](https://www.gnu.org/licenses/gpl-3.0.html)协议开源。\n\nGPLv3协议是我非常喜欢的一个协议，我的大部分程序均基于GPLv3协议开源。\n\n此外，本程序使用到的QFluentWidgets库恰好也是基于GPLv3协议开源的。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa645162%2Fshmtu-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa645162%2Fshmtu-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa645162%2Fshmtu-auth/lists"}