Skip to content
@pgsty

Pigsty

Battery-Included PostgreSQL Distribution as a Free & OSS Local-First RDS

PIGSTY - Self-Hosting PostgreSQL like a Pro

Website: pigsty.io 网站: pigsty.cc Version License: Apache-2.0 GitHub Stars Extensions: 575 Ask DeepWiki

Battery-Included, Local-First PostgreSQL Distribution as a Free & Better RDS!

"PostgreSQL In Great STYle": Postgres, Infras, Graphics, Service, Toolbox, it's all Yours.

Website | ORG | PGEXT.CLOUD | PG.CENTER | AI INFRA | Public Demo | Blog | Discuss | Support | 中文站 | 博客

banner

Pigsty scales from laptop to datacenter. Enterprise-grade. Developer-friendly. Get Started with the latest v4.5.0:

curl -fsSL https://repo.pigsty.io/get | bash -s v4.5.0

🐘 Products

The things you actually run.

Repo What it is Docs
pigsty The distribution — HA, PITR, IaC, monitoring, 12 kernel forks, 575 extensions pigsty.io stars
silo S3-compatible object storage — the community MinIO fork, still Apache-2.0 silo.pgsty.com stars
pg_exporter PostgreSQL & Pgbouncer metrics for Prometheus, declared in pure SQL exp.pgsty.com stars
pig The missing extension package manager for PostgreSQL pig.pgsty.com stars
oink Knowledge publishing framework — markdown in, modern docs out oink.pgsty.com stars
sow Software object warehouse — builds and mirrors APT & YUM repos sow.pgsty.com stars
farrow One inventory, one deploy — fixed-IP QEMU VMs on macOS and Linux farrow.pgsty.com stars

Silo family: mc (client) · silo-console (admin UI) · silo-go (SDK) · kes (key server) · minio-docs


🧩 Extensions

PGEXT.CLOUD — 2200+ PostgreSQL extensions indexed, 570+ packaged for EL, Debian & Ubuntu.

Repo What it is
pgext Metadata, docs and catalog behind PGEXT.CLOUD stars
extension The extension catalog data pipeline stars
rpm Extension RPM recipes, in addition to the PGDG YUM repo stars
deb Extension DEB recipes, in addition to the PGDG APT repo stars
infra-pkg RPM & DEB builds for Prometheus, Grafana and friends stars
image Docker image for PostgreSQL with every extension baked in stars

📚 Knowledge

PG.CENTER — PostgreSQL documentation, searchable and cross-versioned. Four atlases sit on top of it:

Atlas What's in it
guc.pg.center Every configuration parameter — 447 GUCs, PG 9.0 → 19 Beta, with history, defaults and tuning guidance
wait.pg.center Every wait event, PG 13 → 18 — what the backend waits on, and what an operator should do next
err.pg.center Every error code — all 263 SQLSTATEs, with failure stage, diagnosis and recovery
cat.pg.center Every system catalog — 157 relations traced across 17 major versions
Repo What it is Site
pgweb postgresql.org, rebuilt bilingual pgsql.cc
pgdoc Chinese translation of the PostgreSQL manual pgsql.cc/docs
pgnls Chinese zh_CN message catalogs, upstreamed to PostgreSQL pgsql.cc/nls

🧪 Labs

Repo What it is
piglet.run PG-centric AI infra sandbox for agents — docs
pgs3 S3 interface as a PostgreSQL extension, in Rust
sim Isometric 3D digital twin of a Pigsty HA cluster — live
go-patroni Go SDK for the Patroni API
dbrank DBMS trending data analysis
Kernel forks & other repos

Pigsty ships 12 PostgreSQL kernel forks. The ones tracked here:

  • openHalo — PostgreSQL that speaks the MySQL wire protocol
  • oriolepg — PostgreSQL with OrioleDB extensibility and performance patches

Also in the org:


💬 Community

Discord Telegram Discussions Demo

Everything here is free and open source under Apache-2.0. Commercial support, consulting and subscriptions: pgsty.com.

Pinned Loading

  1. pigsty pigsty Public

    Enterprise-Grade OSS PostgreSQL Distribution with HA, PITR, IaC, Monitor, 12 kernel forks and 575 PG extensions. Best-of-breed products integrated as a platform. Self-host Postgres like a Pro!

    Shell 5.7k 384

  2. pig pig Public

    PostgreSQL Extension Package Manager

    Go 206 10

  3. silo silo Public

    Forked from minio/minio

    S3-Compatible Object Storage. A MinIO fork maintained by PGSTY

    Go 3.4k 196

  4. pgext pgext Public

    PG Extension Catalog Utils

    HTML 34 1

  5. infra-pkg infra-pkg Public

    PGSTY RPM & DEB Builder for OS In-Dependent Packages

    Makefile 9 3

  6. extension extension Public

    PostgreSQL Extension Catalog

    Python 40 6

Repositories

Showing 10 of 62 repositories
  • homebrew-infra Public

    Homebrew Repo for PGSTY INFRA

    pgsty/homebrew-infra's past year of commit activity
    Ruby 1 0 0 1 Updated Sep 20, 2026
  • farrow.pgsty.com Public

    Farrow documentation site

    pgsty/farrow.pgsty.com's past year of commit activity
    Python 1 Apache-2.0 0 0 0 Updated Sep 20, 2026
  • farrow Public

    Turn one Pigsty-compatible inventory into fixed-IP local QEMU VMs on macOS and Linux

    pgsty/farrow's past year of commit activity
    Go 1 Apache-2.0 0 3 0 Updated Sep 20, 2026
  • silo.pgsty.com Public

    Website of Silo

    pgsty/silo.pgsty.com's past year of commit activity
    CSS 3 CC-BY-4.0 1 0 2 Updated Sep 20, 2026
  • oink.pgsty.com Public

    Oink Website

    pgsty/oink.pgsty.com's past year of commit activity
    JavaScript 9 Apache-2.0 3 0 0 Updated Sep 20, 2026
  • silo Public Forked from minio/minio

    S3-Compatible Object Storage. A MinIO fork maintained by PGSTY

    pgsty/silo's past year of commit activity
    Go 3,354 AGPL-3.0 8,184 11 2 Updated Sep 20, 2026
  • oink Public

    Hugo theme for engineering documentation

    pgsty/oink's past year of commit activity
    HTML 102 Apache-2.0 10 0 0 Updated Sep 20, 2026
  • .github Public

    PGSTY ORG BANNER

    pgsty/.github's past year of commit activity
    0 0 0 0 Updated Sep 20, 2026
  • pgweb Public Forked from postgres/pgweb

    PostgreSQL 中文网站

    pgsty/pgweb's past year of commit activity
    HTML 2 61 0 0 Updated Sep 20, 2026
  • infra-pkg Public

    PGSTY RPM & DEB Builder for OS In-Dependent Packages

    pgsty/infra-pkg's past year of commit activity
    Makefile 9 Apache-2.0 3 1 1 Updated Sep 19, 2026