From ec4dc71d02448b438a527acfb5cea2295ae03834 Mon Sep 17 00:00:00 2001 From: James Blair Date: Wed, 11 Jan 2023 16:32:00 +1300 Subject: [PATCH] Start writing documentation for invidious helm chart. --- invidious/README.org | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 invidious/README.org diff --git a/invidious/README.org b/invidious/README.org new file mode 100644 index 0000000..0ca0976 --- /dev/null +++ b/invidious/README.org @@ -0,0 +1,43 @@ +#+TITLE: Invidious video frontend +#+AUTHOR: James Blair +#+EMAIL: mail@jamesblair.net +#+DATE: <2023-01-11 Wed 16:30> + +[[https://github.com/iv-org/invidious][Invidious] is an open source alternative front-end to YouTube. + +*Key features* + +- Lightweight +- No ads +- No tracking +- No JavaScript required +- Light/Dark themes +- Customizable homepage +- Subscriptions independent from Google +- Notifications for all subscribed channels +- Audio-only mode (with background play on mobile) + +I created this simplified helm chart for self-hosting invidious in a container on ~k3s~ based on the excellent upstream [[https://github.com/iv-org/invidious/tree/master/kubernetes][official helm chart]]. Complete the steps below to deploy this chart. + +#+NAME: Deploy invidious via helm +#+begin_src tmate +# Ensure invidious namespace exists +sudo kubectl create namespace jamma-invidious + +# Create directories if they don't already exist +mkdir --parent "/home/${USER}/Services/invidious" + +# Clone charts repository +cd "/home/${USER}/Services/invidious" && git clone https://invidious.jamma.life/jmhbnz/charts.git + +# Ensure the repository is up to date +cd charts/invidious && git pull + +# Install the chart +helm upgrade --install -n jamma-invidious jamma-invidious . \ + --set "ingress.hosts[0].host=invidious.jamma.dev" \ + --set "ingress.hosts[0].paths[0].path=/" \ + --set "ingress.hosts[0].paths[0].pathType=Prefix" \ + --set "ingress.tls[0].hosts[0]=invidious.jamma.dev" \ + --set "ingress.tls[0].secretName=tls-jamma-invidious" +#+end_src