Home

Awesome

<div align="center"> <h1 align="center">Postgres WASM</h1> <p align="center">A PostgreSQL server instance running in a virtual machine running in the browser<br /> <i>by Supabase &amp; Snaplet</i></p> <img align="center" src="https://user-images.githubusercontent.com/90199159/192729860-730e89a9-2489-4a95-a814-25eaaebebb7d.png" alt="Snaplet, Supabase and friends" width="480"> <br /><br /> <a href="https://postgres-wasm.netlify.com">Demo</a> <span>&nbsp;&nbsp;•&nbsp;&nbsp;</span> <a href="https://app.snaplet.dev/chat">Discord</a> <span>&nbsp;&nbsp;•&nbsp;&nbsp;</span> <a href="https://www.snaplet.dev/">Snaplet</a> <span>&nbsp;&nbsp;•&nbsp;&nbsp;</span> <a href="https://www.supabase.com">Supabase</a> </div> <br />

The future is now

Since we worked on this project, awesome and more usable solutions exist:

While postgres-wasm was more of a proof of concept, both the above solutions can be used to run PostgreSQL in the browser or getting in-memory PostgreSQL databases!

Quickstart

cd packages/runtime && npx serve

Go to http://localhost:3000 and have fun!

Packages

This repo is split into three packages that build up the environment for running PostgreSQL in the browser.

Acknowledgements