3 ms·
First, this is awesome! I assume the reference to HyperCard is deliberate? (Aesthetically very similar too!) Disclaimer: We're doing something similar at https
by meredydd 10y ago
First, this is awesome! I assume the reference to HyperCard is deliberate? (Aesthetically very similar too!)
Disclaimer: We're doing something similar at https://anvil.works https://anvil.works (live web-app builder, though ours is drag'n'drop), so I ask from experience:
1. I see your sample app uses in-memory state on the back end. This is jaw-droppingly easy for simple examples, but dies whenever the Node instance "goes to sleep". Do you have plans for more durable storage? (I assume so, given that you're self-hosting - what do you use for your own storage?)
2. How do you sandbox user code? I'm going to guess "docker" but there's only so much poking around I'm going to do uninvited. I'm also guessing that allowing random users to run code (with outbound internet access?) on your servers is something you're going to have to be nice and careful with...
- etamponi 10y agoHi meredydd! Thanks for your interest and yes, you got the reference to HyperCard ;) 1. Checkout the sample app https://hyperdev.com/#!/project/bramble-leaf https://hyperdev.com/#!/project/bramble-leaf for an integrated object datastore backed by DynamoDB, that works quite well! I myself built some nice stuff with it :) 2. We use a smart backend system to control user access, quota and sandboxing. For now we rely on honor system during the beta. We have systems in place to block abuse but... hopefully they won't be necessary :)
- meredydd 10y agoNeat - offering everyone a little bit of AWS quota is a nice starter. (We use Google Sheets, which has...different tradeoffs.) Is there a repository of such things that I've missed? I also really like the way you've implemented the "your source is visible (presumably unless cough mumble monetisation?) but here are where your keys go" thing.
- etamponi 10y agoThe gallery contains some examples: https://cosmic-flower.hyperdev.space/ https://cosmic-flower.hyperdev.space/ :)