this post was submitted on 01 Oct 2024
554 points (98.1% liked)

Selfhosted

40329 readers
368 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
 

Last June, fans of Comedy Central – the long-running channel behind beloved programmes such as The Daily Show and South Park – received an unwelcome surprise. Paramount Global, Comedy Central’s parent company, unceremoniously purged the vast repository of video content on the channel’s website, which dated back to the late 1990s.

you are viewing a single comment's thread
view the rest of the comments
[–] Gormadt@lemmy.blahaj.zone 127 points 1 month ago (1 children)

Recent events with streaming services has really been the best argument for self hosting your own content

[–] MisterScruffy@lemmy.ml 6 points 1 month ago (4 children)

Every day I inch closer and closer to setting up my own plex server (or something else if there's a better alternative idk)

but the term "raspberry pi" makes me scared and confused

[–] terminal@lemmy.ml 13 points 1 month ago

Plex is good but another option is jellyfin

[–] Gormadt@lemmy.blahaj.zone 8 points 1 month ago (1 children)

Personally I just setup a PC as a NAS‡ and installed VLC on my TV so that I can just browse the NAS and play the files directly

Is it efficient? No.

Is it the best way? Also no.

Does it work? Yes, surprisingly well in fact.

‡ The first time was simply a network shared folder, the second time was using TrueNAS.

[–] acockworkorange@mander.xyz 2 points 1 month ago (1 children)
[–] Gormadt@lemmy.blahaj.zone 2 points 1 month ago

I'm not sure exactly what model but it's a 4k 75in hisense running Android from like 5 years ago

[–] PM_Your_Nudes_Please@lemmy.world 5 points 1 month ago* (last edited 1 month ago)

You don’t need to run it on a pi. In fact, I’d actually argue against it; A pi will be underpowered if you’re ever needing to transcode anything. Transcoding is what Plex/Jellyfin does if your watching device can’t natively play the video. Maybe you have a 4k video, but you’re playing it on a 1080p screen. That video will need to be transcoded from 4k into 1080p for the screen to be able to display it. Or maybe the file is encoded using ACC (a fairly recent encoding method) which isn’t widely supported by older devices. This often happens with things like smart TVs (which often don’t support modern encoding and need to be transcoded even if the resolution is correct.)

Basically, if you’re 100% positive that every device you’re watching it on will never need transcoding, then a pi is acceptable. But for anything else, I’d recommend a small PC instead. You can even use an old PC if you have one laying around.

Or if you want to use a new machine, maybe something like an HP Elitedesk. They’re basically what you see in every single cubicle in every single office building. They’re extremely popular in corporate settings, which means there are a ton of used/refurbished systems available for cheap, because IT destroys the drives and sends the rest to refurb when they upgrade their fleet of PCs. So for the refurb you’re basically just paying the cost of an SSD they added in (to replace the one IT pulled out), plus whatever labor is associated with dusting it out and checking the connections to make sure they all work. You can pick up a modern one for like $250 on Amazon (or your preferred electronics store).

Worth noting that the elitedesk generations are marked by a G-number, so google the model (like an EliteDesk G9, G7, etc) to see what kind of processor it has; Avoid anything with an intel 13th or 14th generation CPU, (they have major reliability issues) and check with Plex/Jellyfin’s CPU requirements list to see if it supports hardware accelerated transcoding. For Intel chips, look for QuickSync support.

For storage, I’d recommend running a NAS with however many hard drives you can afford, and one that has extra ports for future expandability. Some NAS systems support Plex and/or Jellyfin directly, but the requirements for full support are tricky and you’ll almost always have better luck just running a dedicated PC for Plex. Then for playing, one of two things will happen. Either the device is capable of directly playing the file, or it will need to be transcoded. If it’s directly playing, the plex server basically just points the player to the NAS, and the player handles the rest. If it’s transcoding, the PC will access the NAS, then stream it to the player.

As for deciding on Plex vs Jellyfin, that’s really a matter of personal preference. If you’re using Plex, I’d highly suggest a PlexPass sub/lifetime purchase; Wait until Black Friday, because they historically do a (~25% off) discount on their lifetime pass. Plex is definitely easier to set up, especially if you plan on streaming outside of your LAN.

Jellyfin currently struggles from a lack of native app support; Lots of smart TVs don’t have a native Jellyfin app, for instance. But some people have issues and complaints (many of them justified!) with Plex, so if the FOSS sounds appealing, then consider Jellyfin instead. Jellyfin is also rapidly being developed, and many people expect it to have feature parity with Plex within a few years.

And if you’re having trouble deciding, you can actually set up both (they can run in tandem on the same machine) and then see which one you prefer.

And the nice part about using a mini PC is that you can also use it for more than just Plex/Jellyfin. I have the *arr suite running on mine, alongside a Factorio server, a Palworld server, and a few other things.

[–] MonkeMischief@lemmy.today 2 points 1 month ago

my own plex server (or something else if there's a better alternative idk)

-- complexity level 1:

First off a heads up, Jellyfin will serve you much better. Plex is commercial software, and they've treated their users quite poorly numerous times to appease copyright pressures. Commercial software always has an incentive to screw you.

Lots and lots of well-made guides and stuff on YouTube and such for getting Jellyfin setup, but if you want a little more in depth, I've detailed a bit below 👇


complexity level 2:

Even better than a Pi for media hosting, if you can swing it is those "1 liter PCs" that IT departments throw out en masse anymore. (At least I hope they still do? They might just burn them now since reusing them has caught on /s)

Basically, something you can stuff a bunch of hard drives in. You can turn any old PC and hard drives into a decent little server. The only other important thing is offsite backups for what REALLY matters to you. I use a cloud service called "iDrive" that's decent enough. That way my family pictures and artwork aren't obliterated if my office burns or floods or something.

Self-hosting IS a project, but you learn a lot and it can be really fun! I want to preface that I'm not an IT professional by any stretch.

--complexity level 3:

I currently use an OS called "Proxmox" to host virtual machines. It's really powerful and gets easier as you get the hang of it.

It hosts a little virtual server that only runs PiHole, which blocks ads and tracking across my entire WiFi network. It's amazing. (Not YouTube ads tho. Long story. Other tools for that.)

But it mainly hosts OpenMediaVault, which is great for just hosting a file server, and it's well integrated with Docker for setting up "containers." Lighter than virtual machines, consistent, and easily managed. (Imagine getting to wipe Windows but leave your D:\ drive untouched every time, and everything comes back configured like you want it.)

Right now, I'd say experiment with stuff within virtual machines, try it out. Figure out how you want to set yourself up. The best part is, you don't need to open up anything on your home network.

-- Complexity level 4:

There's a neat service called Tailscale for accessing your network securely from out of the house, but don't worry about that yet.

There's a service for everything. I've replaced all of Gsuite with a self hostable called NextCloud, for instance!

Facebook clone for just your family? Minecraft / Terraria / whatever server? (Private MMO server?), the sky's the limit really!

TL;DR: Just take it one step at a time. Take notes. Learn to take good backups. Ask questions. Lots of questions. We're all in this together. :)