I forked #pglite, learned about the Postgres wire protocol, fixed how it serializes query parameters ( https://github.com/electric-sql/pglite/pull/306 ), deployed my branch to npm and got pglite working in #Ditto. https://gitlab.com/soapbox-pub/ditto/-/merge_requests/483