User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
selfhost:podfetch [2024/01/25 14:49] willyselfhost:podfetch [2024/02/22 13:35] (current) – removed willy
Line 1: Line 1:
-====== PodFetch ====== 
  
-[[https://github.com/SamTV12345/PodFetch|PodFetch]] is a web app that let's you download and play podcasts. 
- 
-It needs PostgreSQL, even if it doesnt use it, so: 
-<code bash> 
- > emerge postgresql 
-</code> 
- 
-you don't need to run it. 
- 
-Create user: 
-<code bash> 
- > useradd -d /data/daemons/podfetch -m -g media podfetch 
- > su - podfetch 
- > wget https://github.com/SamTV12345/PodFetch/releases/download/<use latest release>/podfetch-linux.zip 
- > unzip podfetch-linux.zip 
-</code> 
- 
-Move podcast folder, as root: 
-<code bash> 
- > mkdir /data/Media/Podcasts  
- > rmdir /data/daemons/podfetch/podcasts 
- > ln -s /data/Media/Podcasts /data/daemons/podfetch/podcasts 
-</code> 
- 
-Run script: 
-<file txt podfetch.sh> 
-#!/bin/bash 
- 
-export SERVER_URL=https://casa.gardiol.org/podfetch/ 
- 
-export DATABASE_URL=sqlite:///data/daemons/podfetch/db/podcast.db 
- 
-export REVERSE_PROXY=true 
-export REVERSE_PROXY_HEADER=X-WEBAUTH-USER 
-export REVERSE_PROXY_AUTO_SIGN_UP=true 
- 
-export TELEGRAM_BOT_TOKEN= 
-export TELEGRAM_BOT_CHAT_ID= 
-export TELEGRAM_API_ENABLED=false 
- 
-#export GPODDER_INTEGRATION_ENABLED=false 
- 
-cd /data/daemons/podfetch 
-./podfetch_amd64 &> podfetch.log 
- 
-</file> 
- 
-startup script **/etc/local.d/35-podfetch.start**: 
-<file txt 35-podfetch.start> 
-#!/bin/bash 
- 
-start-stop-daemon -b -m -p /var/run/podfetch.pid -n podfetch -u podfetch /data/daemons/podfetch/podfetch.sh 
-</file> 

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information