Skip to content

YAMLite

YAMLite keeps a folder of YAML files and a local SQLite database in sync, in both directions, continuously. Edit a file in your editor and the row changes. Run an UPDATE and the file changes — with your comments still in place.

  • Installation: Install YAMLite with npm or pnpm, or run it once with npx.
  • Quick Start: Lay out your data, create the schema, sync, and query with SQL.
  • Commands: Every yamlite command with its options.
  • Web UI: Edit records in the browser, send changes for review, and ask AI to propose edits.
  • Pages: Build custom pages over your tables and style the web UI.
  • Check, Query and Export: Check files against the schema, run read-only SQL, and export a static site.
  • Working with your data: How files map to tables, how types are inferred, and how nested values and lists are expanded.
  • Configuration: The yamlite.yaml schema: columns, formats, rules, references and indexes.
  • Use with AI agents: Give coding agents the yamlite guide and install the Agent Skill.
  • Library: Use YAMLite from Node with open(), status(), sync() and watch().
  • How it works: The three-way compare behind every sync, and the guarantees that protect your data.
  • Limitations: What YAMLite does not do.