s546126

Media Stack Setup — Development skill for Claude Code

Development community

Self-hosted Real-Debrid streaming media library: zurg+rclone storage-free streaming + arr automation (Decypharr bridge) + Plex/Jellyfin (中文 metadata) + private Tailscale + config backup.

How to install Media Stack Setup

This entry records only its repository, not the path inside it, so there is no exact command to give. Open s546126/media-stack-setup and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Media Stack Setup does

Self-hosted Real-Debrid streaming media library: zurg+rclone storage-free streaming + *arr automation (Decypharr bridge) + Plex/Jellyfin (中文 metadata) + private Tailscale + config backup. A Claude Code skill.

Alternatives in Development

  • InspireSkill — InspireSkill: Local agent cockpit for the Inspire compute platform, unifying a composable CLI, Agent Skill, an 577 ★
  • Convex File Storage 354 ★
  • Recent Memories — Display the most recent memories and activity from Claude's persistent storage 332 ★

README

media-stack-setup

A [Claude Code](https://docs.claude.com/en/docs/claude-code) **skill** + setup guide for self-hosting a **streaming media library** on a single Linux box — where media is streamed from remote storage with a local VFS cache.

Real-Debrid holds the files; `zurg` + `rclone` stream them through a FUSE mount; the *arr stack automates acquisition; Plex/Jellyfin serve playback with Chinese metadata; everything is reachable privately over Tailscale (nothing on the public internet); configs back up daily to Google Drive.

![Architecture](media-arch.svg)

The pipeline

求片/索引 → Sonarr/Radarr 决定抓什么 → Decypharr 加种到 Real-Debrid
  → zurg 串流挂载 /mnt/zurg → 符号链接进 library → Plex/Jellyfin 播放(中文海报+字幕)

(可选)弹幕:Sonarr/Radarr 导入完成 webhook → danmu-bridge → Misaka 按 TMDB/TVDB+季集抓弹幕
  → <视频名>.xml 写到符号链接旁 ;播放端经 Tailscale 调 Misaka 的弹弹play 接口
(可选)LibreTV 网页播放器:搜采集站在线看,服务端按剧名+集数向 Misaka 取弹幕
  • media stack — zurg (RD client) → rclone FUSE mount /mnt/zurg; optional alist for 百度/夸克/阿里云盘; Plex and/or Jellyfin.
  • arr stack — Prowlarr, Sonarr, Radarr, Bazarr, Jellyseerr, and Decypharr (a qBittorrent-shim that bridges *arr to Real-Debrid and symlinks the cached files into the library).
  • danmaku (optional) — Misaka danmu server + Postgres + danmu-bridge (a small Go service in this repo: Sonarr/Radarr webhooks → Misaka, backfill, writes .xml beside each symlink); Jellyfin shows 弹幕 inside its own web player (script injected server-side, Misaka's API served on Jellyfin's own origin, so no CORS and no per-device install), and dandanplay-compatible players (SenPlayer, Hills, …) pull 弹幕 over Tailscale. Optionally LibreTV (web player for third-party sources, built from upstream + this repo's patch) shows Misaka's 弹幕 too, matched by title + episode.
  • access — a Tailscale sidecar per service → https://..ts.net.
  • safety net — daily cron backup of all configs → Google Driv