Merge branch 'falkheiland-app/pinchflat'

This commit is contained in:
Nicolas Meienberger 2024-05-07 20:50:08 +02:00
commit f91fd659e8
4 changed files with 82 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{
"$schema": "../schema.json",
"name": "Pinchflat",
"port": 8945,
"available": true,
"exposable": true,
"id": "pinchflat",
"tipi_version": 1,
"version": "v0.1.14",
"categories": ["media"],
"description": "Your next YouTube media manager",
"short_desc": "Your next YouTube media manager",
"author": "Kieran Eglin",
"source": "https://github.com/kieraneglin/pinchflat",
"form_fields": [
{
"type": "string",
"hint": "if not set, no basic auth is used",
"label": "Basic Auth Username",
"placeholder": "admin",
"max": 50,
"min": 3,
"required": false,
"env_variable": "PINCHFLAT_BASIC_AUTH_USERNAME"
},
{
"type": "password",
"hint": "if not set, no basic auth is used",
"placeholder": "password1234",
"label": "Basic Auth Password",
"required": false,
"env_variable": "PINCHFLAT_BASIC_AUTH_PASSWORD"
}
],
"supported_architectures": ["arm64", "amd64"]
}

View File

@ -0,0 +1,41 @@
services:
pinchflat:
image: keglin/pinchflat:v0.1.14
container_name: pinchflat
environment:
- BASIC_AUTH_USERNAME=${PINCHFLAT_BASIC_AUTH_USERNAME}
- BASIC_AUTH_PASSWORD=${PINCHFLAT_BASIC_AUTH_PASSWORD}
restart: unless-stopped
ports:
- ${APP_PORT}:8945
volumes:
- /etc/localtime:/etc/localtime:ro
- ${APP_DATA_DIR}/data/config:/config
- ${APP_DATA_DIR}/data/downloads:/downloads
networks:
- tipi_main_network
labels:
# Main
traefik.enable: true
traefik.http.middlewares.pinchflat-web-redirect.redirectscheme.scheme: https
traefik.http.services.pinchflat.loadbalancer.server.port: 8945
# Web
traefik.http.routers.pinchflat-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.pinchflat-insecure.entrypoints: web
traefik.http.routers.pinchflat-insecure.service: pinchflat
traefik.http.routers.pinchflat-insecure.middlewares: pinchflat-web-redirect
# Websecure
traefik.http.routers.pinchflat.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.pinchflat.entrypoints: websecure
traefik.http.routers.pinchflat.service: pinchflat
traefik.http.routers.pinchflat.tls.certresolver: myresolver
# Local domain
traefik.http.routers.pinchflat-local-insecure.rule: Host(`pinchflat.${LOCAL_DOMAIN}`)
traefik.http.routers.pinchflat-local-insecure.entrypoints: web
traefik.http.routers.pinchflat-local-insecure.service: pinchflat
traefik.http.routers.pinchflat-local-insecure.middlewares: pinchflat-web-redirect
# Local domain secure
traefik.http.routers.pinchflat-local.rule: Host(`pinchflat.${LOCAL_DOMAIN}`)
traefik.http.routers.pinchflat-local.entrypoints: websecure
traefik.http.routers.pinchflat-local.service: pinchflat
traefik.http.routers.pinchflat-local.tls: true

View File

@ -0,0 +1,5 @@
# Pinchflat
Your next YouTube media manager
Pinchflat is a self-hosted app for downloading YouTube content built using yt-dlp. It's designed to be lightweight, self-contained, and easy to use. You set up rules for how to download content from YouTube channels or playlists and it'll do the rest, checking periodically for new content. It's perfect for people who want to download content for use in with a media center app (Plex, Jellyfin, Kodi) or for those who want to archive media!

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB