From 3ebc20eef2caaf63d31810c5b9739fda28c871d0 Mon Sep 17 00:00:00 2001 From: Tomasz Borychowski Date: Sun, 10 Jan 2021 22:52:15 +0000 Subject: [PATCH] invidious --- README.md | 12 +++++++ apps/media/invidious.md | 70 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 apps/media/invidious.md diff --git a/README.md b/README.md index 66d6276..5b032e3 100644 --- a/README.md +++ b/README.md @@ -32,9 +32,11 @@ So, without further ado, here's the current list: - [PiHole](apps/ad-blockers/pihole.md) - [Block Lists](apps/ad-blockers/lists.md) + # Antivirus - [MalwareMultiScan](https://github.com/mindcollapse/MalwareMultiScan) 🔗 + # Backup - [Duplicati](apps/backup/duplicati.md) - [Elkar Backup](apps/backup/elkar-backup.md) @@ -53,12 +55,14 @@ So, without further ado, here's the current list: - [Textpattern](https://docs.textpattern.com/installation/) 🔗 - [WriteFreely](https://github.com/writeas/writefreely) 🔗 + # Bookmarks & Read Later - [Shaarli](apps/bookmarks/shaarli.md) - [Shiori](apps/bookmarks/shiori.md) - [Shaark](apps/bookmarks/shaark.md) - [Wallabag](apps/bookmarks/wallabag.md) + ### Other - [Nunux Keeper](https://keeper.nunux.org/) 🔗 - similar to wallabag, but not as good (more complicated, less usable and doesn't have mobile apps). @@ -74,6 +78,7 @@ So, without further ado, here's the current list: - [NextCloud Cookbook](https://apps.nextcloud.com/apps/cookbook) 🔗 - quite good. Can import from URL (some pages), but manually editing longer recipes is a bit of a pain (you need to add and paste every single ingredient & preparation step one-by-one). - [recipes](https://github.com/vabene1111/recipes) 🔗 - a bit complex, but feature rich food processing manager for your home (from shopping to the table). Importing doesn't seem to work as good as in the NextCloud's Cookbook (for some pages at least). + # Dashboard - [DashMachine](apps/dashboard/dashmachine.md) - [Homer](apps/dashboard/homer.md) @@ -81,15 +86,18 @@ So, without further ado, here's the current list: - [Organizr](https://github.com/causefx/Organizr) 🔗 - [Heimdall](https://github.com/linuxserver/Heimdall) 🔗 + # Docker Managers - [Diun](apps/docker/diun.md) - [WatchTower](apps/docker/watch-tower.md) + # Download Managers - [Deluge](apps/downloads/deluge.md) - [qbittorrent](apps/downloads/qbit.md) - [Transmission](apps/downloads/transmission.md) + # E-mail - CLIENTS (webmail) - [Roundcube](apps/email/roundcube.md) @@ -128,6 +136,7 @@ So, without further ado, here's the current list: - [DNS Records checker](https://www.digwebinterface.com/) 🔗 - [Domain security checker](https://www.hardenize.com/) 🔗 + # GIT - [Gitea](https://docs.gitea.io/en-us/install-with-docker/) 🔗 - [GitLab](https://about.gitlab.com/) 🔗 @@ -147,6 +156,7 @@ So, without further ado, here's the current list: - [Bazarr (subtitles)](apps/media/bazarr.md) - [Calibre (e-books)](apps/media/calibre.md) - [Deemix](apps/media/deemix.md) +- [Invidious](apps/media/invidious.md) - [Jackett (search engine proxy/adapter)](apps/media/jackett.md) - [Komga (comics)](apps/media/komga.md) - [Navidrome](apps/media/navidrome.md) @@ -199,12 +209,14 @@ So, without further ado, here's the current list: - [pushover](https://pushover.net/) 🔗 - [unifi event monitor](https://github.com/tborychowski/unifi-event-monitor) 🔗 + # Other services - [bitwarden_rs](apps/other/bitwarden.md) - [Cockpit](apps/other/cockpit.md) - [Code server](apps/other/code.md) - [Firefox sync server](apps/other/firefox-sync.md) + # Photos - [Comparison table](apps/photos/comparison.md) - [PhotoPrism](apps/photos/photoprism.md) diff --git a/apps/media/invidious.md b/apps/media/invidious.md new file mode 100644 index 0000000..d86268b --- /dev/null +++ b/apps/media/invidious.md @@ -0,0 +1,70 @@ +# Invidious + +Invidious is an alternative front-end to YouTube. + +
+ +- [Github repo](https://github.com/iv-org/invidious) + +## Prerequisites +It requires some folders & files from the github repo, so easiest way is to clone the repo: +```sh +git clone https://github.com/iv-org/invidious.git +cd invidious/ +``` +and remove what's not needed: +```sh +rm -r .git/ .github/ assets/ kubernetes/ locales/ screenshots/ spec/ src/ +rm .editorconfig .gitignore CHANGELOG.md invidious.service LICENSE README.md shard.lock shard.yml TRANSLATION +rm docker-compose.yml # removing this as we're gonna simplify it and let it use the prebuilt image from docker hub +``` + + +## docker-compose.yml +```yml +version: '3' +services: + postgres: + image: postgres:10 + restart: unless-stopped + volumes: + - ./config/sql:/config/sql + - ./docker/init-invidious-db.sh:/docker-entrypoint-initdb.d/init-invidious-db.sh + - ./db:/var/lib/postgresql/data + environment: + POSTGRES_DB: invidious + POSTGRES_PASSWORD: kemal + POSTGRES_USER: kemal + healthcheck: + test: ["CMD", "pg_isready", "-U", "postgres"] + invidious: + image: omarroth/invidious + restart: unless-stopped + depends_on: + - postgres + ports: + - "3000:3000" + environment: + INVIDIOUS_CONFIG: | + channel_threads: 1 + check_tables: true + feed_threads: 1 + db: + user: kemal + password: kemal + host: postgres + port: 5432 + dbname: invidious + full_refresh: false + https_only: false + domain: +``` + + +## Tips & Tricks + +#### Remove the footer +After starting the container run: +```sh +docker-compose exec -u root invidious sh -c "echo \".footer{display:none;}\" >> /invidious/assets/css/default.css" +```