The open runtime for composable apps — every capability is an independently deployable micro-service: plugins with their own UI and API, composed live over Module Federation, extended without forks, and published as signed, verifiable config.
everything.dev is a Module Federation runtime platform:
- a shared host that boots from a published runtime config (authored in
bos.app.ts, published on-chain to the FastKV registry) - an every-plugin framework — oRPC contracts, Effect services, plugin manifests
- Better-Auth + NEAR SIWN for sign-in, with passkeys, API keys, and organizations
- a CLI (
bos) for dev, builds, publishing, and deploys
Apps are composed at runtime: a child runtime extends the base platform, overrides only what it changes (its UI, its plugins), and deploys its own instance — no forks, no host rebuilds.
This repository is the base runtime and the source of truth for the published packages (everything-dev, every-plugin, better-near-auth) and the universal runtime image.
Scaffold your own app on the platform:
bos init your-app.everything.dev \
--extends dev.everything.near/everything.dev \
--account your-account.near \
--overrides ui \
--no-interactiveStart at the documentation map — what this repository is and where every document lives.
- The book — the manual: the model, authoring, running, publishing, and trusting a runtime
- Architecture Decision Records — the decision ledger: why the platform is the way it is
- AGENTS.md — the operating guide for agents
The docs plugin publishes all of it at /docs on every runtime that composes it — the same markdown, compiled when the plugin builds.
pnpm run setup # install + toolchain prepare + generated types + a fast verify (idempotent)
pnpm run dev # UI on http://localhost:3003, API on http://localhost:3001, Auth on http://localhost:3002
pnpm run testNo .env, Postgres or Docker: every local database is a persistent PGlite data dir under .bos/db. Start with pnpm run setup rather than a bare pnpm install — it also prepares the Effect toolchain (the patched tsc and oxlint) that pnpm run typecheck and pnpm run lint need, and it is a fast no-op on a healthy checkout.
See CONTRIBUTING.md for the contribution workflow and AGENTS.md for the full operational guide.
The Railway template deploys the everything.dev Docker image. You'll need to provide:
| Variable | Description | Example |
|---|---|---|
BOS_ACCOUNT |
The NEAR account that owns this app's published configuration on-chain — it signs bos publish transactions and namespaces the FastKV registry |
myapp.near |
BOS_GATEWAY |
The core domain where this app is served — combined with BOS_ACCOUNT, it forms the registry lookup path bos://<account>/<gateway> |
myapp.com |
BETTER_AUTH_SECRET |
Secret used for session encryption and key derivation — generate with openssl rand -base64 32 |
(random) |
MIT