Skip to main content
golain can provision a complete Omega + SQLite replication setup for a registered device: MQTT certificates, client YAML, environment script, Omega binary, SQLite extensions, and optional systemd/launchd unit files. Artifacts are written under ~/.config/golain/omega/{device-name}/ by default.

Prerequisites

CLI: golain omega scaffold

Creates or reuses MQTT device certificates, generates config, downloads Omega and SQLite deps, and optionally seeds a sample database.

Flags

Prefer --transport=tls when QUIC is unavailable or fails against your broker. The scaffold auto-falls back to TLS when the project has MQTT but not QUIC enabled.

Output files

Run after scaffold

Then open Edge Sync in the TUI to claim schema reviews and confirm lineages appear. With --verify-tables, expect three fresh lineages and one telemetry target in edge_ts_*.

Maintainer verification

The ilyama repo includes an end-to-end check against api.ilyama.golain.io:
Requires a valid golain login session and at least one Organization / Project / Fleet. The script scaffolds --verify-tables, starts Omega, waits for fresh lineages, approves the queued review, and confirms staged rows drain.

TUI: Deploy Omega wizard

Interactive flow from device detail:
Press O on device detail to start Deploy Omega.

Wizard steps

Certificates are saved under ~/.config/golain/certs/{device-name}/.

CDN assets used

Standalone install (without scaffold):
Install Omega