Automatic install script for Invidious
╔═══════════════════════════════════════════════════════════════════╗
║ Invidious Installer.sh ║
║ Automatic install script for Invidious ║
║ Maintained by @tmiland ║
╚═══════════════════════════════════════════════════════════════════╝
Script to install Invidious
This script is just the install option in Invidious-Updater
- Version 2.0.0 is completely re-written and has been sourced
Quick install with default options for localhost:
With Curl:
curl -sSL https://github.com/tmiland/invidious-installer/raw/main/invidious_installer.sh | bash || exit 0
With Wget:
wget -qO - https://github.com/tmiland/invidious-installer/raw/main/invidious_installer.sh | bash || exit 0
With custom options:
curl -sSL https://github.com/tmiland/invidious-installer/raw/main/invidious_installer.sh
Set execute permission:
chmod +x invidious_installer.sh
DOMAIN= \
IP=localhost \
PORT=3000 \
PSQLDB=invidious \
HTTPS_ONLY=n \
EXTERNAL_PORT= \
ADMINS= \
SWAP_OPTIONS=n \
./invidious_installer.sh
DOMAIN=domain.com \
IP=123.45.67.89 \
PORT=3000 \
PSQLDB=invidious \
HTTPS_ONLY=y \
EXTERNAL_PORT=443 \
ADMINS=admin \
SWAP_OPTIONS=n \
./invidious_installer.sh
- For Captcha key, add
CAPTCHA_KEY=YOUR_CAPTCHA_KEY \
to options. - PostgreSQL password will be auto-generated.
Usage:
If called without arguments, installs Invidious.
--help |-h display this help and exit
--verbose |-v increase verbosity
--banners |-b disable banners
--uninstall |-u uninstall
--repo |-r select custom repo. E.G: user/invidious
- installation log in invidious_installer.log
- ./src/slib.sh function script is sourced remotely if not found locally
- This script is a combination of functions for spinners, colors and logging
- Source: Spinner: swelljoe/spinner
- Source: Run ok: swelljoe/run_ok
- Source: Slog: swelljoe/slog
- Source: Slib: virtualmin/slib
- This script is a combination of functions for spinners, colors and logging
Note: you will be prompted to enter root password
If root password is not set, type:
sudo passwd root
To keep Invidious up-to-date: Invidious-Updater
Tested and working on:
Debian | Ubuntu | CentOS | Fedora | Arch | PureOS |
---|---|---|---|---|---|
- Debian 8 and later
- Ubuntu 16.04 and later
- PureOS (Not tested)
- CentOS 8
- Fedora 40
- Arch Linux
Sign up for web hosting using this link, and receive $200 in credit over 60 days.
*** Use at own risk ***