Skip to content
oiseePublic

About

SAP Light-Show Dispatcher — a rogue SAP GUI DIAG server that plays a demoscene light-show, plus sap-tui terminal viewer

Resources

Stars

10 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

sap-lsd — SAP Light-Show Dispatcher

A tiny, self-contained rogue SAP GUI server: it speaks the SAP DIAG protocol well enough that a real SAP GUI (or the bundled sap-tui terminal viewer) draws a demoscene light-show from its frames — spinning cubes, a tornado, LED plasma, and a greetings finale, all made of real GUI widgets (labels, buttons, input fields, the classic-list colour channel).

"Dispatcher" is the SAP term for the process that listens on the DIAG port (32NN) — which is exactly what this is. LSD = light-show, in the old demoscene sense.

Two commands:

what run
sap-lsd the server — plays the show to any SAP GUI ./sap-lsd -listen :3200
sap-tui a terminal viewer, for watching without a SAP GUI sap-tui HOST:3200

Watch it live

📺 See it in action (watch on YouTube):

sap-lsd — a demoscene light-show played to a real SAP GUI

A public instance runs at demo.desude.su:3200.

Build

make build        # -> bin/sap-lsd, bin/sap-tui
make run          # build + run the server on :3200
make viewers      # cross-compiled sap-tui for linux / macOS
make dist         # a deployable bundle: dist/sap-lsd.tgz

Pure Go, no cgo. sap-lsd with no arguments plays the composed show on :3200 from the scrubbed asset in assets/.

Connect

Deploy (systemd / cloud VM)

make dist
scp dist/sap-lsd.tgz user@HOST:~
ssh user@HOST 'tar xzf sap-lsd.tgz && cd sap-lsd && ./install-on-vm.sh'

Installs to /opt/sap-lsd, runs as a systemd service on TCP :3200. Open that one port in your firewall / cloud NSG and point a DNS A-record at the host. DIAG is unencrypted — but there is nothing to protect here, it is a one-way light-show; keep only the show port (and SSH) open.

The show file

assets/show.json is the timeline (scene, seconds, per-scene speed). Edit it and restart — or run sap-lsd -http :8088 for the in-browser composer (keep that port private; it has no auth).

Privacy: the scrubbed asset

assets/probe.scrubbed.jsonl is the DIAG backdrop the scenes are spliced into, scrubbed of every real identifier (session GUIDs, hostnames, IPs, user names) — same length in, same length out, so the frames stay valid. If you record a fresh backdrop, re-scrub it: edit the token table in tools/scrub/scrub.py and make scrub IN=your-capture.jsonl. Never commit an unscrubbed capture (.gitignore blocks the usual names).

Provenance

internal/ vendors the packages this needs, unchanged, from the author's other projects: the DIAG codec, canvas, scene engine and ALV/LZH from open-diag-go (the SAP DIAG protocol library this is built on), the NI network layer from open-rfc-go, and sapcompress from vibing-steampunk. This repo is the shippable light-show carved out of them.

MIT licensed. Not affiliated with or endorsed by SAP SE. "SAP" is a trademark of SAP SE; used here only to name the protocol this speaks.

About

SAP Light-Show Dispatcher — a rogue SAP GUI DIAG server that plays a demoscene light-show, plus sap-tui terminal viewer

Resources

Stars

10 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages