so i'm making a tangled spa, and one of the features it has to have is the little raw button to get the actual file. the official appview goes and fetches the blob with the sh.tangled.repo.blob endpoint, and that works great for it (well except when it's not on the accepted type of file like idk a font), but an spa can't do that, it needs javascript. so my little proposal is to have an endpoint equivalent to that inside the knot (idk what to call it? getBlob? idk that sounds confusing) so that it's possible to actually get singular raw files. maybe let it be disabled so that people who really don't want to use bandwidth on that can be free from it, but i think it would be a nice addition.
Monorepo for Tangled โ https://tangled.org
You can just write an image url pointing to knot's xrpc endpoints.
Actually appview never fetches the blobs directly. The caching is done on frontend side by pointing to camo service with original image url.