Offline-first application framework

An offline-first framework
for complex apps.

Build apps that keep working without a connection. Define your data, business rules and permissions in TypeScript. Nomos runs them locally and synchronises changes when devices reconnect.

TypeScript domains. Generated TypeScript and Dart clients.

The building block

A local workspace for
your app’s data and rules.

A Nomos workspace holds the data your app needs, the rules for changing it, and a history of changes. Your app reads and updates it through a generated, typed client.

You define how concurrent changes combine. Nomos applies those rules as workspaces synchronise.

Built into the framework

Keep building your app.

Work without a connection

Read and update local data while offline. Synchronise changes when connectivity returns.

Model your business rules

Define relationships, validation and permitted actions alongside your data.

Make concurrent edits predictable

Choose how changes combine when people work independently.

Control access and trace changes

Define permissions and retain a history of changes.

Start with a familiar domain

A task list, with room to grow.

Start with lists and tasks. The example in the docs walks through the model, generated client and the steps towards sharing and offline collaboration.

Declare how text edits merge and how concurrent tag additions combine, alongside the fields themselves.

Explore the task app example
Domain modelTypeScript · excerpt
export const Todo = aggregate("Todo", {
  listId: t.ref(TodoList),
  text: t.string().merge(Lww),
  done: t.bool(),
  tags: t.set(t.string()).merge(AddWins),
});

Explicit merge rules, defined with your data.

Try it locally

Start with your domain.

Run the local quickstart. No hosted account required.

Open the quickstart