{"id":40429623,"url":"https://github.com/ultrazg/xyz","last_synced_at":"2026-01-20T16:03:04.652Z","repository":{"id":235223115,"uuid":"790302316","full_name":"ultrazg/xyz","owner":"ultrazg","description":"小宇宙FM API","archived":false,"fork":false,"pushed_at":"2025-08-20T14:00:10.000Z","size":369,"stargazers_count":143,"open_issues_count":3,"forks_count":21,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-20T15:37:48.924Z","etag":null,"topics":["api","fm","golang","podcast","xiaoyuzhou","xiaoyuzhouapp","xiaoyuzhoufm","xyz"],"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/ultrazg.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-04-22T16:25:18.000Z","updated_at":"2025-08-20T13:51:01.000Z","dependencies_parsed_at":"2024-05-27T17:49:20.789Z","dependency_job_id":"1d01fe2d-8f78-4785-b3cd-383e5191329c","html_url":"https://github.com/ultrazg/xyz","commit_stats":null,"previous_names":["ultrazg/xyz"],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/ultrazg/xyz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ultrazg%2Fxyz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ultrazg%2Fxyz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ultrazg%2Fxyz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ultrazg%2Fxyz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ultrazg","download_url":"https://codeload.github.com/ultrazg/xyz/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ultrazg%2Fxyz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28606307,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T14:45:23.139Z","status":"ssl_error","status_checked_at":"2026-01-20T14:44:16.929Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["api","fm","golang","podcast","xiaoyuzhou","xiaoyuzhouapp","xiaoyuzhoufm","xyz"],"created_at":"2026-01-20T16:03:04.592Z","updated_at":"2026-01-20T16:03:04.644Z","avatar_url":"https://github.com/ultrazg.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e **⚠️ 本项目登录功能已失效**\n\n\u003ch1 align=\"center\"\u003e\n  \u003cimg src=\"./logo.png\" alt=\"xyz\" width=\"100\"\u003e\n  \u003cbr\u003exyz\u003cbr\u003e\n\u003c/h1\u003e\n\u003ch4 align=\"center\"\u003e小宇宙FM API\u003c/h4\u003e\n\n## 免责声明\n\n**⚠️ 本项目仅供学习、研究使用，请遵守国家法律，严禁用于任何非法用途**\n\n## 环境\n\nGo 1.22.0 \u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/Go-1.22.0-blue.svg\"\u003e\n\n## 安装\n\n```shell\n$ git clone git@github.com:ultrazg/xyz.git\n$ cd xyz\n$ go mod tidy\n```\n\n## 运行\n\n```shell\n$ go run .\n```\n\n服务端启动默认端口为 `23020`，若想使用其他端口，可执行以下命令：\n\n```shell\n$ go run . -p 3000\n```\n\n服务启动时打开文档：\n\n```shell\n$ go run . -d\n```\n\n\u003e 接口地址：http://localhost:{{port}}/login\n\u003e\n\u003e 文档地址：http://localhost:{{port}}/docs\n\n\u003e 可在 [Releases](https://github.com/ultrazg/xyz/releases) 下载编译好的可执行文件\n\n## 作为模块\n\n```shell\ngo get github.com/ultrazg/xyz\n```\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/ultrazg/xyz/service\"\n)\n\nfunc main() {\n\terr := service.Start()\n\tif err != nil {\n\t\tfmt.Println(\"fail\")\n\t}\n}\n```\n\n## 构建\n\n项目内提供对应平台的 `build.sh` 文件，按需执行即可\n\n## 功能\n\n- [x] 发送验证码\n- [x] 短信登录\n- [x] 刷新 token\n- [x] 搜索节目、单集和用户\n- [x] 「你可能想搜的内容」\n- [x] 获取我的信息\n- [x] 获取节目、单集等内容\n- [x] 获取「我的订阅」\n- [x] 订阅/取消订阅节目\n- [x] 查询节目列表\n- [x] 查询节目内「最受欢迎」的单集列表\n- [x] 查询节目公告、荣誉墙、主体等信息\n- [x] 获取播客音频链接\n- [x] 查询单集详情\n- [x] 查询节目详情\n- [x] 相关节目推荐\n- [x] 查询「我的贴纸」\n- [x] 展示「我的贴纸墙」\n- [x] 查询/更新单集播放进度\n- [x] 查询单集评论\n- [x] 查询评论回复\n- [x] 创建/删除评论\n- [x] 获取榜单、精选节目、推荐等\n- [x] 正在收听的人数\n- [x] 精彩时间点\n- [x] 创建精彩时间点\n- [x] 订阅列表更新\n- [x] 获取分类、分类标签以及查询分类内容\n- [x] 星标订阅管理\n- [x] 收藏单集、评论\n- [x] 查询「我的收藏」\n- [x] 收听历史\n- [x] 未读消息\n- [x] 查询用户信息和用户统计数据\n- [x] 刷新「大家都在听」推荐\n- [x] 查询/更新收听数据\n- [x] 查询「个人主页」收听历史记录\n- [x] 查询「用户的喜欢」\n- [x] 查询「新节目广场」\n- [x] 查询「编辑精选历史」\n- [x] 查询用户创建的播客节目\n- [x] 查询首页榜单（最热榜、锋芒榜和新星榜）\n- [x] 查询关注与被关注列表\n- [x] 点赞/取消点赞评论\n- [x] 获取黑名单列表\n- [x] 拉黑/取消拉黑用户\n- [x] 获取用户偏好设置\n- [x] 更新用户偏好设置\n- [x] 关注/取关用户\n- [ ] ...\n\n## License\n\n[The MIT License](https://github.com/ultrazg/xyz/blob/dev/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fultrazg%2Fxyz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fultrazg%2Fxyz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fultrazg%2Fxyz/lists"}