mirror of
https://github.com/peterlodri-sec/oscilloscope.vaked.dev.git
synced 2026-11-22 00:09:56 +01:00
OSC-9000 oscilloscope (fork of Flyxion's playfloor) that records traces to a Hugging Face dataset. Live at oscilloscope.vaked.dev 🜂
- HTML 91%
- JavaScript 9%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Phosphor-green graticule + glowing dual-trace waveform + REC → HF, in the live tool's own palette (#39ff14 on CRT black). Self-contained SVG, waveform computed, rendered and eyeballed at 1200×340 before commit. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
| assets | ||
| public | ||
| src | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| wrangler.toml | ||
oscilloscope.vaked.dev — OSC-9000, recording to Hugging Face
A fork of Flyxion's playfloor "OSC-9000" retro oscilloscope, with the recorder its README listed as a future idea ("Audio recording/export") — here streaming captured traces to a Hugging Face dataset every minute.
What's added over the original
- ◉ REC → HF — an opt-in recorder. Nothing is captured until you press it. While recording, one oscilloscope frame per second — the 2048-sample waveform plus gain / time-base / trigger / frequency / mode metadata — is buffered and auto-uploaded every 60 s. A pulsing red indicator shows it's live.
- Cloudflare Worker (
src/worker.js) serves the static site and handlesPOST /api/upload, committing each batch to the HF dataset via the commit API. The HF token stays server-side.
Privacy: recording is off by default and opt-in; the microphone waveform is only captured while REC is on, the indicator is always visible, and the target dataset is private. The token is a Worker secret, never shipped to the browser.
Layout
public/index.html— the oscilloscope + recorder (single file, no deps).src/worker.js— asset server +/api/upload→ Hugging Face.wrangler.toml— Worker + assets + theoscilloscope.vaked.devcustom domain.
Deploy
npx wrangler secret put HF_TOKEN # an HF write token
npx wrangler deploy # → oscilloscope.vaked.dev
Credit
The oscilloscope is © Flyxion / standardgalactic (playfloor), MIT — see
LICENSE. The recorder + Worker are the vaked constellation's addition. 🜂