Add chandra-remote: VNC and web control over Tailscale
CI / test (push) Failing after 50s

- remote/: shared-memory framebuffer mirror served as RFB 3.8 (VNC, port 5900) and an HTTP/WebSocket PWA (port 6080), bound to the Tailscale interface and loopback by default
- Compositor: remote pointer, button, scroll, modifier, key, key-tap, text and clipboard input, routed past OLED blanking
- chandra-ctl: add status, refresh and osk commands; add input-* and clipboard-set for remote control
- Camera: debayer 10-bit CSI-2 Quad-Bayer frames for imx371 and high-quality still capture
- Camera: rotate frames by the libcamera mounting angle (CCW for 90), fix the expected test values, and restyle the UI for a dark theme
This commit is contained in:
nandi committed 2026-11-28 17:57:55 -08:00
1 parent de39b74282
commit bfc60ee0e5
24 files changed
+5310 -79

No files matched your search

+8
View File
@@ -247,5 +247,13 @@ if [ "$backend" = --drm ] && [ "${CHANDRA_AUTO_ROTATE:-1}" != "0" ] &&
/usr/local/bin/chandra-auto-rotate --parent-pid "$$" >>"$log" 2>&1 &
fi
remote_cfg="${XDG_CONFIG_HOME:-$HOME/.config}/chandra/remote.conf"
if [ "${CHANDRA_REMOTE:-auto}" != "0" ] && [ -x /usr/local/bin/chandra-remote ]; then
if [ "${CHANDRA_REMOTE:-auto}" = "1" ] || grep -Eq '^[[:space:]]*enabled[[:space:]]*=[[:space:]]*1' "$remote_cfg" 2>/dev/null; then
WAYLAND_DISPLAY="$(basename "$sock")" \
/usr/local/bin/chandra-remote --parent-pid "$$" >>"$log" 2>&1 &
fi
fi
exec "$@" $backend --socket "$sock" \
--theme "$share/config/themes/moon-night.json" >>"$log" 2>&1