Loading video...

Video Failed to Load

Go Home

You can put SQLite in the browser now? Yeah, here's how ๐Ÿ‘€

43,240 views โ€ข 1 year ago โ€ขvia X (Twitter)

10 Comments

~/qudo's profile picture
~/qudo1 year ago

Is this April fools

Engid's profile picture
Engid1 year ago

SQLocal rolls off the tongue

Firtina Ozbalikci's profile picture
Firtina Ozbalikci1 year ago

Yep, I use this for local first web apps, sharing the same drizzle schema for front and back end, works like a dream.

ryan's profile picture
ryan1 year ago

iโ€™m sorry what

Jean's profile picture
Jean1 year ago

or ?

Ben Holmes's profile picture
Ben Holmes1 year ago

Ah, there's an important distinction: sql.js runs in memory, while the sqlite wasm build writes to a file. This persists data even when closing your web app

Ian Simmons's profile picture
Ian Simmons1 year ago

Did Electron and Tauri apps with their own local database just get super easy because of this? IDK but it looks exciting.

Manโ€™soour - (ู…ู†ุตูˆุฑ)'s profile picture
Manโ€™soour - (ู…ู†ุตูˆุฑ)1 year ago

Use cases?

David Cozzi II's profile picture
David Cozzi II1 year ago

If only there was this thing where SQLite was just baked into every browser. Probably could call it WebSQL. Sadly, we canโ€™t have nice things ๐Ÿ™

Jacob Wolf ๐Ÿ's profile picture
Jacob Wolf ๐Ÿ1 year ago

Recently started using this in CI for a side project: Same concept. Can be in memory or to IndexedDB. Really nice to have a Postgres-compatible API rather than having to adjust my code to write Postgres in prod & SQLite in CI.

Related Videos