Ok I'm feeling crazy today. Lately I've seen a bunch of HE projects that rely on cloud resources for "stupid" reasons (I want to display an image, I want to load a firmware file, etc.) I realized something. HE has a way to serve up local resources! you can create an App with a mappings {} section and return stuff using render(). I can set the content-type to application/octet-stream but it seems like I have to send a string (ascii/utf). If I send a byte[] it looks like it does .toString() and you just get [1,34,21...]. Is there anyway to send binary data back to the client? Here was my thought, basically make a small mapping that has a base64 string that represents a small image. then call decodeBase64 on it and send back the binary data. Then use the local API url to render it. Boom! File hosted on HE.
Thinking @chuck.schwer would be the expert to know if there a way to do it?
On my feature suggestion list would be if there was a place where we could store, I don't know 10MB of assets on the HE that'd be ideal, this was my crazy plan to try to do it given the tools we have!