Spec v1

An open catalog format for self-hosted apps.

An app is a folder with an automaton.json. A catalog is a GitHub repository with a catalog.json that lists apps, each pinned to one commit. Both are plain JSON with published schemas, so any platform can read them, and one catalog can serve more than one platform.

Text: CC BY 4.0Schemas: Apache-2.0Version 1

Schemas

The contract is the schema

Both are JSON Schema 2020-12. Automaton's own catalog build and the official catalog are checked against them in CI.

Validate a file with any JSON Schema tool, for example:

pip install jsonschema
curl -sO https://automaton.monster/schemas/catalog.schema.json
jsonschema -i catalog.json catalog.schema.json

automaton.json

The app

Required: name. A catalog app also needs summary (one line). Everything an app needs to run sits under application:

  • Build and run: build (image, command, outputDirectory), runtime (image, command, port, user, update), or compose for a small multi-container app.
  • Health: health.path answers 2xx when the app is ready; startupTimeoutSeconds bounds the start.
  • Storage: storage.dataDirectory and mounts survive redeploys; everything else is replaced.
  • Settings and secrets: named values delivered as environment variables. Secrets are never stored in the manifest.
  • Permissions: permissions are requests. A manifest or catalog never grants one; an administrator approves each on the installing server.

Unknown fields are allowed and tools must keep them, so a newer manifest is never damaged by an older tool.

{
  "name": "Hello",
  "summary": "A page that greets you.",
  "application": {
    "runtime": { "image": "node:22-slim", "command": { "executable": "node", "arguments": ["server.mjs"] }, "port": 8080 },
    "health": { "path": "/health" },
    "storage": { "dataDirectory": "data" },
    "permissions": ["notify:email"]
  }
}

catalog.json

The catalog

Required at the top: schemaVersion (1), repo (owner/name) and apps. Each entry has id, name, summary, category, folder, commit and minServerVersion; permissions, publisher, icon and screenshots are optional.

  • Pinning: commit is the full SHA of the last commit that changed the folder. An install reads exactly those files, so what was listed is what runs.
  • Versioning: schemaVersion changes only for a breaking change. New optional fields do not change it; readers ignore fields they do not know and refuse a higher major version.
  • Safety: folder is a relative path without . or ..; minServerVersion lets an older server show an entry without Install.
{
  "schemaVersion": 1,
  "repo": "example-org/team-tools",
  "apps": [{
    "id": "adminer", "name": "Adminer", "summary": "Manage a database from the browser.",
    "category": "Developer tools", "folder": "tools/adminer",
    "commit": "0123456789abcdef0123456789abcdef01234567",
    "minServerVersion": "0.2.200", "permissions": []
  }]
}

Adopt it

Start from a Docker Compose file

The Automaton CLI turns a compose.yaml into an app folder, drops what the platform does not use (restart policies, host port mappings) and refuses what it cannot run safely (build contexts, host mounts):

automaton import-compose compose.yaml --out my-app --name "My App"

Scope of v1: the app and catalog format. Converters to other platforms' formats and a governance process are later work. Read the reference implementation in GitHub; send corrections as issues.

Open source ยท Apache 2.0

Own the place where your apps live.

See apps running on Automaton today, read the docs as plain text, or start your own server.