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
Processes
1Database
SQLiteAdmin apps
9Port
3000How it runs
serverone binary · :3000
ValenceBosonChrononPhotonSpectraHiggsLepton (accounts)GaugeNeutrinoMesonTagNotifications
data/*.sqlite3 · one file per runtime
What it comes wired with
Data and work
Product shell
Lepton
Accounts/user
Gauge
Permissions/permission
Secrets/secrets
Notifications
Inbox/notifications
Welcome
First run/welcome
Extras
Get started
- Install cargo-generate
cargo install cargo-generate
- Generate your app
cargo generate --git https://github.com/unified-field-dev/unified-field-embedded --allow-commands cd <project-name>
- Set a dev-only Photon key
export PHOTON_TRANSPORT_KEY="$(openssl rand -base64 32)"
- Run it
cargo leptos watch --split # open http://127.0.0.1:3000
Change what's wired in
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 for | Best 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. |
| Processes | One binary | 7+ services (see topology) |
| Databases | SQLite | Postgres, Redis, Fluvio, ClickHouse |
| Database isolation | One SQLite file per runtime, in one process | Its own database per runtime, each run as its own application |
| Admin apps | Valence, Boson, Chronon, Photon, Spectra, permissions, secrets, accounts, notifications | Same admin apps as Embedded, plus Nucleus |
| Deploy | One binary on any machine | AWS scripts, with Gluon running the applications and Docker containers |
| Automatic deployer | Not included | Planned |
| Availability | Public | Private preview |