Hacker GitHub

← All repos

electric-sql/pglite

View on GitHub ↗ ★ 16,226 TypeScript

Embeddable Postgres with real-time, reactive bindings.

36 mentions on Hacker News by 29 people: 10 stories, 26 comments · first 2024-02-23 · latest 2026-10-13

Mentions per year 36 mentions · busiest year 2024 (23)
20082026
  1. …compiling to wasm so you can embed it in the browser too, which is what powers pgrust.com [0] https://github.com/electric-sql/pglite [1] https://pgrust.com/
  2. …you link to it and run as a single program) There's even a draft PR to do this, but it became stale https://github.com/electric-sql/pglite/pull/842 Right now what exists is, grabbing the pglite wasm and running it on native code on wasi…
    comment by nextaccountic · 2026-04-11 · in PGLite Evangelism
  3. …wazero + sqlite could still be cross portable which is super fascinating What are your thoughts on https://github.com/electric-sql/pglite (postgres in wasm)? Also what were the goal behind a pure golang solution via wazero + wasm sqlite as…
    comment by Imustaskforhelp · 2025-12-09 · in Epsilon: A WASM virtual machine written in Go
  4. …help out who has compiled the postgis extension and is familiar with WASM. You can help out here. https://github.com/electric-sql/pglite/pull/807
    comment by DonnyV · 2025-12-04 · in PGlite – Embeddable Postgres
  5. …embed PGLite into my Go CLI with a WASM runtime and use PGLite as a replacement for SQLite. https://github.com/electric-sql/pglite/issues/89 makes it sound like there's "third-party" bindings for Rust. Is there any interest in "official"…
    comment by bbkane · 2025-12-04 · in PGlite – Embeddable Postgres
  6. Yes! I (experimentally) compiled and packaged it for react-native. Postgres on iOS and Android https://github.com/electric-sql/pglite/pull/774
    comment by evelant · 2025-12-04 · in PGlite – Embeddable Postgres
  7. …HTTP API. This integrates with CDNs for highly-scalable data delivery. electric-sql/pglite: https://github.com/electric-sql/pglite : > Embeddable Postgres with real-time, reactive bindings. "Using Postgres for Everything"…
  8. …I could add into a golang [1] or python app and have running like sqlite. OK, still hoping...! [1] https://github.com/electric-sql/pglite/issues/89
  9. See also https://github.com/electric-sql/pglite (REPL at https://pglite.dev/repl/ ) (Previously discussed 7 months ago: https://news.ycombinator.com/item?id=39477457 )
    comment by baq · 2024-10-15 · in Sqlite3 WebAssembly
  10. …a zip file). You could certainly embed PostgreSQL in a jar and you can do something similar to this https://github.com/electric-sql/pglite I don’t think there’s that much interest, but it is doable. EDIT:…
  11. I'd like to see more of something like this https://github.com/electric-sql/pglite in combination with a redis/valkey compatible API and then you could still have it run out of the box, but allow folks to point to external servers too for…
  12. You can now run Wasm builds of PostgreSQL that will get you everything you like about SQLite. https://github.com/electric-sql/pglite
  13. Check out https://github.com/electric-sql/pglite , which this is built with.
  14. …( https://github.com/supabase-community/postgres-new ): The frontend. Apache 2.0 * PGlite ( https://github.com/electric-sql/pglite ): A WASM build of Postgres. Apache 2.0 * pg-gateway ( https://github.com/supabase-community/pg-gateway ):…
  15. …on a desktop just expand the window 2/ you're on safari, which doesn't have support for OPFS yet: https://github.com/electric-sql/pglite/pull/130
  16. …source. A huge shout-out to the Electric team who have been a pleasure to build with. [0] PGLite: https://github.com/electric-sql/pglite [1] Postgres-wasm: https://supabase.com/blog/postgres-wasm [2] Electric: https://electric-sql.com/ [3]…
    comment by kiwicopple · 2024-08-12 · in Postgres.new
  17. …in-memory. Doesn't solve your testing-data question, but it'll save you from spinning up a new DB. https://github.com/electric-sql/pglite/ https://github.com/electric-sql/postgres-wasm
    comment by AlexErrant · 2024-06-17 · in How to test without mocking
  18. check pglite project: https://github.com/electric-sql/pglite
    comment by avinassh · 2024-05-30 · in Show HN: Serverless Postgres
  19. …- Row Zero | https://news.ycombinator.com/item?id=39551064 - PGLite | https://github.com/electric-sql/pglite
    comment by csjh · 2024-05-26 · in LO – simple WASM native language
  20. Solving this is high on my list with PGlite ( https://github.com/electric-sql/pglite ). I have a bunch of iteas/thoughts that I hope to get to at some point (IVM, streaming queries, result diffs). When PGlite (or SQLite) is used with…
    comment by samwillis · 2024-05-20 · in Using Postgres for Everything
  21. …this limitation. I also have a few other ideas around how to make supper fast testing possible. http://github.com/electric-sql/pglite
  22. …any Docker image on WebAssembly platforms. Anything specific you'd like to see? Happy hacking! [1] https://github.com/electric-sql/pglite
  23. …databases. Anything specific you'd like to see? [1] https://supabase.com/blog/postgres-wasm [2] https://github.com/electric-sql/pglite
  24. …but there are various epheremal postgres scripts, plus this could be promising for node stuff https://github.com/electric-sql/pglite if it works out. I'd imagine if this does work out we'll see the same kind of builds for other runtimes as…
    comment by johnny22 · 2024-03-20 · in Soul: A SQLite REST and Realtime Server
  25. …you don't actually have to touch/know anything about. And they just rebuilt postgres on pure WASM ( https://github.com/electric-sql/pglite ). It's just cool to think that maybe you don't have to do design all of these intricate REST apis…
    comment by obeavs · 2024-03-07 · in The Cell Programming Language
  26. …+ https://github.com/zonkyio/embedded-postgres or through WASM: https://github.com/electric-sql/pglite
    comment by alright2565 · 2024-02-28 · in Testcontainers