# stripe/sync-engine

Sync your Stripe account to you Postgres database.

Repository: https://github.com/stripe/sync-engine
Canonical: https://ross.abutalabs.com/products/stripe-sync-engine
Homepage: https://supabase.github.io/stripe-sync-engine
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: typescript, postgres, postgresql, stripe, stripe-subscriptions, stripe-api, stripe-payments, fastify
Last push: 2026-08-20T22:25:51+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 76, longevity 100
- inputs: {"age_days": 1952, "days_push": 13, "days_rel": 160, "gap_med": 4.0, "n_releases_24m": 39}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1078, forks 116 (observed 2026-08-28T04:03:29.813544+00:00)

## What it is
A self-hosted service that syncs your Stripe account data (customers, subscriptions, payments) into a Postgres database. Built in TypeScript with Fastify, it keeps a local relational mirror of Stripe state for querying.

## Use cases
- sync stripe data to postgres
- query stripe subscriptions with sql
- keep local database mirror of stripe customers
- avoid stripe api rate limits by syncing data locally
- run analytics on stripe payment data
- self-host stripe to database sync service

## When to choose
- you need to query Stripe data with SQL or join it with your own tables
- you want a self-hosted, open-source sync instead of vendor solutions
- you use Postgres and TypeScript/Node infrastructure

## When to avoid
- you need tight access controls or public-facing deployment - it lacks strong access controls
- you only need occasional Stripe API calls rather than continuous sync
- you want a fully supported production service with security guarantees

## Facets
- artifact type: service
- maturity: active
- function: etl, database, http-server, webhook
- domain: fintech, databases, backend, self-hosted
- platform: self-hosted
- tags: stripe, postgres, sync, subscriptions, fastify, nodejs, docker, typescript

## Member repositories
- stripe/sync-engine (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:29.813544+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:53:12.401886+00:00, confidence not recorded.
  - readme: https://github.com/stripe/sync-engine (fetched 2026-08-28T04:03:29.813544+00:00, sha 0484f727100c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
