Automatic install script for Invidious

invidious-installer

Automatic install script for Invidious

                  ╔═══════════════════════════════════════════════════════════════════╗
                  ║                      Invidious Installer.sh                       ║
                  ║              Automatic install script for Invidious               ║
                  ║                      Maintained by @tmiland                       ║
                  ╚═══════════════════════════════════════════════════════════════════╝

GitHub release
licence
Bash

Script to install Invidious

This script is just the install option in Invidious-Updater

  • Version 2.0.0 is completely re-written and might be sourced in the future

Installation

invidious-installer Image

Download the script:

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

Install with default options to run on localhost:

DOMAIN= 
IP=localhost 
PORT=3000 
PSQLDB=invidious 
HTTPS_ONLY=n 
EXTERNAL_PORT= 
ADMINS= 
SWAP_OPTIONS=n 
./invidious_installer.sh

Install with options to run on HTTPS site:

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.
  • For verbose output, use [ -v ] argument
  • Use a custom invidious repo/fork with [ -r | –repo user/invidious ]
  • installation log in invidious_installer.log
  • ./src/slib.sh function script is sourced remotely if not found locally

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

Testing

Tested and working on:

Debian Ubuntu CentOS Fedora Arch PureOS

Compatibility and Requirements

  • Debian 8 and later
  • Ubuntu 16.04 and later
  • PureOS (Not tested)
  • CentOS 8
  • Fedora 33
  • Arch Linux

Feature request and bug reports

Donations

Buy Me A Coffee

  • PayPal me
  • [BTC] : 33mjmoPxqfXnWNsvy8gvMZrrcG3gEa3YDM

Web Hosting

Sign up for web hosting using this link, and receive $100 in credit over 60 days.

DigitalOcean

Disclaimer

Use at own risk

License

MIT License Image

MIT License

Share and Enjoy !

Shares