{"id":16018050,"url":"https://github.com/kylebakerio/gltf-packed","last_synced_at":"2026-02-15T12:38:21.598Z","repository":{"id":61518589,"uuid":"552161938","full_name":"kylebakerio/gltf-packed","owner":"kylebakerio","description":"aframe component that allow easy use of gltf/glb models that were packed with gltfpack (meshoptimizer) and/or KTX2 textures.","archived":false,"fork":false,"pushed_at":"2022-10-16T00:54:32.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T07:44:05.772Z","etag":null,"topics":["aframe","gltf","gltfpacked","meshoptimizer"],"latest_commit_sha":null,"homepage":"https://meshopt-aframe.glitch.me/","language":"HTML","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/kylebakerio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-16T00:46:34.000Z","updated_at":"2024-11-02T15:31:11.000Z","dependencies_parsed_at":"2022-10-19T21:45:41.774Z","dependency_job_id":null,"html_url":"https://github.com/kylebakerio/gltf-packed","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kylebakerio/gltf-packed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylebakerio%2Fgltf-packed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylebakerio%2Fgltf-packed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylebakerio%2Fgltf-packed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylebakerio%2Fgltf-packed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kylebakerio","download_url":"https://codeload.github.com/kylebakerio/gltf-packed/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylebakerio%2Fgltf-packed/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278688245,"owners_count":26028640,"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-06T02:00:05.630Z","response_time":65,"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":["aframe","gltf","gltfpacked","meshoptimizer"],"created_at":"2024-10-08T16:40:30.374Z","updated_at":"2025-10-06T22:23:47.284Z","avatar_url":"https://github.com/kylebakerio.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# using meshopt with aframe\nHere's a demo for using meshopt with aframe!\n\nComponent design inspired by this answer: https://stackoverflow.com/questions/65367877/how-do-i-get-a-gltfpack-processed-model-to-appear-in-a-frame\n\nNote that gltfpack is software you install locally. See [here](https://meshoptimizer.org/gltf/) for install instructions\n\nNote that while you can install with npm, you will be missing critical features, so it's worth it installing it \"properly\".\n\nUse is simple, just include the dependcies:\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n  \u003chead\u003e\n    \u003cscript src=\"https://aframe.io/releases/1.3.0/aframe.min.js\"\u003e\u003c/script\u003e\n    \n    \u003c!--   dependencies   --\u003e\n    \u003cscript src=\"https://cdn.jsdelivr.net/gh/zeux/meshoptimizer/js/meshopt_decoder.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"https://unpkg.com/three@0.137.0/examples/js/utils/WorkerPool.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"https://unpkg.com/three@0.137.0/examples/js/loaders/KTX2Loader.js\"\u003e\u003c/script\u003e \n    \u003cscript src=\"https://cdn.jsdelivr.net/gh/kylebakerio/gltf-packed/gltf-packed.js\"\u003e\u003c/script\u003e\n    \n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003ca-scene\u003e      \n      \u003ca-assets\u003e\n        \u003c!--    asset that was packed with gltfpack, including KTX2 textures, via this command:\n                gltfpack -cc -tc -tl 1024  -mm -mi -i big-shell-nofloor-recenter-2.glb -o big-shell-gltfpack-2-2-ktx2-1.glb\n        --\u003e\n        \u003ca-asset-item id=\"big-shell-ktx2\" src=\"https://cdn.glitch.global/e61b50a7-4dd5-4681-9de2-1466363354bd/4a49674e-78a0-403e-8f4b-36b5903ffdec.big-shell-gltfpack-2-2-ktx2-1.glb?v=1665874408766\"\u003e\u003c/a-asset-item\u003e\n      \u003c/a-assets\u003e\n      \u003c!--   here we use meshopt-ktx2-draco-gltf-model instead of regular     --\u003e\n      \u003ca-entity gltf-packed=\"#big-shell-ktx2\" shadow=\"cast:true; receive:true;\" id=\"the-shell\" scale=\"1 1 1\" position=\"0 0 0\"\u003e\u003c/a-entity\u003e\n    \u003c/a-scene\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylebakerio%2Fgltf-packed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkylebakerio%2Fgltf-packed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylebakerio%2Fgltf-packed/lists"}