{"id":26847859,"url":"https://github.com/arkueid/live2dmascot","last_synced_at":"2025-03-30T20:34:35.264Z","repository":{"id":65934551,"uuid":"593957598","full_name":"Arkueid/Live2DMascot","owner":"Arkueid","description":"桌面Live2D，提供自定义聊天接口，支持更换模型，自定义动作语音+文本","archived":false,"fork":false,"pushed_at":"2025-01-09T08:59:35.000Z","size":711296,"stargazers_count":169,"open_issues_count":10,"forks_count":16,"subscribers_count":4,"default_branch":"python","last_synced_at":"2025-01-09T09:57:21.314Z","etag":null,"topics":["cubism-sdk","live2d","live2d-widget","python-c-api"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Arkueid.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":"2023-01-27T08:48:11.000Z","updated_at":"2025-01-09T08:59:39.000Z","dependencies_parsed_at":"2023-02-22T02:30:23.640Z","dependency_job_id":"40494908-bc82-4516-9258-67cfad39f6a9","html_url":"https://github.com/Arkueid/Live2DMascot","commit_stats":null,"previous_names":["arkueid/desktoplive2d","arkueid/live2dmascot"],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arkueid%2FLive2DMascot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arkueid%2FLive2DMascot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arkueid%2FLive2DMascot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arkueid%2FLive2DMascot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Arkueid","download_url":"https://codeload.github.com/Arkueid/Live2DMascot/tar.gz/refs/heads/python","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246379366,"owners_count":20767694,"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":["cubism-sdk","live2d","live2d-widget","python-c-api"],"created_at":"2025-03-30T20:32:12.241Z","updated_at":"2025-03-30T20:34:35.259Z","avatar_url":"https://github.com/Arkueid.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Live2D Desktop Mascot (Python)\n\n基于[live2d-py](https://github.com/Arkueid/live2d-py)。\n\n支持 Live2D 模型版本：\n\n* Cubism 2.X 导出的模型：文件名格式常为 `XXX.moc`，`XXX.model.json`，`XXX.mtn`\n* Cubism 3.0 及以上导出的模型：文件名格式常为 `XXX.moc3`，`XXX.model3.json`, `XXX.motion3.json`\n\n运行环境: Python 3.12 (Windows x64)\n\n若使用 64 位 Python，或其他 Python 版本，需`安装/编译`对应版本的 [live2d-py](https://github.com/Arkueid/live2d-py)。\n\n**注：由于目前找到的 Cubism OpenGL 2.0 SDK 的 live2d_opengl.lib 静态库只有 32 位，加载 2.0 版本的模型只能使用 32 位。**\n\n=\u003e[C++ 版本（旧版）](https://github.com/Arkueid/Live2DMascot/tree/master)\n\n## 预览\n\n![v2](./images/v2.png)\n\n聊天功能：\n\n![chat](./images/2024-11-13%2021-32-33.gif)\n\n使用其他聊天接口仅需修改 [kizuna_impl.py](./framework/runtime/drive/kizuna/kizuna_impl.py) 的 `doReaction` 函数。\n\n## 运行\n\n### live2d 文件格式：\n\n只要 `XXX.modelX.json` 文件路径正确即可，其他文件通过该 `json` 文件读取。\n\n`.bak` 文件为运行时自动生成的备份文件。\n\nCubism 2.0 版本\n\n```shell\nResources\\v2\\kasumi2\n```\n\nCubism 3.0 及以上版本\n\n```shell\nResources\\v3\\Haru\n```\n\n### 运行\n\n1. 安装 Python 3.12 (x64)\n\n2. 安装 Python 库\n\n```shell\npip install -r requirements.txt\n```\n\n3. 运行 `main.py`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farkueid%2Flive2dmascot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farkueid%2Flive2dmascot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farkueid%2Flive2dmascot/lists"}