Also of course data validation - the main reason why there is usually a layer between browser and DB is to restrict what a user can see and do. This seems difficult to implement here.
Also, if we're already exposing the DB directly to the world, why take the detour through SQLite and a custom file system layer?
Why not just use a traditional DB like MySQL or Postgres on the backend and a WASM SQL client on the frontend?