Our open source
projects
Xata's core platform is open source with Apache 2.0 license.
We believe better products are built when their core is open source.
Open by default
Xata is built on top of open source projects — CloudNativePG, OpenEBS, pgBackRest, Postgres itself. We pay it forward by open sourcing our platform.
Our team has deep roots in open source and distributed database infrastructure. Five years ago we started building toward what Postgres needs for the AI era. Now we're opening the core.
Vanilla Postgres
No fork, no code changes. Your databases are standard Postgres. All tools created for Postgres just work.
Community first
pgroll and pgstream started as standalone open source tools. We learn more from the community than we could on our own.
Open core
All core platform functionality is open source under the Apache 2.0 license. Commercial features include multi-region and multi-cell support.
Open source is infrastructure
We run 100% vanilla Postgres, no fork. That means the open-source ecosystem is our infrastructure too, so we help keep it healthy, with code and with funding.
pgBackRest
The open-source standard for Postgres backup, our preferred backup solution, and the backup engine for new branches on Xata. We're a GitHub Sponsor.
Keycloak
Our authentication layer. We contributed full management for organization invitations, shipped in Keycloak 26.5.0.
Drizzle
A TypeScript-first ORM and a popular way to work with Postgres. Because we run vanilla Postgres, it works with Xata out of the box.
Self host the Xata platform
Clone the repo, run it locally, and create your first branch.
# Clone and install
$ git clone https://github.com/xataio/xata
$ cd xata
# Start Kind cluster
$ kind create cluster --wait 10m
# Deploy via tilt
$ tilt up
# CLI deploy and authenticate
$ curl -fsSL https://xata.io/install.sh | bash
$ xata auth login --profile local --env local --force
$ xata auth switch local
# Create a database with the main branch
$ xata project create --name my-project
# Create a child branch
$ xata branch create
Paste this prompt to your AI agent to get started.
Full quickstart and Helm charts in the README
Get started
Featured projects
Our most popular open source tools for PostgreSQL.
pgroll
Zero-downtime, reversible schema migrations for PostgreSQL. Serves multiple schema versions simultaneously using the expand-and-contract pattern.
pgstream
PostgreSQL replication with DDL change tracking, multi-target streaming to Postgres, Elasticsearch, Kafka, and webhooks. Built-in data anonymization.
DeltaX
PostgreSQL extension for time-series compression and columnar storage while keeping data in regular Postgres tables.
All repositories
Check out all of our open source projects at github.com/xataio
screenshot
A zero-dependency browser-native way to take screenshots powered by the native web MediaDevices API.
pgzx
Create PostgreSQL extensions using Zig.
examples
Your one-stop-shop to try Xata out. From packages to apps, whatever you need to get started.
cnpg-i-scale-to-zero
CNPG plugin to manage scale to zero functionality
pgdistbench
cli
Xata CLI