{"id":20476749,"url":"https://github.com/tresjs/xr","last_synced_at":"2025-06-11T23:03:53.295Z","repository":{"id":208944892,"uuid":"722851297","full_name":"Tresjs/XR","owner":"Tresjs","description":"Vue components and composable functions to build AR/VR experiences with TresJS","archived":false,"fork":false,"pushed_at":"2025-03-08T09:21:52.000Z","size":694,"stargazers_count":16,"open_issues_count":19,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-08T10:24:29.699Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","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/Tresjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":["tresjs","alvarosabu"],"ko_fi":"alvarosaburido"}},"created_at":"2023-11-24T05:23:55.000Z","updated_at":"2024-12-30T16:13:49.000Z","dependencies_parsed_at":"2023-12-23T06:50:19.841Z","dependency_job_id":"8bf9ea28-d7d7-4407-9122-2d80031bd714","html_url":"https://github.com/Tresjs/XR","commit_stats":null,"previous_names":["tresjs/xr"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Tresjs/XR","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tresjs%2FXR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tresjs%2FXR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tresjs%2FXR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tresjs%2FXR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tresjs","download_url":"https://codeload.github.com/Tresjs/XR/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tresjs%2FXR/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259360794,"owners_count":22845817,"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":[],"created_at":"2024-11-15T15:22:50.090Z","updated_at":"2025-06-11T23:03:53.277Z","avatar_url":"https://github.com/Tresjs.png","language":"Vue","funding_links":["https://github.com/sponsors/tresjs","https://github.com/sponsors/alvarosabu","https://ko-fi.com/alvarosaburido"],"categories":[],"sub_categories":[],"readme":"![repository-banner.png](/public/repo-banner.png)\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@tresjs/core\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@tresjs/xr?color=%2382DBCA\" alt=\"npm package\"\u003e\u003c/a\u003e\n\n\u003ca href=\"https://discord.gg/UCr96AQmWn\"\u003e\u003cimg src=\"https://img.shields.io/badge/chat-discord-purple?style=flat\u0026logo=discord\" alt=\"discord chat\"\u003e\u003c/a\u003e\n\n\u003c/p\u003e\n\u003cbr/\u003e\n\n# XR\n\n\u003e Vue components and composable functions to build AR/VR experiences with [TresJS](https://tresjs.org)\n\n- ⚡️ Powered by Vite\n- 🦾 Fully Typed\n\n## Installation\n\n```bash\npnpm i @tresjs/xr\n```\n\n## Docs\n\nCheckout the [docs](https://xr.tresjs.org/)\n\n## Demos\n\n- [Stackblitz Collection](https://stackblitz.com/@alvarosabu/collections/tresjs)\n\n## Contributing\n\nWe are open to contributions, please read the [contributing guide](https://github.com/Tresjs/tres/blob/main/CONTRIBUTING.md) to get started.\n\n### Build\n\nTo build the package run:\n\n```bash\npnpm run build\n```\n\n### Playground\n\nTo run the playground run, its a great way to test the components and helpers locally:\n\nFirst install dependencies\n\n```\npnpm i\n```\n\nAnd then to run the development server on http://localhost:5173\n\n```bash\npnpm run playground\n```\n\n### Test\n\nTODO...\n\n### Docs\n\nTo run de docs in dev mode\n\n```bash\npnpm run docs:dev\n```\n\nTo build them\n\n```bash\npnpm run docs:build\n```\n\n## License\n\n[MIT](/LICENSE)\n\n## Sponsors\n\nBe the first to support this project [here](https://github.com/sponsors/tresjs) ☺️\n\n## Logic\n- Watch effects trigger for first time\n- VRButton is clicked\n- handleButtonClick method of XRButton is triggered\n- toggleSession is called\n- startSession is called\n- XR session is requested\n- XR session is saved to global session pinia store\n- Set status as entered\n- Save copy of global session XR session to provided state\n- Watch effects trigger for second time (after reactive depedencies update)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftresjs%2Fxr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftresjs%2Fxr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftresjs%2Fxr/lists"}