R0GGER / invidious-installer

Automatic install script for Invidious

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 has been sourced

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

Coindrop.to me

Web Hosting

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

DigitalOcean Referral Badge

Disclaimer

*** Use at own risk ***

License

MIT License Image

MIT License

About

Automatic install script for Invidious

License:MIT License


Languages

Language:Shell 100.0%