web: start: add vnc-viewer feature

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2026-06-05 16:35:50 +02:00
commit 14c5f41e2b
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
7 changed files with 261 additions and 8 deletions

View file

@ -17,6 +17,7 @@ local_components:
- side-panel
- date-display
- form-vm
- vnc-viewer
# Remote components fetched from git at build time.
# Each is its own repo; its root must contain <name>.js and manifest.json.
@ -26,6 +27,22 @@ local_components:
# ref: v1.2.0 # tag, branch or commit (default: main)
components: []
# Vendor libraries — downloaded into web/vendor/ at build time (gitignored).
# Components import them via relative paths, never via components.json.
# path: restrict download to a subdirectory of the repo (optional).
# dest: destination under web/ (default: vendor/<name>).
vendors:
- name: novnc-core
repo: https://github.com/novnc/noVNC
ref: v1.5.0
path: core
dest: vendor/novnc/core
- name: novnc-vendor
repo: https://github.com/novnc/noVNC
ref: v1.5.0
path: vendor
dest: vendor/novnc/vendor
# Pages — each page is a self-contained directory (JS + CSS + manifest.json).
# Same model as components: local pages ship in this repo, remote pages are
# downloaded from git at build time. build.sh reads each manifest.json to