u/Leap90

Pyams - Self hosted media server (Linux & Windows)

Pyams - Self hosted media server (Linux & Windows)

Hey r/selfhosted,

I wanted to share a project I’ve been working on called PYAMS (Python Yet Another Media Server). If you’ve ever used YAMS, you know how great a simple script can be for getting a stack up and running. PYAMS takes that philosophy but with a modern Python CLI, full Podman support (rootless!), and cross-platform compatibility for both Linux and Windows.

🚀 What makes it different?

Most media server scripts just dump a docker-compose.yml and walk away. PYAMS is a full lifecycle manager that handles the "annoying" parts of the setup automatically.

* Zero-Config Automation: It doesn't just start Jellyfin; it uses scripts to automatically create the admin user, set up your "Movies" and "TV" libraries, and complete the startup wizard for you.

* Smart VPN Routing: It uses Gluetun for VPN support but goes a step further by automatically binding qBittorrent to the tun0 interface so you never leak traffic if the VPN drops.

* Rootless Podman: Designed from the ground up for rootless Podman. It handles PUID/PGID and Podman socket paths automatically.

* Cross-Platform: Works natively on Windows and Linux.

* Beautiful CLI: Built with Typer and Rich, so you get clean status tables, progress bars, and full shell tab-completion for service names.

🛠 The Stack

One command (pyams install) gets you:

* Streaming: Jellyfin

* Downloads: qBittorrent (pre-configured with junk file blocklists)

* Automation: Sonarr, Radarr, Prowlarr, Bazarr

* Privacy: Gluetun (VPN) + FlareSolverr (Captcha bypass)

* Maintenance: Watchtower (auto-updates)

GitHub: https://github.com/a-hendo/pyams

Would love to hear what you guys think or what features you’d want to see added!

u/Leap90 — 10 hours ago