{"id":15637182,"url":"https://github.com/cssxsh/mirai-device-generator","last_synced_at":"2025-07-27T23:35:16.192Z","repository":{"id":51561329,"uuid":"452220949","full_name":"cssxsh/mirai-device-generator","owner":"cssxsh","description":"Mirai Console 设备文件生成插件","archived":false,"fork":false,"pushed_at":"2023-09-28T06:53:58.000Z","size":151,"stargazers_count":111,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-14T12:55:25.983Z","etag":null,"topics":["mirai","mirai-console","mirai-plugin"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cssxsh.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}},"created_at":"2022-01-26T09:50:31.000Z","updated_at":"2025-04-06T14:54:10.000Z","dependencies_parsed_at":"2024-10-23T04:06:20.761Z","dependency_job_id":null,"html_url":"https://github.com/cssxsh/mirai-device-generator","commit_stats":{"total_commits":40,"total_committers":1,"mean_commits":40.0,"dds":0.0,"last_synced_commit":"23f69ad2091461a745fdb4988e8d5f23b3a07df3"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/cssxsh/mirai-device-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssxsh%2Fmirai-device-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssxsh%2Fmirai-device-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssxsh%2Fmirai-device-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssxsh%2Fmirai-device-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cssxsh","download_url":"https://codeload.github.com/cssxsh/mirai-device-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssxsh%2Fmirai-device-generator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265205775,"owners_count":23727511,"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","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":["mirai","mirai-console","mirai-plugin"],"created_at":"2024-10-03T11:10:38.278Z","updated_at":"2025-07-13T21:08:13.371Z","avatar_url":"https://github.com/cssxsh.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Mirai Device Generator](https://github.com/cssxsh/mirai-device-generator)\n\n\u003e Mirai DeviceInfo 生成器\n\n[![maven-central](https://img.shields.io/maven-central/v/xyz.cssxsh.mirai/mirai-device-generator)](https://search.maven.org/artifact/xyz.cssxsh.mirai/mirai-device-generator)\n\n作为插件运行时会提供 `BotConfigurationAlterer` 服务，自动替换 `configuration.deviceInfo = generator::load`  \n如果要重新生成 `DeviceInfo`，删掉 `mcl/bots/.../device.json` 就好  \n\n作为 `mirai-core` 项目的[maven库引用](https://search.maven.org/artifact/xyz.cssxsh.mirai/mirai-device-generator)时, 请自行调用 `configuration.deviceInfo = generator::load`  \n目前模拟的设备信息较少，有需求的可以到 issue 提需求，或者直接 pr  \n需要自定义 model 信息的，请按照 [folder](src/main/resources/xyz/cssxsh/mirai) 中的 json 文件格式  \n在 `data/mirai-device-generator/` 文件夹中创建同名文件  \n\n如果要追求更真实的数据生成·，请使用 \u003chttps://github.com/MrXiaoM/Aoki\u003e\n\n## MCL安装\n\n`./mcl --update-package xyz.cssxsh.mirai:mirai-device-generator --channel maven-stable --type plugin`\n\n## board编号参考\n\n### 骁龙系列\n\n| name |  board  |\n|:----:|:-------:|\n| 888  | sm8350  |\n| 835  | msm8998 |\n| 820  | msm8996 |\n| 750G | sm7225  |\n| 655  | msm8953 |\n| 652  | msm8976 |\n| 625  | msm8953 |\n\n### 天玑系列\n\n| name  |  board  |\n|:-----:|:-------:|\n| 1000+ | mt6889z |\n| 1000  | mt6889  |\n| 1000L | mt6885z |\n|  820  | mt6875  |\n|  800  | mt6873v |\n|  600  | mt6853  |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcssxsh%2Fmirai-device-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcssxsh%2Fmirai-device-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcssxsh%2Fmirai-device-generator/lists"}