electric-sql/pglite ? reverse-engineered prompt
Reverse engineered prompt
Please set up this project so it builds cleanly and I can try it out locally without fighting with anything. I want PGlite working as a small Postgres database I can use in both the browser and Node, with the basic example running and saving data either in memory or with local persistence.
Make sure the main package builds, the TypeScript packages compile, and the generated Postgres WASM part is wired up correctly. If anything needs current setup steps from the docs or online, please check those and use the simplest working approach. After that, give me a smooth dev experience, so I can run the demo, make a query, and see the result right away.
If there are obvious broken links, missing build steps, or confusing setup issues in the repo, fix those too so someone new can clone it and get going quickly.
Are you gonna build this?
make sure you review the code using coderabbit