Minipg: PostgreSQL as a Single Executable
42 points by rguiscard 4 hours ago | 5 comments
anilgulecha 2 hours ago
For folks working in this area, may I request a MySQL/mariadb-lite?
replypglite is great for browser / testing emulation for PG. MySQL in browser does not have an equally good story. Closest is https://github.com/ephpm/litewire , but it isnt really MySQL fully.
So, does this work well on Node.js? If it does I'm willing to make the jump from SQLite to this.
Happy to hear things are getting smoother with Node.js SQLite, but then I have the other problem that Vercel-PKG support stopped at a specific Node.js level, so I wouldn't be able to use the native Node.js SQLite anyway I assume .
Now lately I discovered that there is an open-source fork of Vercel-PKG which supports later Node.js versions: npmjs.com/package/@yao-pkg/pkg?activeTab=readme&__cf_chl_tk=eDzgWvIL2OkIxMCGlCoLW6Mi2t2ciRkE6HMYKl46MnY-1795671127-1.0.1.1-fY.UrK80ucEtTwp1j_XEPi4eI5iwficmiVkl4qjE1HY .
Once I get my build-process ported to that or something similar I will certainly revisit the database question again for my project.
But then whether the Node.js native SQLite runs after compiling it into the Vercel-PKG exe lookalike I don't know (yet).