{"id":30641180,"url":"https://github.com/kaguya233qwq/skygo","last_synced_at":"2026-07-02T02:31:05.982Z","repository":{"id":309469783,"uuid":"1035886878","full_name":"Kaguya233qwq/skygo","owner":"Kaguya233qwq","description":"基于zerobot的，使用go开发的sky光遇攻略助手bot","archived":false,"fork":false,"pushed_at":"2025-08-13T02:19:11.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-31T03:53:48.453Z","etag":null,"topics":["zerobot","zerobot-plugin"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Kaguya233qwq.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-08-11T08:39:35.000Z","updated_at":"2025-08-13T02:18:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"c210e4be-2348-4d8d-a346-b386678050bf","html_url":"https://github.com/Kaguya233qwq/skygo","commit_stats":null,"previous_names":["kaguya233qwq/skygo"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Kaguya233qwq/skygo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaguya233qwq%2Fskygo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaguya233qwq%2Fskygo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaguya233qwq%2Fskygo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaguya233qwq%2Fskygo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kaguya233qwq","download_url":"https://codeload.github.com/Kaguya233qwq/skygo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaguya233qwq%2Fskygo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35030920,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-02T02:00:06.368Z","response_time":173,"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":["zerobot","zerobot-plugin"],"created_at":"2025-08-31T01:39:52.929Z","updated_at":"2026-07-02T02:31:05.974Z","avatar_url":"https://github.com/Kaguya233qwq.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SkyGo ✨\n\n[![Go Version](https://img.shields.io/badge/Go-1.20%2B-blue.svg)](https://go.dev/)\n[![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)\n[![Release](https://img.shields.io/github/v/release/Kaguya233qwq/skygo)](https://github.com/Kaguya233qwq/skygo/releases)\n[![Platform](https://img.shields.io/badge/Platform-Windows%20%7C%20Linux%20%7C%20macOS-lightgrey)](https://github.com/Kaguya233qwq/skygo/releases)\n\n一个基于 [ZeroBot](https://github.com/wdvxdr1123/ZeroBot)，使用 Go 语言开发的《光·遇》攻略机器人。\n\n旨在提供一个快速、轻量、跨平台的光遇机器人方案，易于部署和使用。\n\n## 🚀 特性\n\n-   **快速响应**: 基于 Go 语言和高性能的 ZeroBot 框架，性能卓越，资源占用低。\n-   **简单易用**: 只需填写几个配置项即可启动，无需复杂的部署流程。\n-   **跨平台**: 得益于go的交叉编译功能，项目集成一键跨平台编译脚本，可直接在 Windows, Linux, macOS 上编译和运行。\n\n## ⚡️ 快速开始\n\n对于大多数用户，推荐直接从 **Releases** 页面下载预编译好的程序。\n\n### 1. 下载程序\n\n前往项目 [Releases 页面](https://github.com/Kaguya233qwq/skygo/releases)，根据你的操作系统下载最新的压缩包。\n\n-   `skygo_windows_amd64.zip`: 适用于 64 位的 Windows 系统。\n-   `skygo_linux_amd64.tar.gz`: 适用于 64 位的 Linux 系统。\n-   `skygo_linux_arm64.tar.gz`: 适用于 64 位的 arm/aarch 的 Linux 系统。\n-   `skygo_darwin_amd64.tar.gz`: 适用于 Intel 芯片的 macOS。\n-   `skygo_darwin_arm64.tar.gz`: 适用于 Apple M 系列芯片的 macOS。\n\n### 2. 解压文件\n\n将下载的压缩包解压到需要部署或运行的设备的任意目录。\n\n### 3. 首次运行 (生成配置)\n\n直接运行解压后的可执行文件。\n-   **Windows**: 双击 `skygo_windows_xxx.exe`。\n-   **Linux / macOS**: \n\n授予软件可执行权限：`chmod +x skygo_xxx_xxx`\n\n在终端中运行 `./skygo_xxx_xxx`\n\n程序会自动创建一个名为 `.env` 的文件并退出。\n\n### 4. 编辑配置文件\n\n使用任意文本编辑器打开刚刚生成的 `.env` 文件，根据下面的说明填写所有必要信息。\n\n#### ⚙️ 配置说明\n\n所有配置项都在 `.env` 文件中。请确保在启动前已正确填写。\n\n| 变量 (Variable)      | 说明                                                                                                                                                             | 示例                                     |\n| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- |\n| `YT_API_KEY`         | **必需。** 用于调用相关功能的API Key。请前往 **[应天API](https://api.t1qq.com/user/key)** 获取。                                                                   | `abcde12345`                             |\n| `BOT_NAME`           | **必需。** 机器人显示的昵称，默认为skygo                                        |  `skygo`                              |\n|  `COMMAND_PREFIX`                   | **必需。** 触发机器人指令的指令前缀，默认为'.'                  |  `.`                                                                      | `skygo`                               |\n| `SUPER_USERS`        | **必需。** 超级用户的QQ号列表，拥有管理员指令的执行权限。**多个用户请使用英文逗号(,)分隔。**                                                                              | `123456789,987654321`                    |\n| `WS_SERVER_URL`      | **(二选一)** 反向 WebSocket 地址。如果使用此项，请将 `WS_CLIENT_URL` 留空。                                                                          | `ws://127.0.0.1:8000`                    |\n| `WS_CLIENT_URL`      | **(二选一)** 正向 WebSocket 地址。如果使用此项，请将 `WS_SERVER_URL` 留空。                                                                          | `ws://127.0.0.1:6700`                    |\n| `ACCESS_TOKEN`         | **可选。** 对接协议端时通信所需的令牌，需要和协议端保持一致，默认为空                                                                            | `12345`                           |\n\n### 5. 再次运行\n\n配置好 `.env` 文件后保存，再次运行程序。如果其他错误，那么skygo此时应该就成功启动并连接到您的协议端了,您可以开始使用机器人内置的指令。\n\n### 指令列表（需要命令前缀）\n\n`status`: 查看bot运行设备的占用状态\n\n`光遇菜单`：获取光遇有关的指令列表\n\n`今日国服`：获取国服每日任务信息(图)\n\n`国服复刻`：获取国服旅行先祖信息(图)\n\n`季节蜡烛`：获取国服每日季节蜡烛位置(图)\n\n`季节状态`：获取当前季节的信息\n\n`活动日历`：获取游戏内官方的活动日历\n\n`天气预报`：获取游戏内每日的天气预报\n\n### 常用onebot协议端推荐\n\n建议使用以下项目进行使用websocket进行平台对接，\n\n同时也感谢这些项目的优越开发者为社区做出的卓越贡献：\n\n[Lagrange](https://github.com/LagrangeDev/Lagrange.Core)\n\n[NapcatQQ](https://github.com/NapNeko/NapCatQQ)\n\n[LLOneBot](https://github.com/LLOneBot/LLOneBot)\n\n\n## 🛠️ 从源码构建 (开发者)\n\n如果您希望自行修改代码或进行二次开发，可以按照以下步骤从源码构建。\n\n1.  **准备环境**\n    确保您已安装 [Go](https://go.dev/dl/) (版本 1.20+) 和 [Git](https://git-scm.com/)。\n\n2.  **克隆仓库**\n    ```bash\n    git clone https://github.com/Kaguya233qwq/skygo.git\n    cd skygo\n    ```\n\n3.  **下载依赖**\n    ```bash\n    go mod tidy\n    ```\n\n4.  **构建**\n    - **构建当前平台版本:**\n      ```bash\n      go build\n      ```\n    - **使用脚本交叉编译所有平台:**\n\n      项目内提供了一个便捷的构建脚本：\n      ```bash\n      # Linux / macOS\n      chmod +x build.sh\n      ./build.sh\n      \n      # Windows\n      .\\build.bat\n      ```\n    编译好的文件生成在 `dist` 目录中。\n\n## 更新日志\n\n2025.8.12  v1.0.2 初次推送，使用actions构建，并修复一些问题\n2025.8.13  v1.0.3 添加api_key有效性检查机制\n\n\n## 🙏 致谢\n\n-   **[ZeroBot](https://github.com/wdvxdr1123/ZeroBot)**: 本项目基于这个强大而简洁的go机器人框架开发，感谢各位开发者所贡献出的智慧与汗水。\n\n-   **[nonebot-plugin-sky](https://github.com/Kaguya233qwq/nonebot_plugin_sky)**: 适用于nonebot的sky光遇攻略插件，感谢开发者为本项目提供开发灵感（自己感谢自己可还行）。\n\n## 📜 许可证\n\n本项目采用 [MIT](LICENSE) 许可证。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaguya233qwq%2Fskygo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaguya233qwq%2Fskygo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaguya233qwq%2Fskygo/lists"}