ElectricSQL
Instant local-first for your Postgres
Eliminate APIs and Microservices. Build instantly responsive, realtime multi-user, offline-capable apps directly from Postgres.
Open source
Apache 2.0 license. Source code on GitHub.
Developed in Elixir and Typescript.Standard Postgres
Works with existing Postgres data models and
*any* managed Postgres host.Stateless self-host
Simple to deploy as a stateless service on Render,
Fly, AWS, GCP, etc.Annotate your data model
Choose which parts of your existing Postgres data model to expose:
ALTER TABLE items
ENABLE ELECTRIFICATION;
Drop-on our sync layer
Run a horizontally scalable Elixir service to handle active-active replication:
docker run -it -p 443 \
electric start
Voila! Magic live data
Using our Prisma-inspired client library and component framework hooks:
const { results } = useLiveQuery(
db.projects.liveMany()
)
No API needed
Just instant reactivity, realtime collaboration and resilient offline support.
Anurag Goel
Founder, Render
ElectricSQL is a great choice for a local-first sync layer that you can run anywhere yourself.
Johannes Schickling
Founder, Prisma
I’m very impressed with ElectricSQL’s approach to syncing and their thoughtful API design.
José Valim
Creator, Elixir
ElectricSQL brings the full power of the Erlang VM to local-first software development.
Get early access
Become a design partner
We're looking for design partners to work with us to build local-first applications on the next generation of the ElectricSQL platform.
You must have a Postgres-backed system and a business need to build instantly responsive, realtime multi-user, offline-capable apps or interfaces on top of it. You must also be willing to engage in the process and provide design feedback.
We'll invest development time, prioritise our roadmap to meet your requirements and work with you to help craft an optimal local-first experience for your users.