DJ Visualizer Pi: standalone Node+WebSocket server with mobile PWA remote

New separate project (the Electron Mac app stays untouched). Reuses the visual
engine (WebGL shaders, effect catalog, Web Audio) verbatim and replaces Electron
IPC with a Node HTTP+WebSocket server:

- server.js: serves the kiosk output page + mobile control PWA, relays the same
  ctl/rpt JSON protocol over WebSocket, plus REST for media library/upload,
  JSON state (pads), waveform peaks and MP4 recording (ffmpeg).
- public/js/net.js: window.djv shim over WebSocket+HTTP so output.js runs intact.
- public/index.html + control.js: touch-first mobile remote (effects, media/queue,
  ticker, pads, audio/EQ, fullscreen + recording).
- PWA (manifest + service worker + generated icons).
- scripts/: Chromium kiosk launcher + install-pi.sh (systemd units for Pi 5).

Verified: REST endpoints, WebSocket relay both directions, control PWA loads the
2958-effect catalog and renders. (Headless WebGL output not testable without GPU.)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
lucianoandClaude Opus 4.8 committed 2026-06-29 13:06:15 +02:00
commit b94c787231
81 files changed
+23994

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg fill="#000000" height="800px" width="800px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 512 512" xml:space="preserve">
<g>
<g>
<path d="M195.208,90.446c-48.619,18.296-86.873,57.71-104.03,107.227l73.519,19.905c9.603-23.228,27.596-41.974,50.322-52.402
L195.208,90.446z"/>
</g>
</g>
<g>
<g>
<path d="M345.276,298.945c-10.23,21.494-27.909,38.776-49.507,48.41l19.801,74.648c47.47-17.492,85.504-55.338,103.57-103.058
L345.276,298.945z"/>
</g>
</g>
<g>
<g>
<path d="M256,0C115.8,0,2.476,114.566,2.476,256c0,141.353,113.242,256,253.524,256c140.2,0,253.524-114.566,253.524-256
C509.524,114.643,396.276,0,256,0z M190.265,240.18c-2.028,8.633-10.821,13.875-19.362,11.557L67.479,223.734
c-8.255-2.226-13.197-10.668-11.107-18.954c18.275-72.537,74.062-129.797,145.596-149.452c8.394-2.305,17.064,2.682,19.31,11.097
l27.69,104.49c2.205,8.286-2.675,16.802-10.93,19.111C214.256,196.66,195.95,215.876,190.265,240.18z M220.327,256
c0-19.874,15.997-36.049,35.673-36.049c19.675,0,35.673,16.175,35.673,36.049S275.675,292.049,256,292.049
C236.325,292.049,220.327,275.874,220.327,256z M308.673,457.038c-8.358,2.24-16.978-2.761-19.195-11.128l-27.711-104.469
c-2.224-8.393,2.794-16.965,11.17-19.184c22.727-5.956,41.033-23.803,47.783-46.582c2.424-8.161,10.909-12.894,19.122-10.679
L443.256,293c8.388,2.26,13.353,10.964,11.003,19.341C434.594,382.851,378.807,438.293,308.673,457.038z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB