talira

Invidious

An open source alternative front-end to YouTube

open sourceAGPL-3.0-onlyself-hostablefree

Invidious is an open source alternative front-end to YouTube: a lightweight web app for watching YouTube videos with no ads, no tracking and no JavaScript required, without a Google account. People can subscribe to channels and make playlists on the Invidious server, get notifications, listen in audio-only mode and read comments, and import subscriptions from YouTube, NewPipe and FreeTube. It doesn't use the official YouTube APIs; a separate service, Invidious companion, fetches the video streams. Anyone can use a public instance or host their own with Docker and PostgreSQL; the server is written in Crystal, licensed AGPL-3.0, and has a documented REST API. YouTube has periodically blocked public instances since 2023.

Ways to install

Problems it solves

  • watch YouTube videos without ads and without Google tracking what I watch
  • subscribe to YouTube channels without a Google account
  • a privacy-friendly YouTube front end I can host for my family
  • my kids' YouTube homepage is full of recommendations; I want only the channels we chose
  • watch YouTube in a browser that has JavaScript turned off
  • listen to YouTube videos as audio only with background play on my phone
  • self-hosted YouTube alternative interface with subscriptions and playlists
  • move my YouTube subscriptions out of Google into something I control
  • import my NewPipe or FreeTube subscriptions into a web app I can use on any device
  • get the metadata and comments of YouTube videos through an API without a YouTube API key
  • embed YouTube videos on our site without loading Google's tracking scripts
  • a lightweight YouTube interface for an old computer that struggles with the official site
  • redirect YouTube links to a front end that doesn't track people
  • keep a watch history and subscription feed on my own server instead of my Google account
  • deploy a YouTube front end on Kubernetes with a Helm chart

Features

  • no ads, no tracking and no JavaScript required
  • subscriptions and playlists without a YouTube or Google account
  • notifications for subscribed channels and a customizable homepage
  • audio-only mode with background play on mobile
  • YouTube comments
  • light and dark themes and many interface languages
  • import subscriptions from YouTube, NewPipe and FreeTube, and watch history from YouTube and NewPipe
  • export subscriptions to NewPipe and FreeTube, and import or export Invidious user data
  • embedded video support
  • documented REST API for developers
View 3 more
  • doesn't use the official YouTube APIs
  • Invidious companion service that retrieves video streams from YouTube
  • Docker images, a Helm chart and manual Linux installation

Limitations

  • YouTube blocks public instances: it has periodically blocked public Invidious instances since June 2023, which disables the local video proxy and DASH playback6
  • No native mobile or desktop apps: Invidious is a browser application7
  • Subtitles often don't work: the FAQ says they generally fail on popular public instances7
  • Unsupported on PaaS hosts such as Heroku or YunoHost: the docs say they will cause problems8
  • Needs frequent restarts: the docs say an instance must be restarted at least once a day8
  • Doesn't run natively on Windows: Crystal doesn't officially support Windows, so use Docker8

Capabilities

Has an APIplan not known

Alternatives

The same job

These do what Invidious does.

  1. Piped An alternative privacy-friendly YouTube frontend which is efficient by design

Compare Invidious with the top 3