Back to services

ChannelTube

Download video or audio from YouTube channels on a schedule via yt-dlp.

View alternatives to ChannelTube
Suggest edit
Open source
Self-hostable
AGPL-3.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Introduction

ChannelTube uses yt-dlp to sync and fetch content from YouTube channels. It checks the channels you follow on a schedule and downloads newly published videos or audio to local storage. The project is open source on GitHub under the GPL-3.0 license, and the official Docker image is thewicklowwolf/channeltube. It comes with a web management interface that supports both light and dark themes.

Key Features

  • Scheduled sync: Set check times with a comma-separated list of hours. For example, 2, 20 means one check at 2 AM and another at 8 PM every day. The actual start time may be up to 10 minutes later than the scheduled time.
  • Separate video and audio downloads: Video and audio each have their own download directory. You can specify video and audio quality through yt-dlp format IDs; the defaults are 137 for video and 140 for audio. If the specified format is unavailable, a fallback codec is used instead: vp9 for video and mp4a for audio by default.
  • Subtitles: You can skip subtitles, embed them in the video, or save them as separate files. Multiple subtitle languages can be specified, with English as the default.
  • Short video filtering: Videos shorter than the configured duration are skipped. The default is 180 seconds, which can be used to exclude short content such as Shorts.
  • Deferred downloads: The defer_hours parameter lets you download a video only some hours after it is published.
  • Media server integration (optional): After new content is downloaded, it automatically triggers a Plex and/or Jellyfin library scan. You need to provide the server address, token, and library name.
  • Cookies support (optional): Put a cookies.txt exported from your browser into the config directory, and yt-dlp will use those cookies when downloading.
  • Automatic yt-dlp updates: You can set an hour of the day (0–23) for yt-dlp to update automatically, choosing either the stable release or the nightly pre-release build.

Who It's For

  • Users who have set up a home media server such as Plex or Jellyfin and want to automatically archive their favorite YouTube channels locally
  • People who want to watch or listen to YouTube content offline
  • People who need to keep long-term backups of certain channels

Deployment (docker-compose)

services:
  channeltube:
    image: thewicklowwolf/channeltube:latest
    container_name: channeltube
    volumes:
      - /path/to/config:/channeltube/config
      - /data/media/video:/channeltube/downloads
      - /data/media/audio:/channeltube/audio_downloads
      - /etc/localtime:/etc/localtime:ro
    ports:
      - 5000:5000
    restart: unless-stopped

After it starts, open http://<host IP>:5000 in your browser to access the web interface, add channels, and finish the configuration.

Common Environment Variables

VariableDescriptionDefault
PUID / PGIDUser ID and group ID used at runtime1000
video_format_id / audio_format_idFormat IDs for video and audio137 / 140
defer_hoursNumber of hours to defer downloads0
thread_limitMaximum number of threads1
subtitlesHow subtitles are handled: none / embed / externalnone
subtitle_languagesList of subtitle languages (comma-separated)en
include_id_in_filenameWhether to include the video ID in the filenamefalse
short_video_cutoffVideos shorter than this many seconds are skipped180
auto_update_hourHour of the day to automatically update yt-dlpOff by default
ytdlp_update_typeyt-dlp update channel: stable / nightlystable
verbose_logsWhether to output verbose logsfalse

Pros and Things to Note

  • It can be deployed with a single Docker command, and the setup is simple, making it well suited to running long-term on a NAS or home server.
  • Downloading depends on yt-dlp. You can enable automatic updates to keep up with changes on YouTube's side.
  • It works with Plex and Jellyfin, so new content appears in your library automatically once it has finished downloading.
  • Please comply with YouTube's Terms of Service and applicable copyright rules when using it.