{"id":13732442,"url":"https://github.com/tmiland/Invidious-Updater","last_synced_at":"2025-05-08T06:32:20.331Z","repository":{"id":36161967,"uuid":"169838485","full_name":"tmiland/invidious-updater","owner":"tmiland","description":"Automatic install and update script for Invidious","archived":false,"fork":false,"pushed_at":"2024-10-25T10:00:07.000Z","size":13501,"stargazers_count":239,"open_issues_count":0,"forks_count":38,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-10-30T04:49:11.787Z","etag":null,"topics":["arch","arch-linux","archlinux","auto-install","auto-update","bash","bash-script","centos","centos7","database-maintenance","debian","docker","docker-option","fedora","invidious","ubuntu","uninstall-invidious"],"latest_commit_sha":null,"homepage":"https://github.com/iv-org/invidious","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tmiland.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"tmiland","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://coindrop.to/tmiland"}},"created_at":"2019-02-09T06:21:43.000Z","updated_at":"2024-10-25T22:22:51.000Z","dependencies_parsed_at":"2024-10-01T04:00:50.622Z","dependency_job_id":"c22406a6-bf24-4976-8243-39cf0ca6664f","html_url":"https://github.com/tmiland/invidious-updater","commit_stats":null,"previous_names":[],"tags_count":51,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmiland%2Finvidious-updater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmiland%2Finvidious-updater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmiland%2Finvidious-updater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmiland%2Finvidious-updater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmiland","download_url":"https://codeload.github.com/tmiland/invidious-updater/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224708292,"owners_count":17356509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arch","arch-linux","archlinux","auto-install","auto-update","bash","bash-script","centos","centos7","database-maintenance","debian","docker","docker-option","fedora","invidious","ubuntu","uninstall-invidious"],"created_at":"2024-08-03T02:01:56.557Z","updated_at":"2024-11-14T23:32:27.880Z","avatar_url":"https://github.com/tmiland.png","language":"Shell","funding_links":["https://github.com/sponsors/tmiland","https://coindrop.to/tmiland"],"categories":["Shell"],"sub_categories":[],"readme":"# Invidious-Updater (And Installer)\n\n[![GitHub release](https://img.shields.io/github/release/tmiland/Invidious-Updater.svg?style=for-the-badge)](https://github.com/tmiland/Invidious-Updater/releases) [![licence](https://img.shields.io/github/license/tmiland/Invidious-Updater.svg?style=for-the-badge)](https://tmiland.github.io/invidious-updater/LICENSE) ![Bash](https://img.shields.io/badge/Language-SH-4EAA25.svg?style=for-the-badge)\n\n## Script to install and update [Invidious](https://github.com/iv-org/invidious)\n\n```bash\n1) Install Invidious           7) Uninstall Invidious\n2) Update Invidious            8) Set up PostgreSQL Backup\n3) Deploy with Docker          9) Install Nginx \n4) Add Swap Space             10) Install Inv sig helper\n5) Run Database Maintenance   11) Install YouTube tsg.\n6) Start, Stop or Restart     12) Exit\n```\n\n## Usage\n```bash\nUsage:  invidious_update.sh [options]\n\n  If called without arguments, installs Invidious.\n\n  --help                   |-h      Display this help and exit\n  --install-invidious      |-i      Install Invidious\n  --cron-update            |-c      Update Invidious with cron\n  --database-maintenance   |-m      Database Maintenance\n  --install-log            |-l      Activate logging\n  --install-inv-sig-helper |-iish   Install Inv-sig-helper\n  --install-ytsg           |-iytsg  Install YouTube trusted session generator\n  --ytsg-docker            |-uytsgd Update YouTube ts tokens for Docker\n```\n### Installation\nTo install Invidious:\n***Note: you will be prompted to enter root password***\n\nIf root password is not set, type:\n\n```bash\nsudo passwd root\n```\nLog in as root\n```bash\nsu root\n```\n- Latest release\n  ```bash\n  curl -sSL https://github.com/tmiland/Invidious-Updater/releases/latest/download/invidious_update.sh \u003e invidious_update.sh \u0026\u0026 \\\n  chmod +x invidious_update.sh \u0026\u0026 \\\n  ./invidious_update.sh -i\n  ```\n- Master\n  ```bash\n  curl -sSL https://tmiland.github.io/invidious-updater/invidious_update.sh \u003e invidious_update.sh \u0026\u0026 \\\n  chmod +x invidious_update.sh \u0026\u0026 \\\n  ./invidious_update.sh -i\n  ```\n\n[Invidious-Installer](https://github.com/tmiland/invidious-installer) is sourced in the install option.\n\nTo install this script:\nSee [Install.md](./INSTALL.md)\n\n![invidious_update](https://tmiland.github.io/invidious-updater/img/invidious_update.gif)\n\n### Tested on\n\n| Debian | Ubuntu |\n| ------ | ------ |\n| [\u003cimg src=\"https://tmiland.github.io/invidious-updater/img/Debian_12.png\" height=\"140\" width=\"280\"\u003e](https://tmiland.github.io/invidious-updater/img/Debian_12.png) | [\u003cimg src=\"https://tmiland.github.io/invidious-updater/img/Ubuntu_24.png\" height=\"140\" width=\"280\"\u003e](https://tmiland.github.io/invidious-updater/img/Ubuntu_24.png) \n\n| CentOS | Fedora |\n| ------ | ------ |\n| [\u003cimg src=\"https://tmiland.github.io/invidious-updater/img/CentOS.png\" height=\"140\" width=\"280\"\u003e](https://tmiland.github.io/invidious-updater/img/CentOS.png) | [\u003cimg src=\"https://tmiland.github.io/invidious-updater/img/Fedora_40.png\" height=\"140\" width=\"280\"\u003e](https://tmiland.github.io/invidious-updater/img/Fedora_40.png)\n\n| Arch | PureOS |\n| ------ | ------ |\n| [\u003cimg src=\"https://tmiland.github.io/invidious-updater/img/Arch.png\" height=\"140\" width=\"280\"\u003e](https://tmiland.github.io/invidious-updater/img/Arch.png) | [\u003cimg src=\"https://tmiland.github.io/invidious-updater/img/PureOS.png\" height=\"140\" width=\"280\"\u003e](https://tmiland.github.io/invidious-updater/img/PureOS.png)\n\n| Linux Mint |\n| ------ |\n| [\u003cimg src=\"https://tmiland.github.io/invidious-updater/img/Mint_22.png\" height=\"140\" width=\"280\"\u003e](https://tmiland.github.io/invidious-updater/img/Mint_22.png)\n\n## Recommendation\n\n***It is recommended to use this script on a fresh installation to avoid unwanted complications.***\n  * I recommend a Debian 12 Droplet on [DigitalOcean](https://m.do.co/c/f1f2b475fca0)\n\n## Testing\n\nTested and working on:\n\n| Debian | Ubuntu | CentOS | Fedora | Arch | PureOS |\n| ------ | ------ | ------ | ------ | ------ | ------ |\n| [\u003cimg src=\"https://tmiland.github.io/invidious-updater/img/os_icons/debian.svg?sanitize=true\" height=\"128\" width=\"128\"\u003e](https://tmiland.github.io/invidious-updater/img/os_icons/debian.svg?sanitize=true) | [\u003cimg src=\"https://tmiland.github.io/invidious-updater/img/os_icons/ubuntu.svg?sanitize=true\" height=\"128\" width=\"128\"\u003e](https://tmiland.github.io/invidious-updater/img/os_icons/ubuntu.svg?sanitize=true) | [\u003cimg src=\"https://tmiland.github.io/invidious-updater/img/os_icons/cent-os.svg?sanitize=true\" height=\"128\" width=\"128\"\u003e](https://tmiland.github.io/invidious-updater/img/os_icons/cent-os.svg?sanitize=true) | [\u003cimg src=\"https://tmiland.github.io/invidious-updater/img/os_icons/fedora.svg?sanitize=true\" height=\"128\" width=\"128\"\u003e](https://tmiland.github.io/invidious-updater/img/os_icons/fedora.svg?sanitize=true) | [\u003cimg src=\"https://tmiland.github.io/invidious-updater/img/os_icons/arch.svg?sanitize=true\" height=\"128\" width=\"128\"\u003e](https://tmiland.github.io/invidious-updater/img/os_icons/arch.svg?sanitize=true) | [\u003cimg src=\"https://tmiland.github.io/invidious-updater/img/os_icons/pureos.svg?sanitize=true\" height=\"128\" width=\"128\"\u003e](https://tmiland.github.io/invidious-updater/img/os_icons/pureos.svg?sanitize=true)\n\n- [X] Tested extensively on Debian 9/10/11/12\n  - [X] Docker option tested and working\n- [X] Tested on Ubuntu 16.04/18.10/24\n  - [X] Docker option tested, not working\n- [X] Tested on CentOS 8\n  - [ ] Docker option tested and working\n- [X] Tested on Fedora 40\n  - [X] Docker option tested and working\n- [X] On Bash on Debian on Windows (in Gnome-Boxes)\n  - [X] Systemd not working\n  - [X] Docker option not working\n- [X] Tested on Linux Mint 22\n  - [X] Docker option tested and working\n  - See [#15](https://github.com/tmiland/Invidious-Updater/issues/15)\n- [X] Tested on Arch Linux\n  - [X] Docker option tested and working\n  \n  ~~If you get permission issues, set selinux to permissive. \n  See how to here: [How do I enable or disable SELinux ?](https://fedoraproject.org/wiki/SELinux_FAQ#How_do_I_enable_or_disable_SELinux_.3F)~~\n  #### SELinux will be set to permissive on Fedora and CentOS\n\n  ~~***Postgresql 11 will be installed by default in both Fedora and CentOS. (If not already installed)***~~\n  Postgresql will be default from repo on Fedora and CentOS\n  \n#### Latest install log - version: 1.4.4\n\n[install log Debian 10](https://tmiland.github.io/invidious-updater/log/install_log_debian.log)\n\n## Changelog\n\nSee [Changelog](https://tmiland.github.io/invidious-updater/CHANGELOG.md)\n\n## Compatibility and Requirements\n\n- Debian 8 and later\n- Ubuntu 16.04 and later\n- Linux Mint 22\n- PureOS (Not tested)\n- CentOS 8\n- Fedora 40\n  - Docker support\n    - [OS requirements](https://docs.docker.com/install/linux/docker-ce/fedora/)\n- Arch Linux\n\n## Credits\n- Code is mixed and customized from these sources:\n  - [Invidious](https://github.com/omarroth/invidious#linux)\n  - [inv_sig_helper](https://github.com/iv-org/inv_sig_helper)\n  - [YouTube trusted session generator](https://github.com/iv-org/youtube-trusted-session-generator)\n  - [nginx-autoinstall](https://github.com/angristan/nginx-autoinstall)\n  - [Git-Repo-Update](https://github.com/KillianKemps/Git-Repo-Update)\n  - [ghacks user.js updater.sh](https://github.com/ghacksuserjs/ghacks-user.js/blob/master/updater.sh)\n  - Plus many more.\n\n## Feature request and bug reports\n- [Bug report](https://github.com/tmiland/Invidious-Updater/issues/new?assignees=tmiland\u0026labels=bug\u0026template=bug_report.md\u0026title=Bug-report:)\n- [Feature request](https://github.com/tmiland/Invidious-Updater/issues/new?assignees=tmiland\u0026labels=enhancement\u0026template=feature_request.md\u0026title=Feature-request:)\n- [IRC Freenode: #InvidiousUpdater](irc://freenode.net/#InvidiousUpdater)\n\n## Donations\n\u003ca href=\"https://coindrop.to/tmiland\" target=\"_blank\"\u003e\u003cimg src=\"https://coindrop.to/embed-button.png\" style=\"border-radius: 10px; height: 57px !important;width: 229px !important;\" alt=\"Coindrop.to me\"\u003e\u003c/img\u003e\u003c/a\u003e\n\n## Web Hosting\n\nSign up for web hosting using this link, and receive $200 in credit over 60 days.\n\n\u003ca href=\"https://www.digitalocean.com/?refcode=f1f2b475fca0\u0026amp;utm_campaign=Referral_Invite\u0026amp;utm_medium=Referral_Program\u0026amp;utm_source=badge\"\u003e\u003cimg src=\"https://web-platforms.sfo2.digitaloceanspaces.com/WWW/Badge%203.svg\" alt=\"DigitalOcean Referral Badge\"\u003e\u003c/a\u003e\n\n#### Disclaimer \n\n*** ***Use at own risk*** ***\n\n### License\n\n[![MIT License Image](https://upload.wikimedia.org/wikipedia/commons/thumb/0/0c/MIT_logo.svg/220px-MIT_logo.svg.png)](https://tmiland.github.io/invidious-updater/LICENSE)\n\n[MIT License](https://tmiland.github.io/invidious-updater/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmiland%2FInvidious-Updater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmiland%2FInvidious-Updater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmiland%2FInvidious-Updater/lists"}