Deploying to your organisation¶
Audience: IT administrators and platform teams · ~8 min read · Prerequisites: Install and first launch, Security and privacy
What it is¶
A checklist for rolling struktJS out to many machines: which package to hand out, how to install it, which settings an administrator controls, what talks to the network, and what to do on a network without internet access. It links to the pages that hold the detail and says plainly what is not there yet.
Choose how people run it¶
| Option | Good for | Page |
|---|---|---|
| Desktop app (the main way) | Everyone who edits models. Runs on the user's machine, contacts nothing by default. | Install and first launch |
| Internal server (a container per person or trusted team) | Locked-down laptops, browser-only access. Needs your own login in front; never internet-facing. | Deploying the server |
| Embedded editor in your own web tool | Editing a model inside an existing admin UI. | Embedding |
| Command line in CI | Check, test and generate on every change, no UI. | CLI, CI with Gradle and Bazel |
Package and install¶
The release workflow produces, per operating system:
| System | Files | Notes |
|---|---|---|
| Windows | NSIS installer (struktJS Setup <version>.exe), portable .exe |
The installer is not one-click: it asks for the install folder and installs per user. |
| macOS | .dmg, .zip (Apple Silicon) |
Signing and notarization run only when certificates are configured for the release. |
| Linux | .deb, .AppImage |
Every release lists a SHA-256 checksum per installer and CycloneDX bills of materials; verify the checksum before you redistribute a file. Check the build's signature status on the release page: an unsigned build triggers OS warnings.
Not available yet: an MSI or macOS .pkg, a documented silent-install command line, and preset per-user settings.
The NSIS installer is built by electron-builder, which supports the standard NSIS switches (/S for silent, /D=<folder>
for the folder), but this project has not run or tested an unattended install; try it on a test machine before relying on it.
To distribute through a software-management tool today, wrap the installer or the portable .exe in your own package.
A branded build with your name, icon, plugin set and update server baked in comes from the customer build pipeline.
What an administrator controls¶
| What | How | Page |
|---|---|---|
| Whether and where the app looks for updates | Machine policy file policy.json (users cannot change it), or the STRUKTJS_UPDATES* variables, or the build |
Updating and uninstalling |
| Which VS Code extensions may be installed | ~/.struktjs/extension-allowlist.json (per user; default-deny with a built-in publisher list) |
Security and privacy |
| Whether project code runs without asking | The Theia IDE asks per project/language/plugin content; the CLI refuses a project's own .lang.js unless --trust-project-code |
Trusting project code |
| Where user data lives (to back up, to clean) | ~/.struktjs, ~/.theia, the Electron data folder, the project folders |
Where your data lives |
Not available yet: a central place to set every preference for all users. Only the update policy has a machine-level file.
What talks to the network¶
With the standard build, nothing, until a user uses one of these features:
| Feature | Destination | To block it |
|---|---|---|
| Update check | The one server in your policy file; none by default | Leave it unset, or { "updates": { "enabled": false } } |
| Extensions view | open-vsx.org | Block the host; the bundled extensions keep working |
| Live collaboration | The relay the user types (default localhost:8100) |
Block outbound, or run your own relay behind TLS |
| AI assistant | The model server the user configures | Do not configure one; a local Ollama keeps text on the machine |
| AI web search (asks first) | DuckDuckGo | Decline the prompt; block the host |
The full table is in Security and privacy. No telemetry was found in the code.
Proxies. The server image needs a reverse proxy with specific settings (Deploying the server). For the desktop app's own outbound requests (updates, extensions) behind a corporate proxy: not verified; test the update check and the Extensions view from a managed machine before you promise it to users.
Offline and air-gapped networks¶
- The documentation, the samples, the CLI and every shipped language are bundled with the app: they work offline.
- The desktop installers carry the bundled VS Code plugins (Python, JSON, …), so editing Python-grammar models needs no download.
- Building the server image on a network without open-vsx.org: pass
--build-arg DOWNLOAD_PLUGINS=0(the image then lacks those plugins); see Deploying the server. - Updates: host the
latest*.ymlfile and the installers on an internal HTTPS server and point the policy file at it. - The Extensions view stays empty without Open VSX; mirror the registry yourself or install from an approved
.vsixafter review.
Security review pack¶
Hand your security team: Security and privacy (what the IDE can access, the trust model, the
limits that remain), the SBOMs attached to each release, the audit record docs/security-audit-2026-10-02.md in the
repository, and the accessibility report (Accessibility conformance). A penetration test, a
standard security questionnaire and a vulnerability SLA beyond the policy on the security page do not exist yet.
Checklist¶
- [ ] Pick a delivery option; for the server, an authenticating proxy with TLS in front.
- [ ] Verify the installer checksum and signature; test the install on one managed machine.
- [ ] Write
policy.json(updates on, pinned to your server, or off). - [ ] Decide the extension allowlist and distribute it to
~/.struktjs/. - [ ] Allow or block the network destinations in the table above.
- [ ] Tell users which projects and languages they may open (the IDE asks before running their code).
- [ ] Back up project folders; they hold everything that matters.