A skeleton project for Zoom Zoom. Uses Svelte (not sveltekit) to generate a single index.html file.
Can be tested with https://github.com/Stengo/DeskPad (hopefully?)
NOTE: The place where I found the Svelte PresentationAPI code is https://github.com/search?q=presentationConnection+svelte+canCast&type=code (might not be very good though).
Here's my current thinking:
new PresentationRequest(url)
needs a valid url for the "receiver", see this and this threadurl
in new PresentationRequest(url)
.py2app
for python too, and that should work except when I tried it it was a horrible mess of dependencies and lots of horrible stuff. It's way heavier than the go server above.This repo was created with:
pnpm create vite@latest
pnpm install vite-plugin-singlefile --save-dev
Build Svelte app:
pnpm i
pnpm run build
Building Go app binary into dist folder:
GOOS=darwin GOARCH=amd64 go build -o dist/zoomzoom server.go
Buidling if if using https://github.com/progrium/darwinkit:
GOOS=darwin go build server.go