2025-11-11 21:07:14 +01:00
|
|
|
# JanusXR cli
|
|
|
|
|
|
2025-11-11 21:24:28 +01:00
|
|
|
Portable swiss-army knife to automate janusXR / JML things on a server
|
2025-11-11 21:07:14 +01:00
|
|
|
|
2025-11-11 21:09:14 +01:00
|
|
|
# Usage
|
|
|
|
|
|
2025-11-11 21:14:33 +01:00
|
|
|
> scan a room URL for broken links in JML+HTML
|
2025-11-11 21:11:09 +01:00
|
|
|
|
2025-11-11 21:09:14 +01:00
|
|
|
```
|
|
|
|
|
$ ./janusxr --health http://localhost:8790/models/m5gr26w0wqqs
|
|
|
|
|
|
|
|
|
|
✅ http://localhost:8791/templates/xrfragment/%232/website.glb
|
|
|
|
|
✅ http://localhost:8790/models/assets/offscreen_renderer-186b8c52.js
|
|
|
|
|
✅ https://lychee.co/static/metas/favicon-32x32.png
|
|
|
|
|
✅ https://raw.githubusercontent.com/supermerill/SuperSlicer/refs/heads/master_27/resources/icons/SuperSlicer.svg
|
|
|
|
|
✅ http://localhost:8790/models/models/m5gr26w0wqqs/model_files/website.glb
|
|
|
|
|
✅ https://raw.githubusercontent.com/ELEGOO-3D/ElegooSlicer/refs/heads/main/resources/images/ElegooSlicer.svg
|
|
|
|
|
✅ http://localhost:8790/models/assets/roundel-1d688b1e.svg
|
|
|
|
|
✅ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/webp/orcaslicer.webp
|
|
|
|
|
✅ http://localhost:8790/models/models/m5gr26w0wqqs/model_files/gjc0jp33r6zl.jpg?derivative=carousel
|
|
|
|
|
✅ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/webp/cura.webp
|
|
|
|
|
✅ http://localhost:8790/models/assets/application-01a8ec1d.js
|
|
|
|
|
✅ http://localhost:8790/models/assets/janusxr.svg
|
|
|
|
|
⚕️ health: 100%
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
2025-11-11 21:07:14 +01:00
|
|
|
# Awk?
|
|
|
|
|
|
|
|
|
|
Why not some superfancy scripting for this task?
|
|
|
|
|
|
|
|
|
|
* awk is great for all things text and templating usecases
|
2025-11-11 21:11:09 +01:00
|
|
|
* dependencyfree
|
|
|
|
|
* lightweight to add to docker-image for automation
|