返回排行榜

mathesar-foundation/mathesar

Sveltemathesar.org

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.

pythondjangojavascripttypescriptsveltesveltejspostgresqlpostgresdatabase-managementdatabase-guiairtable-alternativeautomatic-api
Star 增长趋势
Star
5.1k
Forks
484
周增长
Issues
278
2k4k
2023年11月2024年9月2025年8月2026年7月
README

Mathesar logo

Intuitive spreadsheet-like interface that lets users of all technical skill levels view, edit, query, and collaborate on Postgres data directly—self hosted, with native Postgres access control.

License GitHub closed issues GitHub commit activity

WebsiteDocsMathesar CloudMatrix (chat)DiscordContributor WikiRoadmap

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

Mathesar dialog for creating a PostgreSQL database with sample dataset options.

Adding collaborators

Mathesar collaborators page showing a read-only user added to the showcase database.

Viewing a Postgres schema

Mathesar schema page showing the Library Management tables, forms, and explorations.

Working with tables

Mathesar table view for ice cream shop timesheets with the table inspector open.

Finding a nested record

Mathesar table view with nested record selection open for choosing a timesheet employee.

Linking two tables together

Mathesar relationship creation interface for linking two PostgreSQL tables.

Managing table permissions

Mathesar table permissions interface showing read-only and custom role privileges.

Mathesar single-record page for a library item with related checkout records visible.

Building a form

Mathesar form builder for a bike shop service request form with field rules open.

Filling out a form

Public Mathesar service request form being filled with a mechanic search.

Viewing an Exploration (query result)

Mathesar exploration page showing bike shop customers with related service requests.

Building an Exploration (query)

Mathesar Data Explorer query builder showing a service request list aggregation.

Disconnecting a database

Mathesar confirmation dialog for disconnecting the showcase 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.

相关仓库
donnemartin/system-design-primer

Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

PythonPyPIOtherprogrammingdevelopment
358.7k57.3k
vinta/awesome-python

An opinionated list of Python frameworks, libraries, tools, and resources

PythonPyPIOtherawesomepython
awesome-python.com
309.6k28.4k
practical-tutorials/project-based-learning

Curated list of project-based tutorials

PythonPyPIMIT Licensetutorialproject
274.6k35.4k
TheAlgorithms/Python

All Algorithms implemented in Python

PythonPyPIMIT Licensepythonalgorithm
thealgorithms.github.io/Python/
223k50.9k
tensorflow/tensorflow

An Open Source Machine Learning Framework for Everyone

C++Apache License 2.0tensorflowmachine-learning
tensorflow.org
196.5k75.7k
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

PythonPyPIOtheraiopenai
agpt.co
185.6k46.1k
CyC2018/CS-Notes

:books: 技术面试必备基础知识、Leetcode、计算机操作系统、计算机网络、系统设计

algorithmleetcode
cyc2018.xyz
184.8k50.8k
yt-dlp/yt-dlp

A feature-rich command-line audio/video downloader

PythonPyPIThe Unlicenseyoutube-dlpython
discord.gg/H5MNcFW63r
179.4k15.3k
521xueweihan/HelloGitHub

:octocat: 分享 GitHub 上有趣、入门级的开源项目。Share interesting, entry-level open source projects on GitHub.

PythonPyPIgithubhellogithub
hellogithub.com
166.5k12.4k
huggingface/transformers

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

PythonPyPIApache License 2.0nlpnatural-language-processing
huggingface.co/transformers
162.8k34k
langgenius/dify

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

TypeScriptnpmOtheraigpt
dify.ai
149.7k23.6k
langchain-ai/langchain

The agent engineering platform.

PythonPyPIMIT Licenseaianthropic
docs.langchain.com/langchain/
142.3k23.7k