``` $ 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 = [[
...
]] ``` ## 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' ``` ## Permacomputing Spirit * developed on [Dillo](https://dillo-browser.github.io/) as lowest common denominator / compatibility * does not use javascript unless really needed (WebXR being the exception) * server is using lua-scripting via cosmopolitan libc's [redbean](https://redbean.dev) > So yes in case you'd think the codebase is 90-ish: that's **exactly why it works** on potato-devices AND modern devices.