invidious-installer
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 might be sourced in the future
Installation
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
- 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
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
- PayPal me
- [BTC] : 33mjmoPxqfXnWNsvy8gvMZrrcG3gEa3YDM
Web Hosting
Sign up for web hosting using this link, and receive $100 in credit over 60 days.
Disclaimer
Use at own risk