4 ms·
How big are the patterns? Looks like the author implemented a server-side storage with tiny hash. Why not the data itself as base64? That would make it real se
by throwme_123 4y ago
How big are the patterns?
Looks like the author implemented a server-side storage with tiny hash. Why not the data itself as base64? That would make it real serverless!
- berkcebi 4y agoThat's a good point! I did consider this but decided against it since the share URLs would be pretty long. Instead I went with a S3 based storage solution — still pretty simple, not managing any servers or databases manually.
- throwme_123 4y agoThanks! I may be biased but I like Unix composability principles :) Unless you plan to forever update your credit card on AWS, it can be better to develop without cloud and use one or more url shorteners to share (socials do it anyway).