Letting users own their data in a web app: seven options the author rejected
Willett is the developer of Cheapskate, a web app that handles people's financial details. The app uses Supabase for authentication and a SQL datastore. He wants users to own their data instead of the developer, while keeping it durable, available across devices, and shareable with friends.
He tested seven options and found a problem with each. localStorage[1] works on one device only and cannot be shared, and showDirectoryPicker is not supported by all browsers. CloudKit Private Database, Apple's BaaS[2], requires Apple sign-in and a $99 Apple Developer subscription, and SQLite in Google Drive requires Google sign-in. A bring-your-own DynamoDB setup works, but it asks users to log in with AWS keys, and remoteStorage has thin support and no collaboration. CRDT[3] approaches lack a mature Firebase-style service.
Most of these options also store data as key-value or blob storage, while he wants an API that runs SQL queries. The post does not offer a working solution.
Read the original willett.ioDiscussion
Discussion
Commenters mostly say that letting users hold their own data clashes with cross-device sync, availability and mobile access, and most would prefer to hand hosting to a provider. Suggestions include Solid, a GitHub repository in the user's own account, encrypted blobs, and ATProto's encrypted records. One commenter notes that people who already own their data will not upload financial documents to a website.
Links from the post and discussion
- Solid project page, Tim Berners-Lee's project for user-held data solidproject.org
- 0data, a related project mentioned in comments 0data.app
- ATProto post on encrypted records atproto.com
Sources
-
Brandon Website
Let Me Let You Own Your Data



