Remix.run Logo
jpsimons 4 hours ago

I just spent a couple hours migrating my knife sharpening website backend from Bun to Node. Feels good to avoid that lock-in. I was initially gung-ho for Bun but increasingly unsure about it. Things I'll miss for sure:

- Querying sqlite with tagged template literals

- Bun.password.verify being argon2 is a better default

- HTML imports

- JSX transpilation

- Auto loading .env file

https://burlyburr.com, which hits https://backend.burlyburr.com

tkel 2 hours ago | parent | next [-]

Node supports Querying sqlite with tagged template literals.

https://nodejs.org/api/sqlite.html#databasecreatetagstoremax...

zarzavat 3 hours ago | parent | prev | next [-]

Why not just write a small helper library to add back the features you miss? Node includes SQLite and Argon2 at least, if the issue is the interface then that is easily fixed.

jpsimons 3 hours ago | parent [-]

Claude did write me a simple wrapper so I can keep using tagged template literals in the same way with Node.

AbuAssar 4 hours ago | parent | prev [-]

Node supports auto loading .env and also supports sqlite

jpsimons 3 hours ago | parent [-]

Sure, but at least on Node 22 I think I have to pass `--env-file=.env` option to make it pick up .env.

afavour 2 hours ago | parent [-]

Certainly true but there’s a line between “better DX” and… well, kinda laziness

traderj0e an hour ago | parent [-]

Yeah I don't want it to silently read magic config files