mathesar

mathesar-foundationGPL-3.0活跃维护

给 Postgres 套上类似电子表格的界面,让不懂 SQL 的同事也能直接查看、编辑、查询和协作数据,自托管且沿用原生权限控制。

An intuitive spreadsheet-like interface that lets users of all technical skill levels view, edit, query, and collaborate on Postgres data directly. 100% open source and self hosted, with native Postgres access control.

0.12.0发布于 2026-07-02 10:29 UTC5,172star +2 / 7 天489fork同步于 2026-11-10 23:37 UTC

怎么上手

由 README 提炼,执行前请确认
README 未给出具体安装命令,请参阅 https://docs.mathesar.org 的安装文档
硬件要求按 README 说明

README 未说明硬件要求,仅说明可用 Docker 在数分钟内自托管部署,并连接现有 Postgres 数据库。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

给 Postgres 套上表格界面的自托管 Web 应用,让非技术同事也能直接查看和编辑数据

给 Postgres 套上类似电子表格的界面,让不懂 SQL 的同事也能直接查看、编辑、查询和协作数据,自托管且沿用原生权限控制。

核心能力

  • 用表格界面直接增删改查 Postgres 表记录
  • 用 Data Explorer 可视化构建查询,无需写 SQL 或 join
  • 复用 Postgres 角色与权限做访问控制
  • 通过唯一链接发布表单,提交自动写入新记录
  • 支持导入导出数据、筛选排序分组与列迁移

容易踩的坑

README 未提供安装命令,需自行查阅官方文档;项目目前处于 public beta 阶段,用于生产前需评估;需要自备或新建一个 PostgreSQL 数据库实例

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本0.12.0
  1. 0.12.0Version 0.12.0最新正式版2026-07-02 · 2026-07-02 10:29 UTC
  2. 0.11.0Version 0.11.02026-05-28 · 2026-05-28 10:51 UTC
    查看更新说明
  3. 0.10.1Version 0.10.12026-04-26 · 2026-04-26 18:47 UTC
    查看更新说明
  4. 0.10.0Version 0.10.02026-04-21 · 2026-04-21 19:29 UTC
    查看更新说明
  5. 0.9.0Version 0.9.02026-02-10 · 2026-02-10 21:20 UTC
    查看更新说明

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Mathesar

    Mathesar is a web application that makes working with PostgreSQL databases both simple and powerful. It empowers users of all technical skill levels to view, edit, query, and collaborate on data with a familiar spreadsheet-like interface, with no code needed. It’s self hosted, can be deployed in minutes, and works directly with PostgreSQL databases, schemas, and tables without extra abstractions. The project is 100% open source and maintained by Mathesar Foundation, a 501(c)(3) nonprofit.

    Mathesar is as scalable as Postgres and supports any size or complexity of data, making it ideal for workflows involving production databases. It requires minimal setup, and integrates into your existing infrastructure. Because Mathesar is self-hosted, your data never leaves your servers, and access control based on Postgres roles and privileges keeps your database secure without adding unnecessary risk.

    Table of Contents

    Status

    • Public Alpha: You can install and deploy Mathesar on your server. Go easy on us!
    • Public Beta: Stable and feature-rich enough to implement in production
    • Public: Widely used in production environments

    We are currently in the public beta stage.

    Install Mathesar

    Please see our documentation for instructions on installing Mathesar on your own server.

    Want to use Mathesar without installing it? Mathesar Cloud is in now early beta and has a free plan.

    Join our community

    The Mathesar team is on Matrix (chat service). We also have mailing lists and the core team discusses day-to-day work on our developer mailing list.

    Contribute to Mathesar

    We actively encourage contribution! Get started by reading our Contributor Guide.

    Features

    • Built on Postgres: Connect to an existing Postgres database or set one up from scratch.
    • Install in minutes: Install using Docker in minutes, integrate into any existing infrastructure.
    • Postgres-based access control: Use existing Postgres roles within Mathesar's UI, or set up your own.
    • Interoperable with other tools: Mathesar works harmoniously alongside your database and thousands of other tools in the Postgres ecosystem.
    • Set up your data models: Easily create and update Postgres schemas and tables.
    • Data entry: Use our spreadsheet-like interface to view, create, update, and delete table records.
    • Filter, sort, and group: Quickly slice your data in different ways.
    • Query builder: Use our Data Explorer to build queries without knowing anything about SQL or joins.
    • Forms: Build and share forms to collect data from anyone via a unique link, with submissions automatically saved as new records.
    • Import and export data: Import and export data into Mathesar easily to work with your data elsewhere.
    • Schema migrations: Transfer columns between tables in two clicks.
    • Uses Postgres features: Mathesar uses and manipulates Postgres schemas, primary keys, foreign keys, constraints and data types. e.g. "Relationships" in the UI are foreign keys in the database.
    • Custom data types: Custom data types for emails and URLs, validated at the database level.

    Screenshots

    Connecting a database

    Adding collaborators

    Viewing a Postgres schema

    Working with tables

    Finding a nested record

    Linking two tables together

    Managing table permissions

    Viewing a single record with related records

    Building a form

    Filling out a form

    Viewing an Exploration (query result)

    Building an Exploration (query)

    Disconnecting a database

    Mathesar in action

    https://github.com/user-attachments/assets/6bdfb178-17b4-4abf-aac4-9781e1d841ab

    Our motivation

    Using databases shouldn't require technical expertise or expensive, closed-off tools. Databases are incredibly powerful, but they're often trapped behind complex interfaces that are hard to use or limit how people can access and share their data. We want to change that by building user-friendly tools that unlock the power of existing databases without sacrificing accessibility, portability, or extensibility.

    Mathesar is our answer: an open-source platform designed to unlock the full potential of PostgreSQL, one of the most powerful and trusted open-source databases. Mathesar is easy to use, interoperable, and extensible, while also giving you complete control over your data. As a nonprofit, we're committed to keeping Mathesar 100% open source and available to everyone. Better ways to work with data mean better decisions, and better decisions lead to a better world.

    Bugs and troubleshooting

    If you run into problems, refer to our troubleshooting guide.

    License

    Mathesar is open source under the GPLv3 license - see LICENSE. It also contains derivatives of third-party open source modules licensed under the MIT license. See the list and respective licenses in THIRDPARTY.