{"id":27399899,"url":"https://github.com/tattn/vrmkit","last_synced_at":"2026-01-26T14:02:10.195Z","repository":{"id":54646528,"uuid":"148525914","full_name":"tattn/VRMKit","owner":"tattn","description":"VRM loader and VRM renderer (3D model / gltf)","archived":false,"fork":false,"pushed_at":"2025-06-15T05:14:50.000Z","size":22343,"stargazers_count":174,"open_issues_count":5,"forks_count":32,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-01-18T20:57:32.111Z","etag":null,"topics":["3d","gltf","ios","scenekit","swift","vrm"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/tattn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"tattn","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2018-09-12T18:44:03.000Z","updated_at":"2026-01-14T09:03:15.000Z","dependencies_parsed_at":"2024-04-18T12:40:40.418Z","dependency_job_id":null,"html_url":"https://github.com/tattn/VRMKit","commit_stats":{"total_commits":127,"total_committers":2,"mean_commits":63.5,"dds":0.3464566929133859,"last_synced_commit":"f6160c1e952f50aee67497fe394c474c4f331737"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/tattn/VRMKit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattn%2FVRMKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattn%2FVRMKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattn%2FVRMKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattn%2FVRMKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tattn","download_url":"https://codeload.github.com/tattn/VRMKit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattn%2FVRMKit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28780029,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T13:55:28.044Z","status":"ssl_error","status_checked_at":"2026-01-26T13:55:26.068Z","response_time":59,"last_error":"SSL_read: 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":["3d","gltf","ios","scenekit","swift","vrm"],"created_at":"2025-04-14T03:24:37.092Z","updated_at":"2026-01-26T14:02:10.190Z","avatar_url":"https://github.com/tattn.png","language":"Swift","funding_links":["https://github.com/sponsors/tattn","https://paypal.me/tattn/"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eVRMKit\u003c/h1\u003e\n\n\u003ch5 align=\"center\"\u003eVRM loader and VRM renderer\u003c/h5\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://app.bitrise.io/app/efaa4b22f111455d\"\u003e\n    \u003cimg src=\"https://github.com/tattn/VRMKit/actions/workflows/ci.yml/badge.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"./LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-MIT-green.svg?style=flat-square\" alt=\"license:MIT\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n\u003cdiv\u003e\n\u003cimg src=\"https://github.com/tattn/VRMKit/raw/main/.github/demo.jpg\" width=\"300px\" alt=\"demo\" /\u003e\n\u003cimg src=\"https://github.com/tattn/VRMKit/raw/main/.github/demo2.gif\" width=\"300px\" alt=\"demo\" /\u003e\n\u003c/div\u003e\n\nFor \"VRM\", please refer to [this page](https://dwango.github.io/en/vrm/).\n\n## Features\n\n- [x] Load VRM file\n- [x] Render VRM models on RealityKit (experimental)\n- [x] Face morphing (blend shape)\n- [x] Bone animation (skin / joint)\n- [x] Physics (spring bone)\n\n# Requirements\n\n- Swift 6.0+\n- iOS 15.0+\n- macOS 12.0+\n- visionOS 2.0+\n- watchOS 8.0+ (Experimental)\n\n# Installation\n\n## Swift Package Manager\n\nYou can install this package with Swift Package Manager.\n\n## Carthage \u0026 CocoaPods (Deprecated)\n\nIf you want to use these package managers, please use https://github.com/tattn/VRMKit/releases/tag/0.4.2\n\n# Usage\n\n## Load VRM\n\n```swift\nimport VRMKit\n\nlet vrm = try VRMLoader().load(named: \"model.vrm\")\n// let vrm = try VRMLoader().load(withUrl: URL(string: \"/path/to/model.vrm\")!)\n// let vrm = try VRMLoader().load(withData: data)\n\n// VRM meta data\nvrm.meta.title\nvrm.meta.author\n\n// model data\nvrm.gltf.jsonData.nodes[0].name\n```\n\n## Render VRM\n\n```swift\nimport RealityKit\nimport VRMKit\nimport VRMRealityKit\n\nlet loader = try VRMEntityLoader(named: \"model.vrm\")\nlet vrmEntity = try loader.loadEntity()\n\nlet arView = ARView(frame: .zero, cameraMode: .nonAR, automaticallyConfigureSession: false)\nlet anchor = AnchorEntity(world: .zero)\nanchor.addChild(vrmEntity.entity)\narView.scene.addAnchor(anchor)\n```\n\n### Render VRM (SwiftUI)\n\n```swift\nimport RealityKit\nimport RealityKitContent\nimport VRMKit\nimport VRMRealityKit\n\nimport SwiftUI\n\nstruct ContentView: View {\n    var body: some View {\n        RealityView { content in\n            let loader = try VRMEntityLoader(named: \"model.vrm\")\n            let vrmEntity = try loader.loadEntity()\n            content.add(vrmEntity.entity)\n        }\n    }\n}\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eRender VRM (SceneKit) — Deprecated\u003c/summary\u003e\n\n\u003e Note: VRMSceneKit is deprecated. Use VRMRealityKit instead.\n\n```swift\nimport VRMKit\nimport VRMSceneKit\n\n@IBOutlet weak var sceneView: SCNView!\n\nlet loader = try VRMSceneLoader(named: \"model.vrm\")\nlet scene: VRMScene = try loader.loadScene()\nlet node: VRMNode = scene.vrmNode\n\nsceneView.scene = scene\n```\n\n\u003c/details\u003e\n\n### Blend shapes\n\n\u003cimg src=\"https://github.com/tattn/VRMKit/raw/main/.github/alicia_joy.png\" width=\"100px\" alt=\"joy\" /\u003e\n\n```swift\nvrmEntity.setBlendShape(value: 1.0, for: .preset(.joy))\n```\n\n\u003cimg src=\"https://github.com/tattn/VRMKit/raw/main/.github/alicia_angry.png\" width=\"100px\" alt=\"angry\" /\u003e\n\n```swift\nvrmEntity.setBlendShape(value: 1.0, for: .preset(.angry))\n```\n\n\u003cimg src=\"https://github.com/tattn/VRMKit/raw/main/.github/alicia_\u003e\u003c.png\" width=\"100px\" alt=\"\u003e\u003c\" /\u003e\n\n```swift\nvrmEntity.setBlendShape(value: 1.0, for: .custom(\"\u003e\u003c\"))\n```\n\n### Bone animation\n\n\u003cimg src=\"https://github.com/tattn/VRMKit/raw/main/.github/alicia_humanoid.png\" width=\"200px\" alt=\"Humanoid\" /\u003e\n\n```swift\nvrmEntity.setBlendShape(value: 1.0, for: .preset(.fun))\nlet neckRotation = simd_quatf(angle: 20 * .pi / 180, axis: SIMD3\u003cFloat\u003e(0, 0, 1))\nlet shoulderRotation = simd_quatf(angle: 40 * .pi / 180, axis: SIMD3\u003cFloat\u003e(0, 0, 1))\nvrmEntity.humanoid.node(for: .neck)?.transform.rotation *= neckRotation\nvrmEntity.humanoid.node(for: .leftShoulder)?.transform.rotation *= shoulderRotation\nvrmEntity.humanoid.node(for: .rightShoulder)?.transform.rotation *= shoulderRotation\n```\n\n### Read the thumbnail image\n\n```swift\nlet loader = try VRMEntityLoader(named: \"model.vrm\")\nlet image = try loader.loadThumbnail()\n```\n\n# ToDo\n\n- [ ] VRM 1.0 support\n  - [x] Decoding VRM 1.0 file\n  - [ ] Render an avatar by RealityKit\n- [ ] VRM shaders support\n- [ ] Improve rendering quality\n- [ ] Animation support\n- [ ] VRM editing function\n- [ ] GLTF renderer support\n\n# Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## Support this project\n\nDonating to help me continue working on this project.\n\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://paypal.me/tattn/)\n\n# License\n\nVRMKit is released under the MIT license. See LICENSE for details.\n\n# Author\n\nTatsuya Tanaka\n\n\u003ca href=\"https://twitter.com/tattn_dev\" target=\"_blank\"\u003e\u003cimg alt=\"Twitter\" src=\"https://img.shields.io/twitter/follow/tattn_dev.svg?style=social\u0026label=Follow\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/tattn\" target=\"_blank\"\u003e\u003cimg alt=\"GitHub\" src=\"https://img.shields.io/github/followers/tattn.svg?style=social\"\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftattn%2Fvrmkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftattn%2Fvrmkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftattn%2Fvrmkit/lists"}