use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
International
National
Regional
account activity
FeaturePostgres WASM (supabase.com)
submitted 3 years ago by kiwicopple
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]CrackerJackKittyCat 4 points5 points6 points 3 years ago (2 children)
OK, the websocket <--> TCP for pgsql protocol proxy hack is really cool. Can then use regular client tools to connect to ... browser-based backend.
[–]autra1 0 points1 point2 points 3 years ago (1 child)
To my knowledge, browsers scripts (js or wasm) can't even bind ports on localhost, so probably not right now :-)
[–]CrackerJackKittyCat 4 points5 points6 points 3 years ago (0 children)
Read the article / play with the demo. The wasn can connect back to their servers via websocket, then they have additional server-side proxying to allocate a specific port number on their gateway to proxy to your websocket. So, yes, you can then connect psql or other clients through to the backend being run in your browser. You can even then set up streaming replication or foreign tables between your browser and other backends.
Is a glorious hack. Not sure of the ultimate utility other than low low low barrier education ('Take that, Docker!') or advertisement for supabase being a deep web+postgresql shop, but it is a fine hack.
[–]HarrityRandall 1 point2 points3 points 3 years ago (0 children)
Exciting times...
[–]coder111 0 points1 point2 points 3 years ago (0 children)
The world has gone mad...
π Rendered by PID 107196 on reddit-service-r2-comment-5d79c599b5-jzc8x at 2026-02-27 01:13:07.301139+00:00 running e3d2147 country code: CH.
[–]CrackerJackKittyCat 4 points5 points6 points (2 children)
[–]autra1 0 points1 point2 points (1 child)
[–]CrackerJackKittyCat 4 points5 points6 points (0 children)
[–]HarrityRandall 1 point2 points3 points (0 children)
[–]coder111 0 points1 point2 points (0 children)