The user documentation of OpenRig, the open source guitar pedalboard, published at docs.openrig.eu. Built with Astro and Starlight. The home page and the rigs live on openrig.eu, a separate site.
npm install
npm run dev # http://localhost:4321
npm run build # static site in dist/| Path | |
|---|---|
src/content/docs/ |
Documentation, served at the root (index.mdx is the landing page) |
src/pages/privacy.astro |
Privacy page (/privacy/) |
src/links.mjs |
Links back to openrig.eu and GitHub, in the header and footer |
src/assets/shots/ |
Screenshots of the pedalboard (2048 wide, 1200 high for a full screen) |
public/media/ |
Screen recordings (MP4 and WebM, with a poster) |
src/styles/ |
Documentation theme, dark and light |
REDIRECTS.md |
Old openrig.eu/docs/… addresses and the Caddy redirects to here |
Screenshots come from the x86_64 OS image running in QEMU, or from a release build of the app on
the same virtual display as the recordings below, at 1024×600 scaled by 2
(SLINT_SCALE_FACTOR=2, the fonts of scripts/record/lib/fonts.conf). The rigs-online-*
shots use a local copy of the openrig.eu site, seen by the app under its real name.
Captures shown in them belong to their creators on TONE3000, who are credited in the captions.
The hero (tour of the screen, also on the openrig.eu home page), live and tone3000
recordings are made by scripts/record.sh <story> from a release build of OpenRig on a virtual display (Xvfb,
1024×600 scaled to 1280×750) with a dummy JACK server: the story in
scripts/record/<story>/story.py is played with XTest, captured losslessly at 30 fps, cut to a
seamless loop with a finger drawn on it, checked with mpdecimate (frames only repeat while
nothing moves), then encoded to VP9, H.264 and a poster in public/media/. Re-record them for a
release that changes those pages:
cargo build --release # in the OpenRig repository
scripts/record.sh live /path/to/OpenRig/target/release/pedalboardA new story is a folder in scripts/record/ with story.py, story.conf and, if the app
needs setting up first, prep.py; the helpers are in scripts/record/lib/. The script lists
what it needs (Xvfb, JACK 2, ffmpeg, python-xlib, numpy, uv, optionally bwrap) and the TONE3000
tones and store plugin the preset uses, copied from the desktop app's data directory.
The tone3000 story is online: it signs in with the TONE3000 account linked in the desktop app
(copied, and copied back if the app refreshed it) and downloads a model of a trending amp. It
waits on the screen for the network; only what a wait takes beyond the pause planned for it is
cut out. Check the row of the tone in the trending amps first (TONE_ROW, default 3) and the
caption in src/content/docs/using/tone3000.mdx.
The site is published at docs.openrig.eu (public/CNAME) by GitHub
Pages on every push to main, and every 6 hours to pick up a new OpenRig release. SITE and
BASE set where it is served (SITE=https://siryu6.github.io BASE=/openrig-doc to serve it
under the repository name instead of the custom domain).
Visits are counted with a self-hosted Umami at stats.siryu.me, set up in
src/analytics.mjs and loaded on every page by the Starlight head. It sets no cookies, only
counts on docs.openrig.eu (not local previews or github.io), and sends nothing when the browser
has Do Not Track or Global Privacy Control on, or after the opt-out on /privacy/. Query strings
are stripped from URLs except utm_* tags. Web Vitals are sent too (data-performance).
docs.openrig.eu is its own website in Umami, id d6be4cd7-2560-4f20-b463-4c4a290de649 (in
src/analytics.mjs). A build can override it with UMAMI_WEBSITE_ID; the deploy workflow passes the
repository variable of that name when it is set. UMAMI_WEBSITE_ID=docs-website-id-not-set npm run build builds the site without any tracker. The id the site used before (fa9bf012-…) stays with
openrig.eu, now served by the rigs site, so its history goes on there.
| Event | Properties | When |
|---|---|---|
download-page |
target: github-releases|openrig-download, location, page |
Link to the GitHub releases or to openrig.eu/download (not a download yet) |
download-os-rpi5, download-os-x86_64 |
version, location, page |
Link to a system image of a release |
download-linux-x86_64, download-linux-aarch64 |
version, location, page |
Link to a desktop Linux tarball |
download-bundle |
version, platform, kind: system|app, location, page |
Link to an update bundle (.raucb) |
download-checksum |
version, target (os-rpi5, linux-x86_64…), location, page |
Link to a SHA-256 file |
download-rig |
rig, source: docs, location, page |
Link to a rig file on openrig.eu |
outbound |
host, url, page |
Any other link to another site |
edit-page |
page |
"Edit page" link in the docs |
video-play |
name, page |
First play of a docs recording |
copy-code |
page |
Copy button of a code block |
search-open |
page |
Docs search opened (the typed query is never sent) |
search-result |
target |
Search result chosen: the page it leads to |
Links are tracked by the inline script in src/analytics.mjs (links to openrig.eu and GitHub
count as outbound); a link can also take a data-umami-event attribute of its own. Each kind of
download has its own event name, the same as on openrig.eu, because Umami lists events by name.
TONE3000 is a trademark of TONE3000; OpenRig is an independent project that uses the TONE3000 API. The site content is licensed under the GPL-3.0-or-later, like OpenRig.