r_selfhosted | Unsorted

Telegram-канал r_selfhosted - r/SelfHosted

820

@r_channels

Subscribe to a channel

r/SelfHosted

Megalodon chums the waters in 5.5K+ GitHub repo poisonings
https://www.theregister.com/security/2026/05/22/megalodon-chums-the-waters-in-55k-github-repo-poisonings/5245342

https://redd.it/1tlc3wn
@r_SelfHosted

Читать полностью…

r/SelfHosted

40% less memory: Homarr v1.62.0

Hi r/selfhosted,
we have great news for all Homarr users here.
Memory usage of Homarr has always been critizied - and we've heard you.
A few weeks ago we opened a feature bounty and thanks to that, beginning from v1.62.0, you can expect between 40-60% less memory.
We achieved this by merging node.js processes of the app, reducing allocations and tweaking next.js settings to save on memory.
The speed and performance are unchanged - but now you can run Homarr with less than half that it previously needed.
The new version has already been thoroughly tested, so you can update all your instances safely.

https://github.com/homarr-labs/homarr/releases/tag/v1.62.0

We also got some big improvements coming for better UX, better performance, better design and we are focusing on polishing the experience overall.

No AI was used in this post.

If you have questions, comment below and I will reply 👇

https://redd.it/1tl7qhw
@r_SelfHosted

Читать полностью…

r/SelfHosted

Plex Pass owners ... Do you know where your receipt is?

After reading the recent thread describing someone who "lost" access to their Plex Pass account, I realized that I had no idea where my receipt trail went.

Sure... you can log in to Plex.tv and find a copy of your registration... but what if you were to log in and discover it is no longer there? After a deep dive into my email archives, I recovered a "receipt" or sorts, only to noticed that Plex Pass doesn't have a "key", but only your email addy. That seemed a bit weak to me, but so be it. PDF'd my emails and the plex.tv site account showing the services that I had, and hope this is sufficient proof.

After all... I wouldn't spring for $750 (mine was $74.99) ever ... and neither should you.

If you don't have your registration info handy, now might be a good time to secure it.

https://redd.it/1tkywx7
@r_SelfHosted

Читать полностью…

r/SelfHosted

Here is my selfhosted setup. What else should I add?
https://redd.it/1tkvsgq
@r_SelfHosted

Читать полностью…

r/SelfHosted

I want to fully move away from Plex, the only thing holding me back is the lack of a Plexamp replacement

The main thing that I can't replicate with Jellyfin is the Plexamp features like Top🔥 tracks per Artist/Album, discovery and recommendations and slick UI, any suggestions?

https://redd.it/1tkml3y
@r_SelfHosted

Читать полностью…

r/SelfHosted

Do any of you self host a family encyclopedia?
https://redd.it/1tkfr7q
@r_SelfHosted

Читать полностью…

r/SelfHosted

nginx-poolslip: Fresh NGINX Zero-Day Concern Emerges After Recent Rift Patch
https://thecybersecguru.com/exploits/nginx-poolslip-0day-rce-vulnerability/

https://redd.it/1tkdrnh
@r_SelfHosted

Читать полностью…

r/SelfHosted

Had a wonderful 3rd Anniversary! :)

Spent like 5 days in a row staying up until 5 am having no idea wtf I'm doing setting up Jellyfin + Arr Stack + Cloudflare to be able to do https through my own domain so I can selfhost Jellyfin on an old laptop to securely watch movies with my girlfriend without relying on pirate sites' server connections since we've had lots of trouble with that before.

We watched Eternal Sunshine of the Spotless Mind (kind of a mindfuck to consume media from the literal year you were born) for our three year anniversary today and it didn't buffer once, I cried halfway through, and we found one of her new favorite movies and my new absolute favorite.

10/10 would spend dozens of hours insulting an Ideapad again

https://redd.it/1tk7i4p
@r_SelfHosted

Читать полностью…

r/SelfHosted

drives you wish to use, an Intel 2.5gb LAN (as I've personally had many issues with Realtek's), and is compatible with the CPU, case and RAM you have/are purchasing. An interesting option that's incredibly cost efficient and energy efficient is a motherboard with an Intel N100 built in. This is a mini-ITX motherboard with a 6W TDP processor that's 4 cores 4 threads and includes an integrated iGPU with QuickSync. Similar to the UGREEN NAS. These can be found on Aliexpress, specifically Topton's. If you're a bit unsure of building a PC but wish to take a dive, this option is great as the processor is baked onto the board. Putting the CPU in the socket is easily the most nerve racking part of building a PC and this resolves.

SSD

This is incredibly dependent on your build, whether you can use an M.2 drive, or only SATA. If you wish and your build allows, you can purchase a second M.2 drive to use as temporary files, similar to the RAMDISK I spoke of, for Jellyfin. If doing that with an M.2, ensure you do not put anything critical on that temporary files SSD, as it will wear down. Don't spend a lot of money on it. For a boot M.2/SATA, I recommend anything from Samsung or WD that fits into your budget. No need to go overkill. For the M.2 for temp files, find something that has high R/W speeds but is cheap. I have a Teamgroup MP33 256GB drive.

Power Supply

If buying a power supply for building a PC, ensure it's at least 500W, 80+ Gold and semi-modular/fully modular. If you wish to ensure your unit is TOP of the line, consult this guide

Case

This is personal preference, I insist you look on your own regarding, but I really enjoy my Node 804 from Fractal Design. It is Micro-ATX, but can hold 8-10 drives. If you wish for a smaller one, the Node 304 or Jonsbo's N line are great as well. If you're looking for something bigger and quiet, the Fractal Design Define series will suit your needs. Two factors to consider is that it has enough HDD bays for your need and that your case can fit your motherboard. Do not buy an ATX case with a Mini-ITX motherboard or vice versa unless you're buying a super cheap cpu-board combo like the N100 motherboard I mentioned before. You can always buy a PCIE SATA card to expand that motherboards included 6 SATA ports if your case has more than 6 HDD slots.

HDD

The most important part of your build, your hard drives. Fit most of your budget to buying a high capacity hard drive, 8TB or more, as your storage demands grow, you will quickly find your 3.5" bays to hold your hard drives filling up. You will need all the space you can get depending on your media, especially if you decide to throw your 4k Blu-Rays on here. Go for enterprise or NAS specific drives, such as WD Reds, Seagate IronWolf Pro, Seagate Exos, etc. These are drives specifically meant to be constantly on and deal with the vibrations of nearby HDDs. A major factor to consider is new vs re-certified drives. Only buy recertified drives if you do not care about replacing the contents of your drive. If you wish to buy re-certified drives, serverpartdeals has treated me well. You can also shuck (remove external enclosure) certain external hard drives as many major retailers carry and discount them quite often. Always make sure to scan your drives for errors as soon as you get them, new or used.

Mini-PC

If you're looking for a mini-pc, I recommend offerings from Beelink and GMKTek. Make sure it's running an Intel processor and has at least 8GB RAM and a 256GB SSD. If you're balling, the Mac Mini is a decent option as well. Just can't upgrade the RAM or storage (easily).

DAS

I would recommend TERRAMASTER, QNAP or Sabrent's offerings for a DAS. I personally bought the Mediasonic PROBOX HF2-SU3S3 which is working great. Remember though, no power-back.

#Operating System

Please don't run Windows on your dedicated Jellyfin server. It was bad enough back in 2023 when I originally made the post, and it has only got worse. Take the time to learn Linux,

Читать полностью…

r/SelfHosted

A Beginner's Hardware Guide to Jellyfin

It's been almost two years since I updated my post over on the Plex subreddit "A Beginner's Hardware Guide to Plex Media Server" and a lot has changed since then. Back when I first authored it, 32GB of DDR5 RAM was $50, a 2TB M.2 SSD $90 if you caught a sale. Just recently, Plex announced their second lifetime Plex Pass price increase since 2025. Nobody should pay $750 or even a subscription for accessing your own content. With the attention Jellyfin is receiving and how expensive hardware has got, I thought "What better time to rework, update, and gear my beginner's hardware guide to new Jellyfin users?"

This guide will walk you through the questions you need to ask yourself when determining your hardware, what hardware you should go with depending on your budget, as well as explaining why you may wish to go with each piece of hardware. Let's begin.


#Determining your use-case:

Determining your use-case is an essential part in building out a dedicated Jellyfin Server, here are some questions you need to ask yourself:

Who will be using this Jellyfin Server?

Will you be the only one using this Jellyfin Server? Or will your grandma, aunt, uncle, cousin, brother, sister be using this Jellyfin server? Do these people live with you or are they going to be remotely connecting to this server?

What will you be storing on the Jellyfin Server?

Do you intend to throw your entire 4k Blu-Ray collection onto this Jellyfin Server, or will you be sticking to the DVDs your dad gave you? Maybe some family photos and videos? This will be a key factor in how much storage you need, as well as what kind.


#Budgeting:

Budgeting is going to be the biggest issue you'll face in today's market. Anything storage related is priced through the roof. I personally recommend to buy used parts as much as possible. For this guide, I will be sticking to the USD and US market for hardware availability and prices and getting you a Jellyfin Server as cheap as possible that fits your needs. Baseline, if wish to buy all new parts or used parts, factor in a minimum of $200 for used parts, $300 for new parts. This is excluding the cost for high capacity hard drives and can only go up from there.

#Hardware:
Now for the fun part, hardware. Determining your hardware is heavily dependent on a variety of factors, any hardware you have laying around to use, your internet speeds, electricity prices, whether or not you're letting Grandma take your 4k movies and transcode (convert video/audio files based on client needs) them because her internet is too poor, and the biggest factor being YOUR BUDGET. I'll lay out here a couple of configurations that are popular around here and their pros & cons.

Just your existing laptop or computer

You are more than welcome to use your existing daily driver laptop or computer to setup a Jellyfin Server. This is perfect if you are the only person using Jellyfin Server and do not care about it being up 24/7 or having lots of files ready to go. You may not wish to do this if you intend on keeping your media, or keeping your machine up 24/7.

A spare laptop or desktop lying around or used

I'm all about keeping hardware OUT of the landfills and in-use for as long as possible. I highly recommend repurposing your dad's Dell Optiplex from 2015 or so to make into a Jellyfin Server. It's free, and allows your budget to be spent on storage. Of course, new is better than used from a reliability and warranty standpoint. If that matters to you, this setup may not be for you.

NAS (Network Attached Storage)

Products marketed as a NAS are usually small, efficient boxes with 1-8 HDD bays available. I've turned around regarding my opinions on these devices since my last post, UGREEN entered the market as Synology shot themselves in the feet and tore up. Manufacturers have access to order hardware at much higher volume counts, thus getting better deals on

Читать полностью…

r/SelfHosted

whole local network for connection attempts to sleeping devices (that you have configured) and wakes them on behalf of your clients. This means, you don't have to install it on any other device, to profit from the automatic Wake-on-LAN and it works with all IP based protocols, which you can filter by source IP and port, so that there are as little false wake-ups as possible. It even works when you VPN into your network or do good-old port-forwarding.

This post is already quite long I don't want to bother you with all the features and what it can do for you, because I already wrote an article about it on DEV.to. I also wrote a ton of documentation for it and tried to build it as production-ready as possible. But since I am only one person and only have one network and that many servers at home (regrettably), I reckon this beast still needs a bit of real-world testing.

So if the idea resonates with you and if you want to give it a try, check out the project on GitHub (it's free). I would also love if you could give me feedback on this – or better: help me make it as stable as possible, so that it can leave the Beta status soon. At any rate: Thank you for reading all this and leave your best (and worst) comments below. 💡

Hope this make self-hosting still more enticing!

Disclaimer: I don't know for sure if this belongs to the New Project Megathread or if I may post it directly, because the project is definately older than 3 months (first commit of the second rewrite is from January), but I hadn't had much time to promote it since then. Just remove the post, if it doesn't belong.

https://redd.it/1tjwi5o
@r_SelfHosted

Читать полностью…

r/SelfHosted

Trying to set up a reverse proxy but I can't even figure out how to install Caddy. Am I dumb?

Everyone seems to be a big fan of Caddy, especially for beginners like myself, so that's what I've planned to use for my setup. But right out of the gate I'm running into two roadblocks:

Caddy doesn't include DNS provider plugins, and adding a plugin means building a custom image. This doesn't seem beginner-friendly to me at all. It also seems like using a custom image makes updates more complicated?
Documentation is lacking. I can usually fumble my way through the docs to figure things out, but the Caddy docs are either skipping steps or else assuming I already know way more than I actually do. This page, for instance, says "You can use the :builder image as a short-cut to building a new Caddy binary with custom modules," but I don't know how to do that.

I can't even tell if I'm overthinking or underthinking. Maybe I'm making it all seem more complicated in my head than it actually is, or maybe I'm in over my head and I'm trying to do something I'm just not knowledgeable enough to pull off. Would I be better off with NPM, SWAG, or Traefik? Would love some perspective here.

https://redd.it/1tjw6b3
@r_SelfHosted

Читать полностью…

r/SelfHosted

Cheap required equipment to set up a Jellyfin server?

Edit: oh wow! I didnt know it was that simple. THANK YOU EVERYONE

I want to set up a Jellyfin server, and I have been looking and scratching my head at what I need for it. On a budget though... I'm broke, especially in this economy.

I set up a jellyfin server on my laptop for small scale and I was able to set up some shows and music. I connected them to apps and stuff, and I realised I do want to self host. But, the problem is no I can't use my laptop as my server. And I have no clue what I need. I thought a NAS is what I need but I'm not sure. I just need something that can store my media and act as a server for jellyfin. Also, do I need more robust equipment if I feel like I want to (e.g.) stream 4K content? Thanks, that's it. I know there's hundreds of posts and stuff, but I'm getting perplexed more and more as I dive deep into it.

https://redd.it/1tjl4pn
@r_SelfHosted

Читать полностью…

r/SelfHosted

PostgreSQL backup tool Databasus release 3.40.0: backups restore verification

Hello everyone,

Databasus released a new important feature: backups restore verification.

https://preview.redd.it/e0sbsegt7i2h1.png?width=945&format=png&auto=webp&s=a5eab3768da331dbc721edf69c95f0b42ccb9e57

How it works?

A backup that finishes without error is not the same as a backup you can actually restore. The only real proof is to restore it.

Databasus does this for you on a schedule (after each backup or within daily\\weekly\\monthly cadence):

* takes the latest backup;
* runs restore into a throwaway database container
* sanity-checks the restored database against the source;
* tears the container down;
* reports the outcome.

Feature docs - [https://databasus.com/restore-verification](https://databasus.com/restore-verification)

About the project: Databasus is a free, open source and self-hosted tool to backup PostgreSQL with PITR and restore verification. Make backups with different storages (S3, Google Drive, FTP, etc.) and notifications about progress (Slack, Discord, Telegram, etc.). MySQL, MariaDB and MongoDB are supported too

Repository - [https://github.com/databasus/databasus](https://github.com/databasus/databasus)

https://redd.it/1tjnvmi
@r_SelfHosted

Читать полностью…

r/SelfHosted

namespace

\---

\## Questions

1. Is 'restart: always' actually respected by Synology DSM Container Manager on full power-cycle reboots, or does DSM use its own mechanism that can conflict with Docker's restart policy?

2. Is there a known issue with 'network_mode: service:gluetun' and 'depends_on' on Synology where dependent containers silently fail to start?

3. Has anyone built a stable Gluetun + qBittorrent + Arr stack on Synology that survives daily reboots without manual intervention? I'm exhausted...

4. Is a DSM Task Scheduler boot script running 'docker compose up -d' after a delay the correct long-term solution, or is there a proper Docker Compose way to handle this reliably?

At the moment, I'm using this script - but it still fails every morning.

start-vpnproject.sh \- https://pastebin.com/Mb4Fz1Uq


Any help appreciated, really - been debugging this for almost forever now.

https://redd.it/1tjko3u
@r_SelfHosted

Читать полностью…

r/SelfHosted

I think people underestimate how long “restoring from backup” can actually take

I used to think “if something breaks I will just restore from backup” and everything will be fine again.

But the more I get into larger setups, the more I realize how much work comes after the actual recovery part. Rebuilding folders, checking what is missing, fixing services, dealing with downtime, etc.

Honestly made me realize getting data back and getting everything back to normal are two very different things.

https://redd.it/1tl7dzb
@r_SelfHosted

Читать полностью…

r/SelfHosted

Self-hosted Google Maps alternative for saving POIs?

Hi all,

I’m looking for a simple self-hosted Docker app for keeping a private map of points of interest.

My main use case is tracking FPV flight spots, potential fields / scout locations, and other places I may want to check later. I’d like to manually add markers to a map, ideally with satellite imagery (not critical), and organize them with icons, colors, tags, labels, or descriptions.

Main requirements:

* Runs in Docker
* Allows manual marker placement
* Supports tags, categories, labels, colors, or custom icons
* Has a clean, minimal UI
* Import/export would be useful, but is not essential

I’m not looking for a full GIS setup or anything too heavy. Just a private alternative to saving places in Google Maps.

Any recommendations?

https://redd.it/1tl23v8
@r_SelfHosted

Читать полностью…

r/SelfHosted

My experience and gripes with ZimaOS
https://redd.it/1tkvxln
@r_SelfHosted

Читать полностью…

r/SelfHosted

A privacy-preserving alternative to Ring cameras!
https://redd.it/1tktvli
@r_SelfHosted

Читать полностью…

r/SelfHosted

Emby vs Jellyfin?

long time plex user here and I also have jellyfin running in parallel. i don't use jellyfin but set it up a while back just to see how it is, and it seems to work fine.

last night i spun up Emby for the very first time and it seems to be really fast and looks nice, and the android app works great as well. on a surface level i prefer it to jellyfin so far

for anyone who uses / has used both, is there something that emby / jellyfin does better than the other which is a reason to use one over the other?

asking this as i fully expect plex to kill my (everyone's) lifetime sub at some point so i'd like to have the best working replacement in position for when that inevitably happens

https://redd.it/1tkfaiw
@r_SelfHosted

Читать полностью…

r/SelfHosted

Plex's Lifetime Pass is (basically) dead. Here's how to switch to Jellyfin.
https://gardinerbryant.com/plexs-lifetime-pass-is-basically-dead-heres-how-to-switch-to-jellyfin/

https://redd.it/1tkerv9
@r_SelfHosted

Читать полностью…

r/SelfHosted

mpv.net & StaxRip creator Frank Skare (stax76) has passed away

I know this isn't completely selfhosted related but still...

I just found out about this because I wanted to check mpv.net state since I read a while ago stax was looking for new maintainers and found his sister's message:

https://github.com/mpvnet-player/mpv.net/issues/767

>Hello everyone, I am the older sister of Frank Skare (stax76).
It ist with deep sadness that I inform you that my brother Frank has passend away in February. He was very passionate about his software projects, loved and shared his passion with you, his 'family' of developers over many years.

>My brother was a peaceful person, very kind and helpful to others.
Thank you for being a part of his journey and for keeping his work alive by using it!

>Best regards
Anita from Germany

What sad news, goddamn.

May his memory live on.

https://redd.it/1tkcw0k
@r_SelfHosted

Читать полностью…

r/SelfHosted

it is not as difficult as you may think. I personally run Linux Mint on my server, as it provides a Windows like desktop environment right out of the box. If you wish to ensure you squeeze the most out of your hardware or don't care for a desktop environment, running Ubuntu Server or Debian headless (command-line interface only) are great options. As always, remember to buy a USB to install your installation media if you do not have one and get started following the Jellyfin Documentation.

#Conclusion

Please do let me know if you have any questions, comments, suggestions, or a request for me to include in this guide.

https://redd.it/1tk1c02
@r_SelfHosted

Читать полностью…

r/SelfHosted

components than consumers. I recently saw a 2-bay UGREEN NASync DXP2800 at Walmart for $260, alongside high capacity HDDs on clearance. That offers a low-power Intel Core N100, 4 core processor with iGPU (important for transcoding), 8GB DDR5, install your own storage. Great deal if you wish for new equipment that's efficient, compact, and if you do not plan on scaling your operations as high or can use them for other applications (buddy backup) as you outgrow your HDD capacity.

Mini-PC and a DAS (Direct Attached Storage)

A mini-PC and a direct attached storage combo is a great setup if you are the type of person that isn't comfortable building your own PC, prefer having the warranty and manufacturer assistance on your side. It can also be incredibly power efficient and small, as most mini-PC's use laptop processors. The DAS simply plugs in via USB to your mini-PC and acts as an external drive would. The DAS market is nowhere near as big as the NAS market, and you may find this scenario to be a bit janky at times. This is hosting all your data in essentially an enclosure that only holds, powers your HDDs and sends your data to your mini-PC over USB. These can be bought bare-bones (without RAM or SSD) or with RAM and SSD. Be warned that if you experience frequent power outages, DAS' have no Power Back-On functionality. You will have to manually turn it back on after power loss. Resolve this with a UPS.

Building your own PC

Building your own PC may be something you wish to do if you already have an old case laying around that has lots of HDD bays, spare parts, or just want to specifically configure your parts to your needs. This is the method I chose. I had a case I previously intended for a living room gaming PC laying around (Node 804) and saw it would be perfect for a Jellyfin Server. This can be a bit more expensive if you choose to buy new parts, or just don't have any older parts laying around. It will also not be as power efficient as using a mini-PC.


#Hardware Specifications:

Similar to the Hardware section, this will go in more depth to my recommended processors, hard drives, cases, even motherboards and more. A great resource to understand what parts go with what is PCPARTPICKER, a site that will assist you through building your PC or even your mini-PC and DAS/NAS setup, making sure no parts are incompatible. I will discuss transcoding a lot in this section, please feel free to learn more about it here.

CPU

If you wish to share your media to the outside world and transcode it, or just wish to buy your Jellyfin Server, make sure it has an Intel CPU with an iGPU. Intel CPU's with integrated graphics have QuickSync Video, a dedicated encoding and decoding hardware core that's incredibly power efficient and cost friendly way to ensure you can transcode your files if the situation arises. Different generations of Intel CPU's can transcode different files, ensure you are buying an Intel CPU at least 7th gen, and that it does not say F (i5 10400F) after the model, as it WILL NOT contain an iGPU. In today's market, I don't recommend buying a new CPU for building a Jellyfin server. When buying used, go for newer rather than older but don't be hesitant to get a good deal. Just make sure it's at least 7th gen. Here's a good link that goes into detail about what generation decodes/encodes what file type.

RAM

I used to stay bog standard, 16GB of RAM cause it was cheap. I miss those days... For now, start with 8-16GB of RAM. You can always buy more when it's cheaper. Depending on your setup, you may wish to use 2-8GB of RAM as a RAMDISK (making a portion of your RAM usable space like a HDD/SSD) to set Jellyfin to use as a transcoding path. Only do this if you're comfortable with it and are using Linux, as you can still use your M.2 drive for it.

Motherboard

If buying a motherboard for building a PC, make sure it has enough SATA slots for how many

Читать полностью…

r/SelfHosted

New Project Megathread - Week of 21 May 2026

Welcome to the New Project Megathread!

This weekly thread is the new official home for sharing your new projects (younger than three months) with the community.

To keep the subreddit feed from being overwhelmed (particularly with the rapid influx of AI-generated projects) all new projects can only be posted here.

How this thread works:

A new thread will be posted every Friday.
You can post here ANY day of the week. You do not have to wait until Friday to share your new project.
Standalone new project posts will be removed and the author will be redirected to the current week's megathread.

To find past New Project Megathreads just use the [search](
https://www.reddit.com/r/selfhosted/search/?q="New%20Project%20Megathread%20-"&type=posts&sort=new).

# Posting a New Project

We recommend to use the following template (or include this information) in your top-level comment:

Project Name:
Repo/Website Link: (GitHub, GitLab, Codeberg, etc.)
Description: (What does it do? What problem does it solve? What features are included? How is it beneficial for users who may try it?)
Deployment: (App must be released and available for users to download/try. App must have some minimal form of documentation explaining how to install or use your app. Is there a Docker image? Docker-compose example? How can I selfhost the app?)
AI Involvement: (Please be transparent.)

Please keep our rules on self promotion in mind as well.

Cheers,

https://redd.it/1tjzeg2
@r_SelfHosted

Читать полностью…

r/SelfHosted

I just didn't want to push a button to wake my servers

Hello fellow self hosters. 👋 It is honestly a tiny bit of embarrassing to admit how much time I put into this project. But I want to share it (and the story) with you nonetheless.

When I started to build my self hosting landscape years back, I wanted to have this one huge big machine in my livingroom, that I could through roles and tasks at and it would serve them all. Provide various work environments via Remote Desktop for my laptop? Snickers. Sharing my documents, pictures, videos, music, whatever library via all kinds of protocols? You name it. Local gaming AND remote gaming, mutli-user capable in the house or off site? Now it's getting interesting. Running containers and VMs side-by-side with the Windows host (I told you, it is also for gaming)? Easy. Web development, pipelines, GitLab, NextCloud... I could go on and on. The next thing I will probably add to the soup are local LLMs, because who wants to be dependent on some big shady AI company, who is making profit with our data and keep us on the short leash? I could go on and on. I built this thing and couldn't be happier, to have my stuff on-site and also remotely available, if needed.

But there was this one thing that bothered me all the way back to 2015: There are a couple of times a day (propably about 10-15 hours) when I don't need any of these services. Maybe because I am asleep or hiking in a forest or doing yoga. Shocking, I know. And since I don't own a personal fusion reactor, the question then was:

How can I make my general servant become aware of it, so that it suspends itself nicely when not in need and wakes up instantly when it is required – without me having to look after it all the time?

I admit it: I hate to push buttons if it can be helped and automated away. So I challenged myself with the quest of how to do this without any conscious thought on myself, expect of "I want to remote desktop to my PC" or "SSH into my development VM" or "I want to stream a game via Moonlight". Never should it occur to me to think actively about waking the machine when I need it and ensure that it goes to sleep afterwards.

The Windows sleep management turned out to be broken. The system either didn't go to sleep when it should (because some legacy driver thought otherwise) or it suspended itself mid-work (because it didn't have a concept of which network connections should make it stay awake). But the even more tricky question was: How can the system wake up, just by opening a connection to it, without relying on flaky hardware implementations (Wake-on-Unicast) and without having the system wake up constantly, because my "smart" light-bulp want to open a connection to it?

The technique used to solve the last question wasn't actually new. Apple used this in their mDNS bonjour "sleep proxy" implementation. But as everything crafted by Apple, you never now if it still will be available tomorrow or if Apple drops the feature entirely on short notice. Also it wasn't open source.

This was enough reason to me (and a lot of fun, by the way), to invent my own solution, entirely independent of mDNS (and Apple), open source and as begginer friendly and easy to use as possible.

Originally I called it "Insomnia", because well one part of it does make you system skip sleep for a while. But when I found out about this REST client, that frankly called itself Insomnia, too – for no apparent reason (does it prevent you from sleeping?) – I switched name for something similar but actually a bit more concise: 🌙 Desomnia

I struggled hard with the rename, but after all I am pretty happy about it. The latin prefix "de" means "away from" or "reversal" of something. After two rewrites the most sophisticated part of the program became the transparent and automatic Wake-on-LAN mechanism, which is why the name now deems to be a good fit to me.

The thing I best like about it? It has a mode of operation, where it runs on a Raspberry Pi (or any low-power device) and monitors the

Читать полностью…

r/SelfHosted

Dynacat - 2.3.0

Hello everyone a new version of Dynacat has dropped and it includes many improvements, so make sure to upgrade if you are an existing user and if not here's shortly what it is:

Dynacat is a selfhosted dashboard based on Glance. It allows you to have multiple sources of information e.g. RSS, Youtube, Twitch, Docker, System Usage, Weather, ARR stack and much much more! You can easily build your own widgets with your api's. Want an Immich integration? You got it! Or maybe you don't know how to code? Dont worry we've got you covered. Dynacat has a repository of custom widgets made by our community!

Or maybe you are using Glance. Here are a few reasons why you might want to switch: Dynamic updates, OIDC Support, Better documentation (Website instead of markdown files), Active development, Faster page loads beacuse of implemented caching, Integrations with external applications such as qBittorrent, Jellyfin, Plex, Better keyboard navigation, Better security, because now Dynacat instance fetches your data instead of the browser.

Setting up Dynacat is really easy, so give it a try and let me know what you think 🙂

GH: https://github.com/Panonim/dynacat

Website: https://dynacat.artur.zone

>How was AI used?

Even tho I write most of the code myself. AI has helped me to fix some bugs and review PRs, especially larger ones since It's my first project that got so popular so quickly and I want to keep everything as good as possible. It also helps me with styling, because I'm trying to keep every widget in a "Glance" vibe.

https://redd.it/1tjt8ey
@r_SelfHosted

Читать полностью…

r/SelfHosted

(OPINION) Now's the Perfect Time To Move Away from Plex

**(WRITTEN BY A HUMAN THAT LIKES BULLET POINTS)**

Most people here have probably heard about [Plex hiking the lifetime pass to 750USD](https://www.plex.tv/blog/new-lifetime-plex-pass-pricing/), effective July 1.

If you're still on the subscription and considering buying the lifetime pass before the deadline, here are some reasons not to:

* Plex is the worst type of 'self-hosting' - Closed-source, auth is routed through their servers, you're completely dependent on them.
* Plex explicitly sells your data. This excerpt is from their [privacy policy](https://www.plex.tv/about/privacy-legal/#data-privacy-best-practices):
* "If you have set your account to public settings, then your watch history, reviews, or other data from the Services that you share publicly may be shared with both the public and third parties for marketing purposes. Learn more about your account settings [here](https://support.plex.tv/articles/profile/)."
* If you haven't yet, opt-out of tracking immediately.
* Self-hosters are not the main target market anymore.
* Every single Lifetime subscription are a liability for Plex, since servers cost money.
* They've probably capped out on how much money they can make from self-hosters, and investors demand growth. You've probably noticed they've shifted to doing free content with ads, this is them following the money.
* So most of their development effort will probably go towards these new revenue streams, instead of adding features to make Plex better for self-hosters.
* Subscription prices will inevitably rise
* It's just common sense
* At worst, if things get desperate enough, there's no guarantee they'll honor lifetime passes. Theoretically, they could make Plex v2 and not grandfather everyone (although I'll give them props respecting this so far)

If you're already on the lifetime pass, you're probably good for some time, but you should still consider moving for privacy and self-hosting reasons.

The main advantage of Plex for most users cite is their clients, but these days, Jellyfin has great clients (shout out to [streamyfin](https://github.com/streamyfin/streamyfin)) and many different options for every platform, actively developed by members of the community. Full disclaimer, I'm the dev of [Hound Media Server](https://www.reddit.com/r/selfhosted/comments/1sz2r37/hound_a_media_server_alternative_to_plexjellyfin/), so I also have skin in the game. Special shoutout to [Kyoo](https://github.com/zoriya/Kyoo), which is very active and a project I feel is underloved in this sub.

I really don't blame Plex, they've been good and they need to pay their employees. But from a self-hosting standpoint, I think it's a good time to move on.

TLDR; Support actually self-hosting, support open-source

https://redd.it/1tjp5ou
@r_SelfHosted

Читать полностью…

r/SelfHosted

d9 + projen: building a solid backend backbone with CMS + project-as-code

We use d9 as the core backbone of our backends. We edit as much as we can via the powerful interface and write custom extensions in plain code to complete the core functionality.

To keep that visual power while maintaining a clean developer workflow, we couple it with projen (Project-as-Code). This lets us manage our entire stack, from the local dev environment to a multi-package extension architecture, using a simple configuration:

import { D9Project } from '@wbce/projen-d9';
import { D9ExtensionType } from '@wbce/projen-d9-extension';

const project = new D9Project({ name: 'my-backend' });

// Automates the pnpm workspace boilerplate for custom hooks/endpoints
project.addExtension('audit-log', D9ExtensionType.HOOK);

project.synth();

This combination gives us the best of two worlds:

a good visual editing experience: non-tech teams get the autonomy they need to manage content and workflows.
a good developer experience: we get an automated local environment that mimics a production one, and clean Docker builds without managing manual boilerplate.

We open-sourced this template for anyone wanting to use it in their own workflow. Documentation is here.

If you like this approach, feel free to check out the details, adapt the templates to your use cases, or share yours!

https://redd.it/1tjmd50
@r_SelfHosted

Читать полностью…

r/SelfHosted

Gluetun + qBittorrent + Arr stack on Synology NAS won't start reliably after reboot

Note: This post was written with the help of Claude to structure my debugging history clearly.

Platform & Environment

\- Device: Synology DS923+

\- OS: DSM 7.3.2-86009 Update 3

\- Docker: via DSM Container Manager

\- Stack: Gluetun (WireGuard, AirVPN) → qBittorrent → Sonarr / Radarr / Lidarr

\- Compose location: '/volume2/docker/projects/vpnproject-compose/compose.yaml'

\- Registered in DSM as: Project "vpn-project"

\- NAS schedule: Shuts down Mon–Fri at 01:00, Sat–Sun at 03:00 via Task Scheduler. Boots at 09:30 also via Task Scheduler.

\---

The Problem

Every morning after the scheduled reboot, the stack fails to start correctly. Gluetun connects fine, but qBittorrent either never starts or starts too late. Sonarr/Radarr/Lidarr then fail to connect to qBittorrent and in some cases bring the entire stack down in a restart loop. Manual intervention required. Every. Single. Morning... for weeks.

\---

Current compose.yaml: https://pastebin.com/M3wRJ4ZC

\---

What I've Tried (chronological)

Attempt #1 - No healthcheck, no depends_on

Original setup. qBittorrent started before Gluetun's VPN tunnel was ready, causing 30+ minutes of 'Connection reset by peer' errors in Sonarr/Radarr before they self-recovered.

Attempt #2 - Gluetun healthcheck + depends_on for qBittorrent

Added '/gluetun-entrypoint healthcheck' as healthcheck (binary confirmed present in image via 'docker exec'). Added 'depends_on: gluetun: condition: service_healthy' to qBittorrent. Gluetun now waits correctly, but Arr apps still started too early relative to qBittorrent.

Attempt #3 - Added qBittorrent healthcheck with curl

test: ["CMD-SHELL", "curl -sf `http://localhost:8090/api/v2/app/version` || exit 1"]

Result: 'curl' does not exist in the Alpine-based linuxserver/qbittorrent image. Container permanently 'unhealthy'. All Arr apps blocked indefinitely with 'dependency failed to start: container qbittorrent is unhealthy'.

Attempt #4 - Switched to wget

test: ["CMD-SHELL", "wget -qO- `http://localhost:8090/api/v2/app/version` || exit 1"]

Result: 'HTTP/1.1 403 Forbidden' - qBittorrent's Host header validation rejects the request.

Attempt #5 - wget with explicit Host header

test: ["CMD-SHELL", "wget -qO- --header='Host: localhost:8090' `http://localhost:8090/api/v2/app/version` || exit 1"]

Result: Still '403 Forbidden'. The '/api/v2/app/version' endpoint requires an authenticated session.

Attempt #6 - wget --spider (port reachability only)

test: ["CMD-SHELL", "wget -q --spider `http://localhost:8090/` || exit 1"]

Result: Stack came up initially. After reboot the healthcheck failed intermittently, causing the unhealthy cascade again and blocking Arr apps indefinitely.

Attempt #7 - Removed qBittorrent healthcheck, changed Arr depends_on to service_started

Current config. No healthcheck on qBittorrent. Arr apps use 'condition: service_started'. Reasoning: Arr apps retry the qBittorrent connection internally every \~90 seconds anyway, so a hard dependency on a healthy qBittorrent is unnecessary.

Result: Still failing after reboot. Logs show qBittorrent sometimes produces zero log output - the container appears to never start, despite Gluetun being healthy.

\---

Key Observations from Logs

\- Gluetun always starts and connects (VPN + Public IP confirmed in logs every morning)

\- qBittorrent sometimes produces 'zero log output' after boot - as if Docker never started the container at all

\- When qBittorrent does start, Sonarr/Radarr/Lidarr connect to it fine

\- 'docker compose ls' sometimes does not list vpn-project after reboot

\- 'restart: always' does not reliably bring the stack back up after a full NAS power cycle on Synology

\- All containers use 'network_mode: service:gluetun', meaning they share Gluetun's network

Читать полностью…
Subscribe to a channel