{"id":27443503,"url":"https://github.com/moesakuraa/gameconnmanager","last_synced_at":"2025-10-14T04:14:36.278Z","repository":{"id":287944496,"uuid":"966316862","full_name":"MoeSakuraa/GameConnManager","owner":"MoeSakuraa","description":"使用 Golang 编写的基于 mihomo API 的游戏连接管理器，可以保证使用机场线路打游戏时不掉线","archived":false,"fork":false,"pushed_at":"2025-07-12T06:26:40.000Z","size":22,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-14T04:14:35.647Z","etag":null,"topics":["clash","clash-meta","game","http3","hysteria2","mihomo","quic","shadowsocks","sing-box","trojan"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MoeSakuraa.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-14T18:30:08.000Z","updated_at":"2025-07-12T06:26:43.000Z","dependencies_parsed_at":"2025-07-12T08:11:14.060Z","dependency_job_id":null,"html_url":"https://github.com/MoeSakuraa/GameConnManager","commit_stats":null,"previous_names":["moesakuraa/gameconnmanager"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MoeSakuraa/GameConnManager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoeSakuraa%2FGameConnManager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoeSakuraa%2FGameConnManager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoeSakuraa%2FGameConnManager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoeSakuraa%2FGameConnManager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MoeSakuraa","download_url":"https://codeload.github.com/MoeSakuraa/GameConnManager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoeSakuraa%2FGameConnManager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017984,"owners_count":26086213,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["clash","clash-meta","game","http3","hysteria2","mihomo","quic","shadowsocks","sing-box","trojan"],"created_at":"2025-04-15T02:47:14.663Z","updated_at":"2025-10-14T04:14:36.272Z","avatar_url":"https://github.com/MoeSakuraa.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GameConnManager\n使用 Golang 编写的基于 mihomo API 的游戏连接管理器，可以保证使用机场线路打游戏时不掉线\n## 特性\n- 自动在 Hysteria2 的 QUIC 流上测试 HTTP 延迟，当出现连接超时时自动打断端口转发，迅速连接迁移\n- 自动故障转移，避免单点故障\n- 仅使用香港和日本节点情况下，UDP 会话出问题时，迁移时间小于 100ms；单点故障时，迁移时间小于 1s（且在配置文件中配置更激进的超时可进一步提升迁移速度）\n- 主节点故障后，自动监测主节点存活情况，主节点恢复时自动切换到主节点\n- 仅使用 mihomo API，不需要额外权限\n## 使用场景\n有的机场（即使是超一线机场）节点提供的 UDP 会话有 BUG，会出现某一段时间代理协议显示 UDP 会话状态正常，但是数据完全没有被发送，导致游戏掉线，此插件可以避免此情况的发生，原理是通过自动 HTTP 检测以及 QUIC 流的连接迁移\n## 前提条件\n1. 自己拥有一台落地服务器，部署 sing-box，配置文件参考 `example/sing-box/config.json`\n## 安装\n```bash\ngit clone https://github.com/MoeSakuraa/GameConnManager.git\ngo build\n```\n## 使用方法\n1. mihomo 配置文件参考 `example/mihomo/config.yaml`\n2. 运行即可，程序会读取当前目录 `config.yaml`\n## 授权\n本项目采用 BSD 3-Clause 许可证进行授权。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoesakuraa%2Fgameconnmanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoesakuraa%2Fgameconnmanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoesakuraa%2Fgameconnmanager/lists"}