All Projects → tmiland → Invidious-Updater

tmiland / Invidious-Updater

Licence: MIT license
Automatic install and update script for Invidious

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Invidious-Updater

Anlinux Adfree
AnLinux, Ad free version.
Stars: ✭ 127 (-29.83%)
Mutual labels:  debian, archlinux, fedora, centos, arch-linux
Anlinux App
AnLinux allow you to run Linux on Android without root access.
Stars: ✭ 614 (+239.23%)
Mutual labels:  debian, archlinux, fedora, centos, arch-linux
Anlinux Resources
Image and Script for LinuxOnAndroid App
Stars: ✭ 135 (-25.41%)
Mutual labels:  debian, archlinux, fedora, centos, arch-linux
AwsTerm
A collection of awesome terminal utilities
Stars: ✭ 37 (-79.56%)
Mutual labels:  debian, archlinux, arch, arch-linux
zarch
The Ultimate Script For Arch Linux
Stars: ✭ 49 (-72.93%)
Mutual labels:  archlinux, arch, arch-linux, bash-script
Image Bootstrap
⛅️ Creates (chroots and) bootable virtual machine images; command line tool (Python 3)
Stars: ✭ 178 (-1.66%)
Mutual labels:  archlinux, fedora, centos, arch-linux
Spotcommander
The most intuitive and feature-rich remote control for Spotify for Linux
Stars: ✭ 152 (-16.02%)
Mutual labels:  debian, archlinux, fedora, arch-linux
piu
Cross platform package manager wrapper
Stars: ✭ 33 (-81.77%)
Mutual labels:  debian, fedora, centos, arch-linux
linux-installer
Universal GNU+Linux installer script
Stars: ✭ 16 (-91.16%)
Mutual labels:  debian, archlinux, fedora, arch-linux
Open Build Service
Build and distribute Linux packages from sources in an automatic, consistent and reproducible way #obs
Stars: ✭ 599 (+230.94%)
Mutual labels:  debian, archlinux, fedora, centos
Atilo
Linux installer for termux
Stars: ✭ 629 (+247.51%)
Mutual labels:  debian, archlinux, fedora, centos
PXESetupWizard
PXE Setup Wizard. Netboot Debian, Ubuntu, System Rescue CD, FreeDOS and more.
Stars: ✭ 96 (-46.96%)
Mutual labels:  debian, archlinux, fedora, bash-script
Postinstall
💻 Bash Script to automate post-installation steps
Stars: ✭ 104 (-42.54%)
Mutual labels:  debian, fedora, centos, arch-linux
Robox
The tools needed to robotically create/configure/provision a large number of operating systems, for a variety of hypervisors, using packer.
Stars: ✭ 303 (+67.4%)
Mutual labels:  debian, arch, fedora, centos
Openvpn Install
Set up your own OpenVPN server on Debian, Ubuntu, Fedora, CentOS or Arch Linux.
Stars: ✭ 7,142 (+3845.86%)
Mutual labels:  debian, fedora, centos, arch-linux
wsl-distrod
Distrod is a meta-distro for WSL 2 which installs Ubuntu, Arch, Debian, Gentoo, etc. with systemd in a minute for you. Distrod also has built-in auto-start feature on Windows startup and port forwarding ability.
Stars: ✭ 1,637 (+804.42%)
Mutual labels:  debian, fedora, centos, arch-linux
Oracle Java
Ansible role to install Oracle Java 8/11 on Debian and RedHat based distributions.
Stars: ✭ 144 (-20.44%)
Mutual labels:  debian, centos, centos7
distrobox
Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
Stars: ✭ 4,371 (+2314.92%)
Mutual labels:  archlinux, fedora, centos
simplyarch
The blazing fast ⚡ Arch Linux ⚡ installation script that puts you on control 🌟
Stars: ✭ 38 (-79.01%)
Mutual labels:  archlinux, arch, arch-linux
Rofi
A large collection of Rofi based custom Menu, Applets, Launchers & Powermenus.
Stars: ✭ 2,907 (+1506.08%)
Mutual labels:  debian, archlinux, fedora

Invidious-Updater (And Installer)

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

GitHub release licence Bash

Script to install and update Invidious

1) Install Invidious          6) Start, Stop or Restart   
2) Update Invidious           7) Uninstall Invidious      
3) Deploy with Docker         8) Set up PostgreSQL Backup 
4) Add Swap Space             9) Install Nginx            
5) Run Database Maintenance  10) Exit                     

Screenshots

screenshot

Debian Ubuntu
CentOS Fedora
Arch PureOS

Recommendation

It is recommended to use this script on a fresh installation to avoid unwanted complications.

Installation

If you're looking for a quick way to install, check out Invidious-Installer This is now integrated into the update script

Download and execute the script:

For latest release

curl -s https://api.github.com/repos/tmiland/Invidious-Updater/releases/latest \
| grep "browser_download_url.*sh" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -qi -
$ chmod +x invidious_update.sh
$ ./invidious_update.sh

Or directly

$ curl -sSL https://github.com/tmiland/Invidious-Updater/releases/latest/download/invidious_update.sh | bash

For master branch

$ wget https://github.com/tmiland/Invidious-Updater/raw/master/invidious_update.sh
$ chmod +x invidious_update.sh
$ ./invidious_update.sh

Repository

$ sudo curl -SsL -o /etc/apt/sources.list.d/tmiland.list https://deb.tmiland.com/debian/tmiland.list
$ curl -SsL https://deb.tmiland.com/debian/KEY.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/tmiland-archive-keyring.gpg >/dev/null
$ sudo apt update
$ sudo apt install invidious-updater
  • Run script with invidious_update

  • Only for Debian/Ubuntu/LinuxMint/PureOS

Check for script update (Default "no")

$ ./invidious_update.sh -u

Update Invidious via Cron

Select option 2 once to manually set GitHub Credentials

$ /path/to/script/invidious_update.sh -c

Add job to cron:

$ crontab -e
@daily bash /path/to/script/invidious_update.sh -c > /dev/null 2>&1 # Automated Invidious Update

Note: you will be prompted to enter root password

If root password is not set, type:

sudo passwd root

Usage

  1. Install invidious

asciicast

  1. Update Invidious

Note: GitHub Credentials needs to be provided to keep the update from failing (Credentials are stored in /root/.gitconfig) This is required to stash & checkout a new branch which was implemented to prevent "Detached HEAD state".

  • Invidious is ready to be updated, press any key to continue...
  1. Deploy Invidious with Docker

      1. Build and start cluster
      1. Start, Stop or Restart cluster
      1. Rebuild cluster
      1. Delete data and rebuild
      1. Install Docker CE
      1. Run database maintenance
  2. Add Swap Space

  3. Run database maintenance

    Also works with argument -m

    $ /path/to/script/invidious_update.sh -m
  4. Start, Stop or Restart Invidious

  5. Uninstall Invidious

asciicast

  1. Set up PostgreSQL Backup

  2. Install Nginx

  3. Exit

  • Exits the script

screenshot

Testing

Tested and working on:

Debian Ubuntu CentOS Fedora Arch PureOS
  • Tested extensively on Debian 9/10/11

    • Docker option tested and working
  • Tested on Ubuntu 16.04

    • Docker option tested, not working
  • Tested on Ubuntu 18.10

    • Docker option tested and working
  • Tested on CentOS 8

    • Docker option tested and working
  • Tested on Fedora 33

    • Docker option tested and working
  • On Bash on Debian on Windows (in Gnome-Boxes)

    • Systemd not working
    • Docker option not working
  • Tested on Linux Mint.

  • Tested on Arch Linux

    • Docker option tested and working

    If you get permission issues, set selinux to permissive. See how to here: How do I enable or disable SELinux ?

    SELinux will be set to permissive on Fedora 33 and CentOS 8

    Postgresql 11 will be installed by default in both Fedora and CentOS. (If not already installed) Postgresql will be default from repo on Fedora 33 and CentOS 8

Latest install log - version: 1.4.4

install log Debian 10

Changelog

See Changelog

Compatibility and Requirements

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

Credits

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].