GitHub template

One binary, SQLite, and the admin apps wired in

Accounts, data, jobs, live updates, metrics, and admin tools run in one process, so there is one thing to deploy.
Public
cargo generate --git https://github.com/unified-field-dev/unified-field-embedded --allow-commands
Every admin app in one launcher, behind one sign-in.
Processes
1
Database
SQLite
Admin apps
9
Port
3000

How it runs

Each runtime keeps its own SQLite file, so jobs, events and analytics never share a database with your app data.

What it comes wired with

Data and work
SQLite/valence
SQLite/boson
SQLite/chronon
SQLite/photon
SQLite/spectra
Request context
Product shell
Lepton
Accounts/user
Gauge
Permissions/permission
Secrets/secrets
Notifications
Inbox/notifications
Welcome
First run/welcome
Extras
Component preview/orbital
Meson
Files
Tag
Tags/tag
Counter demo
Example app/counter

Get started

  1. Install cargo-generate
    cargo install cargo-generate
  2. Generate your app
    cargo generate --git https://github.com/unified-field-dev/unified-field-embedded --allow-commands
    cd <project-name>
  3. Set a dev-only Photon key
    export PHOTON_TRANSPORT_KEY="$(openssl rand -base64 32)"
  4. Run it
    cargo leptos watch --split
    # open http://127.0.0.1:3000

Change what's wired in

Swap or turn off a runtime

Each runtime has its own builder. Point Boson, Chronon, Photon or Spectra at a different store, or leave one out.

Add your domain code

UI routes, workers and Valence models each have a place beside the shell, so your code stays out of the host glue.

Compare templates

Best forBest for one or several small applications with a limited number of users.Best for large deployments: many medium to large applications, or a large number of users.
ProcessesOne binary7+ services (see topology)
DatabasesSQLitePostgres, Redis, Fluvio, ClickHouse
Database isolationOne SQLite file per runtime, in one processIts own database per runtime, each run as its own application
Admin appsValence, Boson, Chronon, Photon, Spectra, permissions, secrets, accounts, notificationsSame admin apps as Embedded, plus Nucleus
DeployOne binary on any machineAWS scripts, with Gluon running the applications and Docker containers
Automatic deployerNot includedPlanned
AvailabilityPublicPrivate preview