No description
- TypeScript 73.1%
- CSS 23.2%
- HTML 3.7%
| src | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| index.html | ||
| package.json | ||
| pnpm-lock.yaml | ||
| README.md | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
novnc-nofrills
Bare-minimum functionality to connect to a VNC server using noVNC.
To the user, it is entirely transparent. All variables must be passed by URL params. Reconnection is handled automatically, and the user sees a loading screen while the connection is being established.
Used as part of Doppelganger and test-scrcpy.
Usage
URL Parameters
host: The hostname of the VNC server.port: The port of the VNC server.path: The path of the VNC server. Default is/websockify.username: The username of the VNC server. (Optional)password: The password of the VNC server.qualityLevelhttps://github.com/novnc/noVNC/blob/master/docs/API.md#properties:~:text=Enabled%20by%20default.-,qualityLevel,-Is%20an%20intcompressionLevelhttps://github.com/novnc/noVNC/blob/master/docs/API.md#properties:~:text=Disabled%20by%20default.-,compressionLevel,-Is%20an%20intretryDurationms between reconnection attempts. Default is 3000.viewOnlyhttps://github.com/novnc/noVNC/blob/master/docs/API.md#properties:~:text=Disabled%20by%20default.-,viewOnly,-Is%20a%20boolean
Running
pnpm install
pnpm run dev
Building
Useful for projects like github.com/regulad/workspaces-images@189d2615d9/dockerfile-kasm-scrcpy to provide a minimum viable noVNC client for extremely static apps (like scrcpy).
pnpm run build
w