ChannelTube
Download video or audio from YouTube channels on a schedule via yt-dlp.
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, 20means 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
137for video and140for 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_hoursparameter 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.txtexported 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
| Variable | Description | Default |
|---|---|---|
| PUID / PGID | User ID and group ID used at runtime | 1000 |
| video_format_id / audio_format_id | Format IDs for video and audio | 137 / 140 |
| defer_hours | Number of hours to defer downloads | 0 |
| thread_limit | Maximum number of threads | 1 |
| subtitles | How subtitles are handled: none / embed / external | none |
| subtitle_languages | List of subtitle languages (comma-separated) | en |
| include_id_in_filename | Whether to include the video ID in the filename | false |
| short_video_cutoff | Videos shorter than this many seconds are skipped | 180 |
| auto_update_hour | Hour of the day to automatically update yt-dlp | Off by default |
| ytdlp_update_type | yt-dlp update channel: stable / nightly | stable |
| verbose_logs | Whether to output verbose logs | false |
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.
Discover more
Elengrab
Fast cross-platform video and audio downloader and media viewer with flexible format and quality options. Supports 1,000+ websites including YouTube, Instagram, TikTok, Twitch, Facebook, Reddit, and more, with self-hosted deployment support.
Gameyfin
Manage your video games.
HomeTube
HomeTube is a friendly video downloader managing single video URL into organized content structure for automatic home media server experience.
Lingarr
Lingarr is an application that supports both local and SaaS translation services to translate subtitle files into a specified target language. With automated translation options, Lingarr simplifies translating subtitles.
MeTube
Web GUI for youtube-dl, with playlist support. Allows downloading videos from dozens of websites.
Pinchflat
Download YouTube content built using yt-dlp.