grist-kit

grist-kit is a CLI and type-safe client library for Grist, written in TypeScript. It provides:

  • An agent-friendly CLI for inspecting and querying Grist documents from the shell: list tables, fetch records, run SQL queries.

  • A type-safe client library: generate a TypeScript schema from a live doc, then read and write records with column names, filter values, and write payloads checked at compile time.

Tutorial