--- title: "TubeArchivist" section: "smarthome" parent: "/" description: "Self-hosted YouTube archiving and media management running on the Synology NAS." layout: base.njk ---
TubeArchivist runs on the Synology NAS via Docker Compose, self-hosting a searchable archive of downloaded YouTube content (Elasticsearch + Redis + the TubeArchivist app itself). It's used to archive channels worth rewatching — tutorials, long-form content, and anything that might disappear behind copyright strikes or channel deletions.
Running Elasticsearch on Synology's DSM kernel isn't fully straightforward: newer Elasticsearch releases require a Linux kernel feature (SECCOMP) that Synology's kernel doesn't compile in. The fix is version-pinning Elasticsearch to the last release that still works without it, rather than fighting the kernel.
TubeArchivist data is split into two categories with different backup priorities. The downloaded media files and Elasticsearch metadata are backed up as part of the NAS backup volumes, since they take significant time to re-download and re-index. The Redis cache is excluded — it only holds session data and can be safely rebuilt on restart.
| Data | Included in NAS backup? |
|---|---|
| Downloaded media files | Yes, via the NAS's own backup volumes |
| Elasticsearch metadata/index | Yes, via the NAS's own backup volumes |
| Redis cache | No — safe to delete/rebuild, only holds session data |
Channels are added via the TubeArchivist web interface, which provides a YouTube-like browsing experience for the archived content. New videos from subscribed channels are automatically downloaded on a schedule. The search function indexes titles, descriptions, and metadata, making it easy to find specific videos in a large archive. The system runs headless on the NAS with no dedicated display — all interaction happens through the web interface or the companion mobile app.