Invidious is an alternative front-end to YouTube.
This install assumes you want a private instance, protected by
username/password. If not, comment out the Authentication
section in the
docker-compose.yaml
.
make config
This will ask you to enter the domain name to use.
It automatically saves your responses into the configuration file
.env_{INSTANCE}
.
If you are using ARM64, you must select the appropriate image:
make reconfigure var=INVIDIOUS_IMAGE=quay.io/invidious/invidious:latest-arm64
In the ongoing battle to bypass Google's attempt to block non-Google services from scraping public Youtube videos and information, the current method for Invidious to work is to pass a Proof of Origin Token to Google (if your public IP is blocked by Google). To generate po_token and visitor_data identities for passing all verification checks on the YouTube side, run:
docker run quay.io/invidious/youtube-trusted-session-generator
This must be run on the same public IP address as the one blocked by YouTube.
When you run make config
, you will be prompted to enter the visitor_data
and po_token
values
NOTE: The po_token
and visitor_data
tokens will make your entire Invidious
session more easily traceable by YouTube because it is tied to a unique
identifier. See additional info here.
See AUTH.md for information on adding external authentication on top of your app.
make install
## Wait for all services to become HEALTH=healthy; Press Ctrl-C to quit watch
watch make status
make open
The default setting is for clients to stream videos directly from Google. If
this is not desired, make sure you set the setting in the client interface
called Proxy videos
. Also see invidious docs on
this.
You should create an invidious account and log into the app, in addition to the
HTTP basic auth password. If you don't create an account, and you don't login,
your settings (eg. Proxy Videos
) are not saved!
Invidious suggests "because of various issues Invidious must be restarted often, at least once a day, ideally every hour." The instance of Invidious that d.rymcg.tech installs does not automatically restart - we leave this to you to decide whether to do it and, if so, how to do it.