Skip to content

Backend modules ​

The TYPO3 backend (http://boombox.local/typo3) has a module group Boombox, right after Content, with the Boombox as its icon, and three modules in it.

Insights ​

The documentation you are reading, inside the backend: every Markdown file in Documentation/, with a navigation of all of them on the left and the sections of the open one on the right.

  • The order follows this documentation's index: the index first, then Hardware and Software as it lists them.
  • Search above the pages looks through every section of every document as you type: every word has to be in it, a word in a heading counts most. The hits show the document, the section and the words around them; one opens at its section, Enter opens the first. The index (?format=search) is fetched the first time the field is used.
  • Links between the documents stay in the module, sections included (Troubleshooting.md#no-sound). Links to the web open as usual.
  • A link to a file beside the documents (.json, .yaml, .yml, .txt, .csv), such as the Grafana dashboard in Prometheus metrics, downloads it.
  • Mermaid diagrams are drawn; Mermaid loads only for a page that has one. Click a diagram (or press Enter on it) to open it over the whole module: + and − zoom, Fit fits it back in, the wheel or a pinch zooms around the pointer, dragging moves it, Escape closes.
  • Hide pages in the top bar gives the text the navigation's room; the browser remembers it for the next page. On a phone the pages fold away under Documents above the text. The pages and the contents list stay in view below the top bar while the text scrolls.
  • Every example block has a Copy button in its corner (on hover, or always on a touch screen): the core's copy-to-clipboard, which also works over the speaker's plain HTTP.
  • Raw HTML in the Markdown is shown as text, not run.

Documentation/ is in the Debian package with the application, so the speaker shows the documentation of the version it runs.

Model viewer ​

3D models of the enclosure and other parts, viewed in the browser and sent to a slicer for printing.

FormatShownOpen in…
STLyesevery slicer below; Bambu Studio and QIDI Studio get a 3MF made from it
3MFyes, with its colours if it has anyevery slicer below
FreeCAD (.FCStd)the solids FreeCAD shows when the document opens: each Body once, in its place (its features are not drawn again); parts in an App::Part moved with it; hidden objects and sketches left outnone reads it: export an STL or 3MF from FreeCAD
  • The project's models: the files in Documentation/Models/ (the enclosure, Boombox.FCStd and Boombox-Body.3mf) come with the code and are deployed with it. They lead the list, tagged Project, and have no Delete: they are changed in the repository. The speaker serves them at /models/project/<path>.
  • Adding models: drag files over the module and drop them anywhere, or choose Upload in the top bar. They go up one after the other with a progress bar beside Upload (up to 64 MB each on the speaker), and the last one opens. A model of the same name is replaced only after you confirm it (Replace or Keep the old one). A refused file shows as the backend's error notification with the reason, one per file; it stays until it is closed. Or put them into fileadmin/models/ with Media → Filelist; subfolders are listed too.
  • Finding a model: each model shows its size and when it was last changed below its name; its path is above the view and in the item's tooltip. Type in the filter above the list: every word has to be in the name or the path. The list comes in pages as long as the window has room for (at least three; ten on a phone, where the list sits above the view), with the core's pagination, starting on the page of the model shown; the filter stays while you open one model after another.
  • The view: the model stands on a build plate with a 10 mm grid, Z up as in a slicer, and takes the room the window has left. Drag to turn it, scroll or pinch to zoom, right-drag to move it; Reset view brings it back. Its size is shown in mm.
  • Top bar: Reset view, Download, Delete (asks first: Keep it or Delete) and Open in…, for the model shown. After a delete the list stays on its page and shows the model that moved up into the deleted one's place; was it the last one of the last page, the page before.
  • No page loads: the module is one web component, <boombox-model-library>, with the models as JSON. Choosing a model loads only the model; the address follows, so a reload or Back shows it again. After an upload or a delete it fetches the list again (?format=json); what happened shows as the backend's notification.

Open in… ​

Open in… hands the model's address to a slicer on this computer through the link scheme it registers, the way Printables and MakerWorld do; the slicer downloads the model from the speaker itself. The links open in the top window: Firefox would load another scheme inside the module's frame, which the backend's frame-src forbids. Verified in each slicer's source (October 2026):

SlicerLinkTakesNote
Bambu Studiobambustudio://open?file=, macOS bambustudioopen://3MF onlyasks before a host other than MakerWorld: choose Yes
OrcaSlicer, Anycubic Slicer Nextorcaslicer://open?file=anyboth register the same scheme: the one installed last opens it
UltiMaker Curacura://open?file=anynames a download by the server's file name, so it gets /models/file/<path>
Creality Printcrealityprintlink://open?file=anysends its cloud login along with the download (to the speaker)
ElegooSlicerelegooslicer://open?file=any
Snapmaker Orcasnapmaker-orca://open?file=any
Flash Studio (Flashforge)orcaflashforge://open?file=any
QIDI Studioqidistudio://open?file=, macOS qidistudioopen://3MF onlyasks before a host it does not know: choose Yes

PrusaSlicer is not offered: it takes https:// links from Printables, Thingiverse and a few other sites only, with no setting to change that. Download the model and open it there.

The speaker's addresses for the slicers, public like fileadmin/ itself:

AddressWhat
/models/project/<path>a project model, with its file name sent
/models/project/3mf/<path>.3mfa project STL as a 3MF
/models/file/<path>a model of fileadmin/models/, with its file name sent (Cura names the download by it)
/models/3mf/<path>.3mfan STL of fileadmin/models/ as a 3MF, for the slicers that open only 3MF from a link

A 3MF made from an STL is kept in var/boombox-models/ until the STL changes.

The slicers check certificates with their own TLS and the public CAs only. In DDEV, whose certificate is a local one, their links use BOOMBOX_SLICER_BASE_URL (http://boombox.ddev.site, in .ddev/.env). The speaker serves plain HTTP, so there it needs nothing.

FreeCAD documents are read with OpenCascade (occt-import-js, about 7 MB of WebAssembly), loaded only when one is opened. It runs in a Web Worker: its bindings evaluate generated code, which the backend's Content Security Policy does not allow on the page itself.

How it is built ​

PartWhere
The grouppackages/boombox (EXT:boombox): Configuration/Backend/Modules.php, label in Resources/Private/Language/Modules/boombox.xlf
Insightspackages/insights (EXT:insights): Classes/Controller/InsightsController.php, Classes/Documentation/ (league/commonmark, GitHub-flavoured, GitHub's heading anchors), Resources/Private/Assets/Backend/insights.ts
Model viewerpackages/model-viewer (EXT:model_viewer): Classes/Controller/ModelViewerController.php (the page, and JSON for the list, uploads and deleting), Classes/ModelLibrary.php (the project's and the storage's models), Resources/Private/Assets/Backend/model-library.ts (the component, Lit), viewer.ts (the 3D view, three.js, which the documentation site uses too) and model-viewer.ts (its entry), fcstd-worker.ts, model-upload.ts
Open in…packages/model-viewer: Classes/SlicerLinks.php (the slicers and their links), Classes/Middleware/ModelExportMiddleware.php (/models/3mf/, /models/file/), Classes/StlTo3mf.php
Uploads of .stl, .3mf, .fcstdpackages/model-viewer/ext_localconf.php: allowed extensions, and their types for TYPO3's upload check (libmagic calls STL octet-stream and 3MF a ZIP archive)
64 MB for model uploadsdeploy/device/files/Caddyfile.device, request_body for /typo3/module/boombox/models

The Playwright specs live in each extension, under Tests/Playwright/: packages/insights/Tests/Playwright/insights.spec.ts opens the documents, follows a link, downloads a linked file, zooms a diagram and hides the pages; packages/model-viewer/Tests/Playwright/model-viewer.spec.ts drops two models, asks before replacing and before deleting one, filters and pages the list, checks the slicer links of each format (an STL's 3MF and Cura's named file included), refuses an HTML file named .stl, shows a moved FreeCAD Body once (body.FCStd), and uploads and measures a 20 × 30 × 10 mm box as STL, 3MF and FreeCAD document (packages/model-viewer/Tests/Playwright/fixtures/models/; the FreeCAD one also holds a hidden cylinder, which must not count).

Updates ​

Installs the newest release on the speaker, for admins only. It installs as root, so editors never see it.

  • Installed is the version of the boombox package (dpkg-query), read whenever the page or the toolbar opens: after an update it shows at once, without Check now. "Not from a package" means the app was set up another way, and there is nothing to update.
  • Newest release is the newest GitLab release that has a boombox_<version>_all.deb. A release whose package is still being built is passed over until the package is there.
  • The speaker looks five minutes after it starts and then every six hours (boombox-update-check.timer). Check now looks at once.
  • The backend's System Information (the ⓘ in the top bar) has a Boombox row with the installed version. A newer release marks it, as "1.0.2 (1.0.3 is available)", and adds the message "Boombox 1.0.3 is available", which links here. Its notes are on the page. Check now and Install are at the top right.
  • Install starts the installation and opens the installer's output in a full-size modal over the backend, coloured as a terminal shows it. It shows the steps (find the package, download, check the download against GitLab's sha256, install) and the installer's output as it happens.
    • Closing the modal does not stop the installation; Install opens it again. A page opened while an installation runs opens it at once.
    • The installation restarts the web server and the agent. The page waits for them and goes on where it was, so it may stall for a few seconds.
    • Once it is done, Reload the backend loads the new version.

The installation runs as boombox-update.service, apart from the web server and the agent, so their restarts do not stop it. Its progress is kept in /var/lib/boombox/update/: state.json holds the step, and log holds the installer's output. Where the package comes from is set twice:

  • in /etc/boombox/update.env, which the installer reads as root;
  • in the extension's settings (gitlab_dpkg_updater), which the module reads.

Change both together. If an installation went wrong, see Troubleshooting.

Packages ​

Runs apt on the speaker, for admins only (Boombox > Packages, EXT:apt). Like Updates, it works as root, so editors never see it.

  • Overview tells when the package lists were updated, which packages have a newer version, and whether the speaker needs a restart. Update lists and Upgrade are at the top right; Full upgrade and Remove unused packages are on the page.
  • Packages searches the package lists (at most 50 hits) and offers Install, Upgrade, Remove and Purge per package.
  • History is apt's own report (/var/log/apt/history.log and its rotations): when something was installed, upgraded or removed, by which command, and with which versions.
  • Unattended upgrades switches on the daily refresh of the package lists and the installation of Debian's security updates. The first switch-on installs unattended-upgrades. The speaker restarts by itself only if the option for it is set.

Everything that changes packages shows what apt would do first (installed, upgraded, removed) and waits for Run. Removing an essential package such as bash is shown and not offered: apt refuses it.

A run opens its output in a full-size modal, as Updates does, and goes on when the modal is closed or the page reloaded; Output opens it again. It runs as boombox-apt.service, apart from the web server and the agent, so an upgrade that restarts them does not stop it. Its progress is kept in /var/lib/boombox/apt/ (state.json, log).

install.sh leaves Debian's daily apt timers off, unless unattended upgrades were switched on here (/etc/apt/apt.conf.d/52boombox-unattended).