Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tmiland/invidious-installer
Automatic install script for Invidious
https://github.com/tmiland/invidious-installer
arch-linux bash centos debian fedora installer invidious manjaro-linux ubuntu
Last synced: about 2 months ago
JSON representation
Automatic install script for Invidious
- Host: GitHub
- URL: https://github.com/tmiland/invidious-installer
- Owner: tmiland
- License: mit
- Created: 2022-04-28T16:19:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-23T10:23:46.000Z (4 months ago)
- Last Synced: 2024-08-23T11:38:20.673Z (4 months ago)
- Topics: arch-linux, bash, centos, debian, fedora, installer, invidious, manjaro-linux, ubuntu
- Language: Shell
- Homepage:
- Size: 230 KB
- Stars: 15
- Watchers: 1
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# invidious-installer
Automatic install script for Invidious```
╔═══════════════════════════════════════════════════════════════════╗
║ Invidious Installer.sh ║
║ Automatic install script for Invidious ║
║ Maintained by @tmiland ║
╚═══════════════════════════════════════════════════════════════════╝
```
[![GitHub release](https://img.shields.io/github/release/tmiland/invidious-installer.svg?style=for-the-badge)](https://github.com/tmiland/invidious-installer/releases)
[![licence](https://img.shields.io/github/license/tmiland/invidious-installer.svg?style=for-the-badge)](https://github.com/tmiland/invidious-installer/blob/master/LICENSE)
![Bash](https://img.shields.io/badge/Language-SH-4EAA25.svg?style=for-the-badge)## Script to install [Invidious](https://github.com/iv-org/invidious)
This script is just the install option in [Invidious-Updater](https://github.com/tmiland/Invidious-Updater)
- Version 2.0.0 is completely re-written and has been sourced## Installation
[![invidious-installer Image](https://raw.githubusercontent.com/tmiland/invidious-installer/main/_images/invidious_installer.png)](https://github.com/tmiland/invidious-installer/blob/main/_images/invidious_installer.png)
### Download the script:
Quick install with default options for localhost:
With Curl:
```bash
curl -sSL https://github.com/tmiland/invidious-installer/raw/main/invidious_installer.sh | bash || exit 0
```
With Wget:
```bash
wget -qO - https://github.com/tmiland/invidious-installer/raw/main/invidious_installer.sh | bash || exit 0
```With custom options:
```bash
curl -sSL https://github.com/tmiland/invidious-installer/raw/main/invidious_installer.sh
```
Set execute permission:
```bash
chmod +x invidious_installer.sh
```### Install with default options to run on localhost:
```bash
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:
```bash
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.```bash
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](https://github.com/tmiland/invidious-installer/blob/main/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](https://github.com/swelljoe/spinner)
- Source: Run ok: [swelljoe/run_ok](https://github.com/swelljoe/run_ok)
- Source: Slog: [swelljoe/slog](https://github.com/swelljoe/slog)
- Source: Slib: [virtualmin/slib](https://github.com/virtualmin/slib)***Note: you will be prompted to enter root password***
If root password is not set, type:
```bash
sudo passwd root
```### To keep Invidious up-to-date: [Invidious-Updater](https://github.com/tmiland/Invidious-Updater)
## Testing
Tested and working on:
| Debian | Ubuntu | CentOS | Fedora | Arch | PureOS |
| ------ | ------ | ------ | ------ | ------ | ------ |
| [](https://raw.githubusercontent.com/tmiland/Invidious-Updater/master/img/os_icons/debian.svg?sanitize=true) | [](https://raw.githubusercontent.com/tmiland/Invidious-Updater/master/img/os_icons/ubuntu.svg?sanitize=true) | [](https://raw.githubusercontent.com/tmiland/Invidious-Updater/master/img/os_icons/cent-os.svg?sanitize=true) | [](https://raw.githubusercontent.com/tmiland/Invidious-Updater/master/img/os_icons/fedora.svg?sanitize=true) | [](https://raw.githubusercontent.com/tmiland/Invidious-Updater/master/img/os_icons/arch.svg?sanitize=true) | [](https://raw.githubusercontent.com/tmiland/Invidious-Updater/master/img/os_icons/pureos.svg?sanitize=true)## 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
- [Bug report](https://github.com/tmiland/Invidious-Updater/issues/new?assignees=tmiland&labels=bug&template=bug_report.md&title=Bug-report:)
- [Feature request](https://github.com/tmiland/Invidious-Updater/issues/new?assignees=tmiland&labels=enhancement&template=feature_request.md&title=Feature-request:)## Web Hosting
Sign up for web hosting using this link, and receive $200 in credit over 60 days.
#### Disclaimer
*** ***Use at own risk*** ***
### License
[![MIT License Image](https://upload.wikimedia.org/wikipedia/commons/thumb/0/0c/MIT_logo.svg/220px-MIT_logo.svg.png)](https://github.com/tmiland/invidious-installer/blob/master/LICENSE)
[MIT License](https://github.com/tmiland/invidious-installer/blob/master/LICENSE)