selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Grist logo

Self-host Grist

v1.7.22

Relational spreadsheet with Python formulas and access rules

ReleaseOpen CoreApache-2.0
Updatedlast week
LanguageTypescript
Setup difficultyEasy
ThemeDark mode
Stars
12 076
Port
8484 (Grist web app and API; change with the PORT environment variable)
Docker
gristlabs/grist
Install with Docker
Restricting who sees which rows and columns with access rulesDrag-and-drop page layout with linked widgetsCharts built from document dataForm view collecting records into a documentAssistant helping write a formula

What is Grist?

Grist is a relational spreadsheet: columns are named and typed like in a database, but they can still be filled with spreadsheet formulas, and the grist-core repository is the community server edition you run yourself to host those documents. Formula cells accept full Python syntax plus many familiar Excel functions, and an optional assistant can draft formulas against OpenAI-style chat endpoints. Documents support choice lists, cross-table references, attachments, conditional formatting, native forms, and drag-and-drop layouts of linked charts, cards and summary tables. Access rules work at row, column and table level so you can share part of a document, and collaboration covers live presence, threaded comments with mentions, and suggested changes for others to approve. Each document is a portable SQLite-based file, which keeps whole-document backups and restores simple. To run it you need one container, a persisted directory, and a session secret; production setups add a reverse proxy, an authentication method, and optionally Redis, a PostgreSQL home database, or S3-compatible snapshot storage. The open-source core is Apache-2.0 and needs no key; Grist Labs sells a fuller edition with extras such as automations, audit-log streaming, advanced admin controls and built-in OIDC/SAML sign-in, which is unlocked in the same image by an activation key after a 30-day trial.

Grist alternatives

All self-hosted alternatives to Airtable →

Should you self-host Grist?

Grist scores 75/100 on selfhost.directory (how scoring works) and ranks #2 of 10 in Data Management. It has 12 076 GitHub stars, +175 in the last 30 days.

It shipped 16 stable releases in the past year. The latest, v1.7.22, came out on 29 October 2026. New versions land roughly every 3 weeks.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is nocodb (81/100, 65 461 stars). It scores higher overall, so compare the two before you pick. See Grist vs nocodb side by side.

Features

  • AI formula assistantIn grist-core the assistant is limited to formulas; the broader task-based Assistant is full-edition only.
  • Custom Widgets
  • Drag-and-drop dashboards
  • Embeddable page views
  • File attachments
  • Form Builder
  • Granular Access Control
  • Import and export
  • Python formula engine
  • Real-Time Collaboration
  • REST API
  • Sandboxed Execution
  • Version history and backups
  • Webhooks

Grist README

Grist

Grist is a modern relational spreadsheet. It combines the flexibility of a spreadsheet with the robustness of a database.

  • grist-core (this repo – also known as Grist Community edition) has what you need to run a powerful server for hosting spreadsheets.
  • grist-desktop is a Linux/macOS/Windows desktop app for viewing and editing spreadsheets stored locally.
  • grist-static is a fully in-browser build of Grist for displaying spreadsheets on a website without back-end support.

Grist is developed by Grist Labs, an NYC-based company 🇺🇸🗽. The French government 🇫🇷 organizations ANCT Données et Territoires and DINUM (Direction Interministérielle du Numérique) have also made significant contributions to the codebase.

How to install Grist

Install Grist with Docker

Environment variables
GRIST_SESSION_SECRET, GRIST_DEFAULT_EMAIL, PORT, APP_HOME_URL, GRIST_SANDBOX_FLAVOR, GRIST_SINGLE_ORG, REDIS_URL, GRIST_TELEMETRY_LEVEL

docker run -p 8484:8484
-v ~/grist:/persist
-e GRIST_SESSION_SECRET=invent-a-secret-here
-e GRIST_DEFAULT_EMAIL=your-email@example.com
-it gristlabs/grist

A directory must be mounted at /persist; port 8484 exposed (change with PORT). AWS and Azure hosting instructions are also published.

How to configure Grist

  • GRIST_SESSION_SECRETa key used to encode sessions
  • GRIST_DEFAULT_EMAILif set, login as this user if no other credentials presented
  • GRIST_SANDBOX_FLAVORforces Grist to use the specified kind of sandbox for formula execution

    values: gvisor, pynbox, unsandboxed, docker, macSandboxExec, pyodide

  • GRIST_ENABLE_SCIMoptional. If set, enable the SCIM API Endpoint (experimental)
  • GRIST_IN_SERVICEif "true", skip the first-run Quick setup gate and put the server straight into service. New installs default to "false" so the operator can finish Quick setup; existing installs default to "true".

Grist releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Can I use Grist as the backend of my web app?

No, not as a direct backend: Grist has no authentication method suited to that, since an API key would be exposed to every visitor of the page.

Can I embed Grist into my website?

Yes, Grist pages can be shown view-only inside an iframe by appending an embed parameter to the page URL.

How do I sum the total of a column?

Use a summary table widget rather than a cell formula, since Grist rows are records; the summary table counts records and sums numeric columns automatically and updates as data grows.

Does Grist accept non-English characters?

Yes in column labels and in cell values, but column ids (the Python names used in formulas) must stay English, and imported headers are approximated.

How many rows can I have?

Grist works best below roughly 100,000 rows; the practical limit also depends on tables, columns and cell content and is about 20MB in CSV terms. Attachments are counted separately.

Can I move documents between sites?

Yes, by duplicating a document into the destination site; the original stays in place, so you can delete it afterwards.

How do I update my profile settings?

Open the user menu from the profile icon and choose Profile Settings, where you can change your name and theme, pick a language, and manage an API key.

More in Data Management

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…