{"id":31776197,"url":"https://github.com/molanp/phi-plugin-zhenxun","last_synced_at":"2025-10-10T05:26:23.124Z","repository":{"id":288727382,"uuid":"964525709","full_name":"molanp/phi-plugin-zhenxun","owner":"molanp","description":"适用于 zhenxun_bot 的 phigros 辅助插件，支持查询分数信息等功能，以及猜曲目等小游戏（即将完工","archived":false,"fork":false,"pushed_at":"2025-08-08T17:54:41.000Z","size":40174,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-08T19:34:15.941Z","etag":null,"topics":["nonebot","nonebot2","phi-plugin","phigros","plugin","zhenxun","zhenxun-bot","zhenxun-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/molanp.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}},"created_at":"2025-04-11T10:56:58.000Z","updated_at":"2025-08-08T18:02:33.000Z","dependencies_parsed_at":"2025-08-08T19:15:19.257Z","dependency_job_id":"f1e534ab-814d-4f44-8606-c088a52c8a03","html_url":"https://github.com/molanp/phi-plugin-zhenxun","commit_stats":null,"previous_names":["molanp/zhenxun_plugin_phi-plugin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/molanp/phi-plugin-zhenxun","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molanp%2Fphi-plugin-zhenxun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molanp%2Fphi-plugin-zhenxun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molanp%2Fphi-plugin-zhenxun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molanp%2Fphi-plugin-zhenxun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/molanp","download_url":"https://codeload.github.com/molanp/phi-plugin-zhenxun/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molanp%2Fphi-plugin-zhenxun/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002885,"owners_count":26083468,"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-10T02:00:06.843Z","response_time":62,"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":["nonebot","nonebot2","phi-plugin","phigros","plugin","zhenxun","zhenxun-bot","zhenxun-plugin"],"created_at":"2025-10-10T05:26:15.365Z","updated_at":"2025-10-10T05:26:23.118Z","avatar_url":"https://github.com/molanp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003e\n    \u003cpicture\u003e\n      \u003csource srcset=\"./image/logo.avif\" type=\"image/avif\" width=\"80%\"\u003e\n      \u003csource srcset=\"./image/logo.webp\" type=\"image/webp\" width=\"80%\"\u003e\n      \u003cimg src=\"./image/logo.png\" width=\"80%\"\u003e\n    \u003c/picture\u003e\n  \u003c/h1\u003e\n\n[![Stars](https://img.shields.io/github/stars/molanp/zhenxun_plugin_phi-plugin?style=flat-square\u0026color=yellow\u0026label=Star)](https://github.com/molanp/zhenxun_plugin_phi-plugin/stargazers)\n\n![version](https://img.shields.io/badge/插件版本-0.1.0_beta-9cf?style=flat-square)\n![phigros-version](https://img.shields.io/badge/Phigros-3.15.0-9cf?style=flat-square)  \n[![zhenxun_bot](https://img.shields.io/badge/zhenxun_bot-latest-9cf?style=flat-square\u0026logo=dependabot)](https://github.com/zhenxun-org/zhenxun_bot)\n\n\u003c/div\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e当前同步版本号\u003c/summary\u003e\n\n当前同步的版本\n\n[9d8a6d86ad050382783993536c212a0f11c5a8b8](https://github.com/Catrong/phi-plugin/commit/9d8a6d86ad050382783993536c212a0f11c5a8b8)\n\n[已落后的变更](https://github.com/Catrong/phi-plugin/compare/9d8a6d86ad050382783993536c212a0f11c5a8b8...main)\n\n\u003c/details\u003e\n\n\u003e [!IMPORTANT]\n\u003e\n\u003e 当前 `Save -\u003e gameRecord: dict[str, list[\"LevelRecordInfo | None\"]]` 的 `LevelRecordInfo` 补全存在严重的性能问题，正在着手解决但希望渺茫\n\n## 🏃‍♀️ 我跑路了\n\n由于无法解决性能问题，我跑路了，等有大佬能解决了再说，不写了不写了(˙꒫˙`)\n\n\n## 长期寻求合作者共同开发\n\n当前插件功能全部移植完成，正在逐步**测试**各个功能，全部测试通过后将会正式上架插件商店\n\n## 任务列表\n\n- [x] 移植依赖\n- [x] 移植 `apiSetting` (**已被放逐**)\n- [x] 移植 `b19`\n- [x] 移植 `Dan`\n- [x] 移植 `guessGame`\n- [x] 移植 `help`\n- [x] 移植 `jrrp`\n- [x] 移植 `manage`\n- [x] 移植 `money`\n- [x] 移植 `phisong`\n- [x] 移植 `RankList`\n- [x] 移植 `session`\n- [x] 移植 `setting` (**不支持**)\n- [x] 移植 `update` (**不支持**)\n- [x] 移植 `user`\n- [ ] 测试功能\n  - [ ] `b19`\n  - [ ] `Dan`\n  - [ ] `guessGame`\n  - [ ] `help`\n  - [ ] `jrrp`\n  - [ ] `manage`\n  - [ ] `money`\n  - [ ] `phisong`\n  - [ ] `RankList`\n  - [ ] `session`\n  - [ ] `user`\n- [ ] 整理代码逻辑\n- [ ] 优化代码性能\n\n### 介绍\n\n`phi-plugin` 为查询 Phigros 信息的插件，包括 b30、score、userinfo 以及更多 Phigros 相关功能，有相关的建议和问题可以在[Issues](./issues)中提出，欢迎[PR](./pulls)。\n\n具体功能可在安装插件后 通过 `/phi help` 查看详细指令\n\n\u003e **以下 `/phi` 为插件默认前缀，可以在配置文件(`/data/config.yaml`)中修改**\n\u003e\n\u003e 用户输入时，前缀和命令中间的空格**不是必需的**\n\u003e\n\u003e 括号内斜杠分隔的命令表示别名\n\n## 📚 插件功能\n\n#### **以下为用户功能**\n\n| **功能名称**                                                          | **功能说明**                                                                                                    |\n| :-------------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------- |\n| `/phi帮助`                                                            | 获取帮助                                                                                                        |\n| `/phi (bind\\|绑定)xxx`                                                | 绑定 sessionToken                                                                                               |\n| `/phi (unbind\\|解绑)`                                                 | 删除 sessionToken 和存档记录                                                                                    |\n| `/phi clean`                                                          | 删除所有记录                                                                                                    |\n| `/phi (update\\|更新存档)`                                             | 更新存档                                                                                                        |\n| `/phi (rks\\|pgr\\|b30)`                                                | 查询 rks，会提供得出的 b30 结果                                                                                 |\n| `杠批比三零`                                                          | 同上                                                                                                            |\n| `/phi info(1\\|2)?`                                                    | 查询个人统计信息                                                                                                |\n| `/phi lmtacc [0-100]`                                                 | 计算限制最低 ACC 后的 RKS                                                                                       |\n| `/phi (lvsco(re)\\|scolv) \u003c定数范围\u003e \u003c难度\u003e`                           | 获取区间成绩                                                                                                    |\n| `/phi chap \u003c章节名称\\|help\u003e`                                          | 获取章节成绩                                                                                                    |\n| `/phi list \u003c定数范围\u003e \u003cEZ\\|HD\\|IN\\|AT\u003e \u003cNEW\\|C\\|B\\|A\\|S\\|V\\|FC\\|PHI\u003e` | 获取区间每首曲目的成绩                                                                                          |\n| `/phi (score\\|单曲成绩)xxx`                                           | 获取单曲成绩及这首歌的推分建议                                                                                  |\n| `/phi (suggest\\|推分)`                                                | 获取可以让 RKS+0.01 的曲目及其所需 ACC                                                                          |\n| `/phi (ranklist\\|排行榜)`                                             | 获取 RKS 排行榜                                                                                                 |\n| `/phi data`                                                           | 获取用户 data 数量                                                                                              |\n| `/phi (guess\\|猜曲绘)`                                                | 猜曲绘，回答无特殊命令，直接回复，如果不是曲名就不会说话，如果是不正确的曲名会回复。#ans 结束                   |\n| `/phi (ltr\\|开字母)`                                                  | 根据字母猜曲名，`/phi 出` `/phi open`... 开指定的字母，`/phi 第n个` `/phi nX.xxx` 进行回答，`/phi ans` 获取答案 |\n| `/phi (tipgame\\|提示猜曲)`                                            | 根据提示猜曲名，#tip 获得下一条提示，#ans 获取答案，回答直接回复                                                |\n| `/phi (song\\|曲) xxx`                                                 | 查询 phigros 中某一曲目的图鉴，支持设定别名                                                                     |\n| `/phi chart \u003c曲名\u003e \u003c难度\u003e`                                            | 查询 phigros 中某一谱面的详细信息                                                                               |\n| `/phi (addtag\\|subtag\\|retag) \u003c曲名\u003e \u003c难度\u003e \u003c标签\u003e`                   | 对某个标签赞成、反对或撤销表态，难度默认为 IN                                                                   |\n| `/phi (comment\\|cmt\\|评论\\|评价) \u003c曲名\u003e \u003c难度?\u003e(换行)\u003c内容\u003e`          | 评论曲目，难度默认为 IN                                                                                         |\n| `/phi recmt \u003c评论ID\u003e`                                                 | 查看并确认是否删评，仅发送者和主人权限，需要二次确认                                                            |\n| `/phi mycmt`                                                          | 查看自己的全部评论                                                                                              |\n| `/phi (table\\|定数表) \u003c定数\u003e`                                         | 查询 phigros 定数表（B 站[@yuhao7370](space.bilibili.com/275661582)）                                           |\n| `/phi new`                                                            | 查询更新的曲目                                                                                                  |\n| `/phi tips`                                                           | 随机 tips                                                                                                       |\n| `/phi jrrp`                                                           | 今日人品                                                                                                        |\n| `/phi nick xxx`                                                       | 查询某一曲目的别名                                                                                              |\n| `/phi (rand\\|随机) [定数] [难度]`                                     | 根据条件随机曲目，条件支持难度、定数，难度可以多选，定数以-作为分隔                                             |\n| `/phi randclg [课题总值] [难度] ([曲目定数范围])`                     | 随机课题 eg: /rand 40 (IN 13-15)                                                                                |\n| `/phi (曲绘\\|ill\\|Ill) xxx`                                           | 查询 phigros 中某一曲目的曲绘                                                                                   |\n| `/phi (search\\|查询\\|检索) \u003c条件 值\u003e`                                 | 检索曲库中的曲目，支持 BPM 定数 物量，条件 bpm dif cmb，值可以为区间，以 - 间隔                                 |\n| `/phi (theme\\|主题) [0-2]`                                            | 切换绘图主题，仅对 b30, update, randclg, sign, task 生效                                                        |\n| `/phi sign/签到`                                                      | 签到获取 Notes                                                                                                  |\n| `/phi task/我的任务`                                                  | 查看自己的任务                                                                                                  |\n| `/phi retask/刷新任务`                                                | 刷新任务，需要花费 20Notes                                                                                      |\n| `/phi (send\\|送\\|转) \u003c目标\u003e \u003c数量\u003e`                                   | 送给目标 Note，支持@或 QQ 号                                                                                    |\n\n#### **以下为管理功能**\n\n| 功能名称                               | 功能说明                                                                                             |\n| :------------------------------------- | :--------------------------------------------------------------------------------------------------- |\n| `/phi backup (back)?`                  | 备份存档文件，+ back 发送该备份文件，自动保存在 /phi-plugin/backup/ 目录下                           |\n| `/phi restore`                         | 从备份中还原，不会丢失已有数据，需要将文件放在 /phi-plugin/backup/ 目录下                            |\n| `/phi(设置别名\\|setnick) xxx ---\u003e xxx` | 设置某一歌曲的别名，格式为 原名(或已有别名) ---\u003e 别名（会自动过滤---\u003e两边的空格）                    |\n| `/phi(删除别名\\|delnick) xxx`          | 删除某一歌曲的别名                                                                                   |\n| `/phi(强制\\|qz)?(更新\\|gx)`            | 更新本插件                                                                                           |\n| `/phi repu`                            | 重启 puppeteer                                                                                       |\n| `/phi 下载曲绘\\|downill`               | 下载曲绘到本地                                                                                       |\n| `/phi get \u003c名次\u003e`                      | 获取排行榜上某一名次的 sessionToken                                                                  |\n| `/phi del \u003csessionToken\u003e`              | 禁用某一 sessionToken                                                                                |\n| `/phi allow \u003csessionToken\u003e`            | 恢复某一 sessionToken                                                                                |\n| `/phi (set\\|设置)\u003c功能\u003e\u003c值\u003e`           | 修改设置，建议先/phi set 查看功能名称，没有空格                                                      |\n| `/phi ban \u003c功能\u003e`                      | 禁用某一类功能，详见 [功能参数说明](/phi-ban-%E5%8A%9F%E8%83%BD%E5%8F%82%E6%95%B0%E8%AF%B4%E6%98%8E) |\n\n\u003cdetails open\u003e  \n\u003csummary\u003e功能参数说明\u003c/summary\u003e\n\n#### `/phi ban` 功能参数说明\n\n| 参数      | 功能                         | 影响指令                                                    |\n| :-------- | :--------------------------- | :---------------------------------------------------------- |\n| 全部      | 全部功能                     | 所有                                                        |\n| help      | 帮助功能                     | /help /tkhelp                                               |\n| bind      | 绑定功能                     | /bind /unbind                                               |\n| b19       | 图片查分功能                 | /pgr /update /info /list /pb30 /score /lvsco /chap /suggest |\n| wb19      | 文字查分功能                 | /data                                                       |\n| song      | 图鉴功能                     | /song /ill /search /alias /rand /randclg /table             |\n| ranklist  | 排行榜功能，不会禁用用户排名 | /ranklist /godlist                                          |\n| fnc       | 小功能                       | /com /tips /lmtacc /new                                     |\n| tipgame   | tip 猜歌                     | /tipgame                                                    |\n| guessgame | 猜歌                         | /guess                                                      |\n| ltrgame   | 猜字母                       | /letter /ltr                                                |\n| sign      | 娱乐功能                     | /sign /send /task /retask /jrrp                             |\n| setting   | 系统设置                     | /theme                                                      |\n| dan       | 段位认证相关                 | /dan /danupdate                                             |\n\n\u003c/details\u003e\n\n---\n\n### 部分功能预览\n\n| **Best30 效果图**\u003cbr\u003e\u003cpicture\u003e\u003csource srcset=\"https://github.com/user-attachments/assets/470946e9-60ae-49ab-b901-0158039061b3\" type=\"image/avif\" width=\"80%\" /\u003e\u003cimg src=\"https://github.com/user-attachments/assets/470946e9-60ae-49ab-b901-0158039061b3\" width=\"80%\" /\u003e\u003c/picture\u003e | **单曲成绩效果图**\u003cbr\u003e\u003cpicture\u003e\u003csource srcset=\"\" type=\"image/avif\" width=\"40%\" /\u003e\u003cimg src=\"\" width=\"40%\"\u003e\u003c/picture\u003e\u003cbr\u003e\u003cbr\u003e**单曲成绩效果图（Legacy）**\u003cbr\u003e\u003cpicture\u003e\u003csource srcset=\"\" type=\"image/avif\" width=\"40%\" /\u003e\u003cimg src=\"\" width=\"40%\"\u003e\u003c/picture\u003e\u003cbr\u003e\u003cbr\u003e**单曲图鉴效果图**\u003cbr\u003e\u003cpicture\u003e\u003csource srcset=\"\" type=\"image/avif\" width=\"40%\" /\u003e\u003cimg src=\"\" width=\"40%\"\u003e\u003c/picture\u003e |\n| :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |\n|                                        **范围成绩效果图**\u003cbr\u003e\u003cpicture\u003e\u003csource srcset=\"\" type=\"image/avif\" /\u003e\u003cimg src=\"\"\u003e\u003c/picture\u003e\u003cbr\u003e \u003cbr\u003e\u003cbr\u003e**个人信息效果图**\u003cbr\u003e\u003cpicture\u003e\u003csource srcset=\"\" type=\"image/avif\" /\u003e\u003cimg src=\"\"\u003e\u003c/picture\u003e                                         |                                                                                                                          **个人信息效果图（Legacy）**\u003cbr\u003e\u003cpicture\u003e\u003csource srcset=\"\" type=\"image/avif\" width=\"60%\" /\u003e\u003cimg src=\"\" width=\"60%\"\u003e\u003c/picture\u003e\u003cbr\u003e                                                                                                                          |\n\n---\n\n## 💕 感谢\n\n- [Catrong/phi-plugin](https://github.com/Catrong/phi-plugin) 适用于 Yunzai-Bot V3 的 phigros 辅助插件，支持查询分数信息等功能，以及猜曲目等小游戏\n- [@Windows10555](https://github.com/Windows10555) LOGO 后期处理\n- [nonebot/nonebot2](https://github.com/nonebot/nonebot2) 跨平台 Python 异步机器人框架\n- [zhenxun-org/zhenxun_bot](https://github.com/zhenxun-org/zhenxun_bot) 基于 Nonebot2 开发，实现多平台适配和多 Bot 管理的，非常可爱的绪山真寻 Bot\n- [Teahouse-Studios/akari-bot](https://github.com/Teahouse-Studios/akari-bot) 茶馆群内机器人（小可）\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmolanp%2Fphi-plugin-zhenxun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmolanp%2Fphi-plugin-zhenxun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmolanp%2Fphi-plugin-zhenxun/lists"}