By far the easiest option is to use a public instance of invidious. List of public instances.
Youtube links looks like this: https://www.youtube.com/watch?v=AaA1a1AaA-a
Invidious links look like this: https://www.invidio.us/watch?v=AaA1a1AaA-a
Links can be manually changed or converted with an add-on, such as Redirector (MIT) for Firefox-based browsers.
Example Redirector settings to rewrite youtube to a specific invidious instance.
- Description: YouTube to puffyan invidious
- Example URL: https://www.youtube.com/watch?v=AaA1a1AaA-a
- Include pattern: https://www.youtube.com/*
- Redirect to: https://vid.puffyan.us/$1
- Pattern type: Wildcard
- Pattern Description: (Intentionally left blank)
- Example result: https://vid.puffyan.us/watch?v=AaA1a1AaA-a
It is also possible to play YouTube videos using MPV when you have youtube-dl installed. You can take any YouTube, or invidious instance link and enter it with the MPV command like so:
Open a terminal.
Install youtube-dl on a Debian based system.
sudo apt install -y youtube-dl
Download a video with a command like this:
Or just use the video id:
You can get an RSS feed of a channel if you have its ID like so:
For example, here is the feed for Kero Kero Bonito's youtube channel:
You can find a channel's id either in its URL or by inspecting the source and searching for "channelid"