No description
Find a file
2026-07-21 19:19:52 +02:00
src first version 2026-07-21 19:19:52 +02:00
util first version 2026-07-21 19:19:52 +02:00
.env 1st commit 2026-05-15 13:22:33 +02:00
.gitignore first version 2026-07-21 19:19:52 +02:00
default.nix 1st commit 2026-05-15 13:22:33 +02:00
README.md first version 2026-07-21 19:19:52 +02:00
shell.nix 1st commit 2026-05-15 13:22:33 +02:00

$ source .env            # not needed if your system has autoenv
$ util/xrforge.sh build  # fast: repeatable build
$ nix-build              # slow: reproducable nix build (for experts)

NOTES:


                   /admin.lua <--- define other instances..for CORS allow / mount http
                                   configure in-zip or filesystem-cache

                   opendirectory.lua <--- mount other instances over http (via xrforge or rclone)
scan files                                      
----------             middleware/xrexperience.lua
  | events:            ---------------------
  + file               type: sidecarfile 
  + sidecarfiles --->  regex =  {"\.glb", "\.png", "\.vtt"} 
  |                    regex_minmatch = 2
  + folder             viewer = /view/janusweb/#janus.url=${file}.glb
                       template = [[
                         <div class="tile"> ... </div>
                       ]]

Scan manyfold


manual scan (via cli?)
curl -L -X 'GET'   'http://xrforge.isvery.ninja/models?page=1&order=name'     -H 'accept: application/vnd.manyfold.v0+json'
curl -L -X 'GET'   'http://xrforge.isvery.ninja/models?page=1&order=recent'   -H 'accept: application/vnd.manyfold.v0+json'