Does anyone have a recommendation for someone with a domain name and a k8s cluster where I can set up a simple image and/or video host?
I don’t want to have to use Imgur anymore, and am more than capable of setting up cloudflared, and just want to share a screenshot or two, or perhaps show some friends something cool in a video game without having to go through YouTube or Twitch.
pixelfed.org might be what you’re looking for.
That or an ipfs gateway
Requirement is “somewhat private” - puttin’ it on IPFS makes it public by default …
Likely not any less private than imgur was.
Yeah as long as the URL has some unguessable hash I’d be okay with this, I’ll look into this.
the hashes look like this
bafybeih3otruk3juwppyva2giufgtnll5tjqsk6mzmhjiksjkpbh434mae
IPFS is kind of like a torrent system, you generate the file, add it to something like ipfs desktop or brave browser, it injects the hash into the p2p system, they download it from you directly or any one else that has downloaded it.
It’s not for truly private things, it’s more like throwing it on an unlisted imgur. It’s also not possible to redact things so if you shove it out there, it might be out there forever.
It’s also not possible to redact things so if you shove it out there, it might be out there forever.
To be honest, is that different with other solutions? I mean if you post something to your whateverAccount, you might be able to redact it… that does not mean that it isn’t out there anymore though, just that your profile does not show the old content anymore, right?
Actually yeah it is. In IPFS files under a certain size get cashed permanently. The size is pretty small I think it’s like 2K, but it’s enough that you really want to make sure you don’t accidentally share like your entire drive is a folder or something because a lot of it will stick around forever without anybody doing anything.
Why would you use k8s for image hosting?
I use bucket storage from my cloud provider with a subdomain. With this kind of setup you can get access control and a CDN out of the box.
I mean it has longhorn and NFS storage providers, k8s would just be for the services cause it’s easy to deploy and manage.
Yep, k8s is for people who need regular capacity scaling and high availability. Self hosting images is a static website, perfect for an S3 bucket or similar
I guess if you were an image host running a thumbnailing service or something 🤔
As for streaming, I use OvenMediaEngine to stream to my friends: https://github.com/AirenSoft/OvenMediaEngine
It has a latency way under half a second and is perfect for streaming video games.
Picsur might be a good option, it was designed to be a self-hosted replacement for imgur. Here is the github: