I assume there is a good reason (it would be pretty wasteful) for not doing the concatenation of apps.json client-side.
Yes, there's some discussion in those issues, but right now the app loader can start displaying apps after loading ~10 files. Client side it'd end up having to load 300+.
I've changed my apps.json to only show the apps that I've changed on my github, so it's easier to understand, move around, etc.
That's a good point! It'll need documenting, but this is still totally fine. There'll be some 'magic code' inside apps.json, but if you want just the apps you're interested in, you just pull that out and put in the contents of each metadata.json file you care about.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Ok, great! For once we're all in agreement!
Yes, there's some discussion in those issues, but right now the app loader can start displaying apps after loading ~10 files. Client side it'd end up having to load 300+.
That's a good point! It'll need documenting, but this is still totally fine. There'll be some 'magic code' inside
apps.json
, but if you want just the apps you're interested in, you just pull that out and put in the contents of eachmetadata.json
file you care about.