Skip to content

tmiland/invidious-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.
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

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 40
  • 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