Skip to content

Package draw.io 31.4.6 for StartOS - #1

Merged
stupleb merged 1 commit into
masterfrom
initial-package
Sep 26, 2026
Merged

stupleb merged 1 commit into
masterfrom
initial-package

Conversation

@stupleb

@stupleb stupleb commented Sep 26, 2026 •

Copy link
Copy Markdown
Owner

First release of draw.io for StartOS, as 31.4.6:0, on SDK 2.0.9.

What it is

The official jgraph/drawio image, unmodified. The server only delivers the editor: diagrams save to the user's device, the browser, or Nextcloud through its draw.io app ("Diagramming"), never to the server. No login and no database; the only state is store.json with the primary URL.

Set Primary URL

Upstream's image points HTML exports and embed code at http://localhost:8080, and share links at draw.io's hosted viewer. The action picks one of the service's own addresses for both; init chooses the .local address on install. DRAWIO_SERVER_URL is pinned to /, because setting only DRAWIO_BASE_URL makes the entrypoint derive an absolute server URL, and the editor then breaks when opened from any other address.

When the chosen address disappears, an important task asks for a new one and the editor keeps running; the task clears itself if the address comes back.

Nextcloud

The Diagramming app's Editor URL can point at this service. Nextcloud then loads the editor from the package and saves to Nextcloud as before. The editor takes its language, dark mode and editor configuration from the app's own settings, and real-time co-editing needs draw.io's hosted service, so it is not available.

Tested

On lean-anaconda (StartOS 0.4.0.2, x86_64):

  • fresh install: health green, no tasks, primary URL set to the .local address
  • the editor from the .local address and the LAN IP, every request staying on that address and nothing outside contacted on load
  • a diagram saved to browser storage; HTML export and share links pointing at the primary URL; a share link rendering in the self-hosted viewer
  • Set Primary URL while running (restart with the new address) and while stopped (applied at the next start)
  • disabling the chosen address: task raised, form defaulting to the .local address; re-enabling it: task cleared
  • restart and reinstall keeping the setting; uninstall plus fresh install coming up clean
  • the Nextcloud app loading the editor from the package (Tomcat access log), and its embed handshake and autosave against a stand-in page

Not tested

Backup and restore; saving a diagram from inside Nextcloud; the aarch64 package on hardware (it builds); saving to a folder with the browser's Device option.

Runs the official jgraph/drawio image unmodified: one daemon, one Web UI
interface on 8080 (Tomcat's own HTTPS port stays unexposed), and a
readiness check on that port, which Tomcat opens only once the editor has
deployed. The server stores no diagrams; they save to the user's device,
the browser, or Nextcloud through its draw.io app. The only state is
store.json with the primary URL.

Set Primary URL chooses the address written into HTML exports, embed code
and share links, which upstream's image otherwise points at localhost:8080
and at draw.io's hosted viewer. DRAWIO_SERVER_URL is pinned to "/": set
alone, DRAWIO_BASE_URL makes the entrypoint derive an absolute server URL,
and the editor then breaks when opened from any other address. Init picks
the .local address on install, raises an important, non-blocking task
when the chosen address disappears, and clears it when the address comes
back.

Verified on hardware (StartOS 0.4.0.2, x86_64); details in the PR.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@stupleb
stupleb merged commit be889c1 into master Sep 26, 2026
3 checks passed
@stupleb
stupleb deleted the initial-package branch September 26, 2026 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant