Web Payload
Opened this issue · 0 comments
HuxyUK commented
Currently the app stores all data locally in a data folder. The app store should be restructured to "pull" the latest supported apps as YAML payloads from a central repository. A simple approach might be to have a single catalog.yaml that is retrieved from the internet. This will list all the other apps.yaml files to download and parse. To deal with loss of internet connectivity, the app store should cache the latest downloaded apps.
- App Store launches and retrieves catalog.yaml
- App Store iterates through catalog.yaml and retrieves individual app.yaml, which contain metadata and encoded images
- Downloaded yaml data is scraped and stored internally in the "DB" layer of the app
- Repeat 2, until all apps scraped.
- Dump the DB to a cached file on the local FS.
- App Store is ready to go.