2024-02-22 PostgreSQL playground by Anton Zhiyanov

PostgreSQL playground by Anton Zhiyanov

I’m so excited about this new PGlite runtime, that I just released an in-browser PostgreSQL playground on top of it!

Fully featured (well, almost) PostgreSQL in your browser, weighs only 12 MB.

Simon Willison Commments

PGlite (via) PostgreSQL compiled for WebAssembly and turned into a very neat JavaScript library.

Previous attempts at running PostgreSQL in WASM have worked by bundling a full Linux virtual machine—PGlite just bundles a compiled PostgreSQL itself, which brings the size down to an impressive 3.7MB gzipped.