Skip to content

About

A common, upgradeable runtime

Resources

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Latest commit

 

History

1,579 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

everything.dev

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.

What is everything.dev?

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.

For builders

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-interactive

Documentation

Start at the documentation map — what this repository is and where every document lives.

The docs plugin publishes all of it at /docs on every runtime that composes it — the same markdown, compiled when the plugin builds.

Local development

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 test

No .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.

Deploy

Deploy on Railway

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)

License

MIT

About

A common, upgradeable runtime

Resources

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages