What is Nostr?
Axel Rauschmayer /
npub17at…75qq
2023-12-27 02:02:13

Axel Rauschmayer on Nostr: Flash card web app: I’m considering two ways of storing the state of a card deck ...

Flash card web app: I’m considering two ways of storing the state of a card deck (which cards were already shown etc.):

1. User opens folder and selects card deck file in app. App stores state in sibling file.
Relevant API is well supported: https://caniuse.com/native-filesystem-api

2. User opens file. App stores state in IndexedDB.

Upside of #1: If the user opens a folder on Dropbox (etc.), the state is synced between devices.
Upside of #2: nicer UI

Any ideas or suggestions?
Author Public Key
npub17at4s5zn2gryfckwn6xpmwuaejhdksd93nk8rtzwjsjhcm8pu54s8875qq