Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Extra configuration

The code for configuration can be found on internal/config/config.go

This page assumes you have basic TOML knowledge

Proxy

ArchiveTube supports HTTP, HTTPS and SOCKS proxy

[archive]
proxy = "protocol://username:password@ip:port"

Reverse proxy

If you expose your ArchiveTube instance, you may want to put it behind a reverse proxy.

[server]
real_ip_header = "header"
ServiceHeader
NginxX-Forwarded-For
CloudflareCF-Connecting-IP
PopularX-Real-IP

CORS

If you want to use your archived videos on another site without making your data accessible to everyone, you can setup CORS. Default is set to *

[server]
cors_host = "https://yt.mathiasd.fr"

yt-dlp path

You can change the yt-dlp by adding a ytdlp_path argument to the archive section

[archive]
ytdlp_path = "/usr/local/bin/yt-dlp"

Note: this can be used to add custom arguments to yt-dlp by making a middleman bash script. This hasn’t been tested though, custom argument support will be added one day

yt-dlp --quiet "$@"

Here, --quiet is added to all yt-dlp commands