postgres-wasm
websockproxy
postgres-wasm | websockproxy | |
---|---|---|
4 | 2 | |
99 | 201 | |
- | - | |
0.0 | 0.0 | |
about 1 year ago | 3 months ago | |
Shell | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
postgres-wasm
-
The Docker+WASM Technical Preview
I used https://wasm.supabase.com/ to make sure some SQL commands I was writing for a blog were correct.
I miss a feature where I can share a link with some data/schema pre-seeded (maybe from a gist?)
-
Postgres WASM by Snaplet and Supabase
We achieve this by mounting a compressed 9P filesystem in the VM. 9P provides a Python script which takes a filesystem folder,renames every file an 8-character name and produces a filesystem.json file representing a nested structure with files, original file names, sizes, etc.
-
What is the best web-based PostgreSQL for Workshop
maybe https://wasm.supabase.com tech?
-
Show HN: Postgres WASM
Hey HN, we’re excited about this launch. This was a collaborative effort with the team at Snaplet [0].
postgres-wasm is an embeddable Linux VM with Postgres installed, which runs inside a browser. It provides some neat features: persisting state to browser, restoring from pg_dump, logical replication from a remote database, etc.
The idea was inspired by CrunchyData’s HN post about a month ago [1]. We love the possibilities of Postgres+WASM, and so Supabase & Snaplet teamed up to create an open source version. The linked blog post explains the technical difficulties we encountered, and the architecture decisions we made.
We’re still working hard on this, but it’s at a good “MVP” stage where you can run it yourself. Snaplet are working on a feature where you can drag-and-drop a snapshot into your browser to restore the state from any backup. Supabase are exploring ways we can run the entire Supabase stack inside the browser. You can find the Snaplet repo here [2], and the Supabase fork here [3]. There’s very little difference between these two, we just have a different browser UI.
Both Supabase team and the Snaplet team will be in here commenting if you want to know anything else about the technical details.
[0] Snaplet: [https://www.snaplet.dev/](https://www.snaplet.dev/)
[1] Crunchy post: [https://news.ycombinator.com/item?id=32498435](https://news....
[2] Snaplet repo: [https://github.com/snaplet/postgres-wasm](https://github.com...
[3] Supabase fork: [https://github.com/supabase-community/postgres-wasm](https:/...
websockproxy
-
Postgres WASM by Snaplet and Supabase
Running Postgres in a browser is great, but connecting to it with PgAdmin is even better. Unfortunately browsers block TCP network access to the VM. To circumvent this, we proxy the traffic through websockets. We run a fork of Websockproxy which allows the emulator to talk to the internet by converting data sent over a websocket port into TCP packets. Our fork of Websockproxy adds the ability to tunnel into the Postgres server.
-
Arch Linux Inside Web Browser
No, it runs on an x86 hardware emulator on the browser (js + wasm). The Arch image was from the Qemu disk converted to a 9p filesystem. the networking using tun/tap over WebSocket https://github.com/benjamincburns/websockproxy
What are some alternatives?
microservice-rust-mysql - A template project for building a database-driven microservice in Rust and run it in the WasmEdge sandbox.
postgres-browser - A PostgresQL server running in your browser [Moved to: https://github.com/snaplet/postgres-wasm]
webusb - Connecting hardware to the web.
v86 - x86 PC emulator and x86-to-wasm JIT, running in the browser
wasmer-postgres - 💽🕸 Postgres library to run WebAssembly binaries.
absurd-sql - sqlite3 in ur indexeddb (hopefully a better backend soon)
byoda - Data breach resistant application: Bring Your Own Database
copycat - Generate deterministic fake values: The same input will always generate the same fake-output.
postgres-wasm - A PostgresQL server running in your browser
webvm - Virtual Machine for the Web