this post was submitted on 12 Jul 2023
10 points (85.7% liked)

Selfhosted

39937 readers
399 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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.

top 14 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 year ago

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.

[–] [email protected] 4 points 1 year ago (2 children)

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.

[–] [email protected] 1 points 1 year ago

I mean it has longhorn and NFS storage providers, k8s would just be for the services cause it's easy to deploy and manage.

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago

I guess if you were an image host running a thumbnailing service or something 🤔

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

pixelfed.org might be what you're looking for.

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago (1 children)

Requirement is "somewhat private" - puttin' it on IPFS makes it public by default ...

[–] [email protected] 1 points 1 year ago (1 children)

Likely not any less private than imgur was.

[–] [email protected] 2 points 1 year ago (1 children)

Yeah as long as the URL has some unguessable hash I'd be okay with this, I'll look into this.

[–] [email protected] 1 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 1 year ago (1 children)

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?

[–] [email protected] 1 points 1 year ago

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.

[–] [email protected] 2 points 1 year ago

Picsur might be a good option, it was designed to be a self-hosted replacement for imgur. Here is the github:

https://github.com/CaramelFur/Picsur

load more comments
view more: next ›