PaperKrane
PaperKrane
HHono
Created by PaperKrane on 5/25/2024 in #help
Is it possible to return only an image / file?
Yeah looks like DO doesn't quite have the same control that Google appears to. The permissions allow you to generate links via the DO dashboard which isn't really great for an end user. All in all, I am trying to create a 'team' file system where a team can have access to one another's files while be restricted from other teams file library. That is where the proxy server idea came into play because I could have full control of the access control via middleware. It LOOKS like Google's authenticate content will work but for some reason I am just having a hard time visualizing the work flow. I'll explore more. Thanks so much for the insights @Aditya Mathur
13 replies
HHono
Created by PaperKrane on 5/25/2024 in #help
Is it possible to return only an image / file?
I can see what you mean about losing the benefits of the CDN. I’ll check this out! By chance do you know if DigialOcean spaces supports this feature or has a similar feature? If not no biggy. I’ll check it out once I get back to my computer. Thank you so much for this idea!
13 replies
HHono
Created by PaperKrane on 5/25/2024 in #help
Is it possible to return only an image / file?
Thanks Nico! It means a lot!
13 replies
HHono
Created by PaperKrane on 5/25/2024 in #help
Is it possible to return only an image / file?
OK, so I see how to serve static files locally, but I am interested in serving files from a CDN I have but utilizing my apps routes for example - 'example.app/files/some-file-name.jpg' will find 'some-file-name.jpg' in my CDN and return it as just the raw file but delivered from my app. I want to utilize my app's middleware to protect files for users of certain roles. Hope this makes sense. Any guidance / docs you can send would be amazing!
13 replies
HHono
Created by PaperKrane on 5/25/2024 in #help
Is it possible to return only an image / file?
Oof, I should of thought of that! I am using Bun so I'll check there. Thank you!
13 replies
HHono
Created by PaperKrane on 4/13/2024 in #help
Deploy Hono / Bun API
This is amazing thank you! Everything I am reading / tutorials I am finding for other Docker files look so much more complex lol
14 replies
HHono
Created by PaperKrane on 4/13/2024 in #help
Deploy Hono / Bun API
You are awesome! I was leaning towards App Platform because of the ‘Hassle Free’ it offers. Are the Dockers files that different? I’m excited to study them and try to get an understanding of the whole thing. Thanks again @Nico you are truly a lifesaver!
14 replies
HHono
Created by PaperKrane on 4/13/2024 in #help
Deploy Hono / Bun API
@Nico I have a few projects on DigitalOcean and honestly love it. I wish I could take you up on the free credit but as I am an existing customer, I doubt it’d do anything for me. But if it helps you I’d still be willing to try! As for the Docker image, I would appreciate any help you’re willing to offer. Trying to pour over the Docker docs right now but as it is when learning anything, it will take a bit of time.
14 replies