[![Actions Status](https://github.com/coderofsalvation/xrfragment/workflows/test/badge.svg)](https://github.com/coderofsalvation/xrfragment/actions) A tiny specification for viewing 3D models as linkable AR/VR websites.
Address and Control anything inside a 3D model with [W3C Media Fragments](https://www.w3.org/TR/media-frags/) and [URI Templates](https://www.rfc-editor.org/rfc/rfc6570).

![](https://coderofsalvation.github.io/xrfragment.media/images/metadata.jpg)
Simply SURF a 3D file-verse and design for a Spatial Open Internet with the highest degree of interoperability ❤ # Documentation / Website https://xrfragment.org ![](https://coderofsalvation.github.io/xrfragment.media/images/nocode.jpg) # Getting started ![](https://coderofsalvation.github.io/xrfragment.media/gettingstarted2024.mp4) https://xrfragmenorg # available parser-implementations * [javascript](dist/xrfragment.js) [(+example)](test/test.js) * [javascript module](dist/xrfragment.module.js) * [python](dist/xrfragment.py) [(+example)](test/test.py) * [lua](dist/xrfragment.lua) [(+example)](test/test.lua) * [haXe](src/xrfragment) (allows exporting to various programming languages) See documentation for more info # development Pre-build libraries can be found in [/dist folder](dist)
If you really want to build from source: ``` $ nix-shell # nix-users: drops you into a dev-ready shell $ ./make install # debian-users: install deps via apt-get $ ./make build && ./make tests ``` > NOTE #1: to rebundle the THREE/AFRAME javascripts during dev run `./make build js` > NOTE #2: to regenerate the parser in various languages (via haxe), run `./make build parser` # Godot (>=v4.3.1) ``` $ ./make install godot # this installs the godot-xr-tools addon ``` > NOTE: the godot project is in [src/xrfragment/godot](./src/xrfragment/godot) (open the folder in godot) # Credits