From 9eabb433dd800b74b17b789c8acf489bf0e0e118 Mon Sep 17 00:00:00 2001 From: Luke Dunsmore Date: Thu, 29 Jan 2026 19:35:47 +0000 Subject: [PATCH 1/3] feat: add MediaFetch template --- blueprints/mediafetch/docker-compose.yml | 18 ++++++++++++++++++ blueprints/mediafetch/mediafetch.svg | 1 + blueprints/mediafetch/template.toml | 15 +++++++++++++++ meta.json | 17 +++++++++++++++++ 4 files changed, 51 insertions(+) create mode 100644 blueprints/mediafetch/docker-compose.yml create mode 100644 blueprints/mediafetch/mediafetch.svg create mode 100644 blueprints/mediafetch/template.toml diff --git a/blueprints/mediafetch/docker-compose.yml b/blueprints/mediafetch/docker-compose.yml new file mode 100644 index 000000000..f0c690cd1 --- /dev/null +++ b/blueprints/mediafetch/docker-compose.yml @@ -0,0 +1,18 @@ +version: "3.8" +services: + mediafetch: + image: lukedunsmoto/mediafetch:latest + restart: unless-stopped + expose: + - "3002" + volumes: + - mediafetch_data:/data/downloads + environment: + - PORT=3002 + - BASIC_AUTH_USER=${BASIC_AUTH_USER} + - BASIC_AUTH_PASS=${BASIC_AUTH_PASS} + - PUBLIC_BASE_URL=https://${DOMAIN} + - OUTPUT_DIR=/data/downloads + +volumes: + mediafetch_data: \ No newline at end of file diff --git a/blueprints/mediafetch/mediafetch.svg b/blueprints/mediafetch/mediafetch.svg new file mode 100644 index 000000000..e11cedb76 --- /dev/null +++ b/blueprints/mediafetch/mediafetch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/blueprints/mediafetch/template.toml b/blueprints/mediafetch/template.toml new file mode 100644 index 000000000..83644de3d --- /dev/null +++ b/blueprints/mediafetch/template.toml @@ -0,0 +1,15 @@ +[variables] +BASIC_AUTH_USER = "admin" +BASIC_AUTH_PASS = "${password:12}" # Generates a random 12-char password + +[config] +[[config.domains]] +name = "Domain" +variable = "DOMAIN" +service = "mediafetch" +port = 3002 + +[[config.mounts]] +name = "Downloads" +content = "/data/downloads" +service = "mediafetch" \ No newline at end of file diff --git a/meta.json b/meta.json index 7e59e5a01..39ee1c001 100644 --- a/meta.json +++ b/meta.json @@ -3894,6 +3894,23 @@ "self-hosted" ] }, + { + "id": "mediafetch", + "name": "MediaFetch", + "version": "1.1.1", + "description": "A tiny, self-hosted web wrapper for yt-dlp to download video and audio. Optional basic auth.", + "logo": "mediafetch.svg", + "links": { + "github": "https://github.com/lukedunsmoto/mediafetch", + "website": "https://www.lukedunsmore.com/mediafetch", + "docs": "https://docs.lukedunsmore.com/docs/self-hosted/mediafetch/" + }, + "tags": [ + "utilities", + "media", + "downloader" + ] + }, { "id": "meilisearch", "name": "Meilisearch", From 1565665668d5678528d59f5eee615d8f42b0d935 Mon Sep 17 00:00:00 2001 From: Luke Dunsmore Date: Thu, 29 Jan 2026 20:45:44 +0000 Subject: [PATCH 2/3] Corrected .toml --- blueprints/mediafetch/template.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/blueprints/mediafetch/template.toml b/blueprints/mediafetch/template.toml index 83644de3d..0dc2e1ca9 100644 --- a/blueprints/mediafetch/template.toml +++ b/blueprints/mediafetch/template.toml @@ -1,15 +1,15 @@ [variables] BASIC_AUTH_USER = "admin" -BASIC_AUTH_PASS = "${password:12}" # Generates a random 12-char password +BASIC_AUTH_PASS = "${password:12}" [config] [[config.domains]] name = "Domain" variable = "DOMAIN" -service = "mediafetch" +serviceName = "mediafetch" port = 3002 [[config.mounts]] name = "Downloads" -content = "/data/downloads" -service = "mediafetch" \ No newline at end of file +filePath = "/data/downloads" +serviceName = "mediafetch" \ No newline at end of file From 44fd23cebf30da16c0c9464496ebdf5eeeda7c52 Mon Sep 17 00:00:00 2001 From: Luke Dunsmore Date: Thu, 29 Jan 2026 20:47:24 +0000 Subject: [PATCH 3/3] .toml --- blueprints/mediafetch/template.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blueprints/mediafetch/template.toml b/blueprints/mediafetch/template.toml index 0dc2e1ca9..07672d4ec 100644 --- a/blueprints/mediafetch/template.toml +++ b/blueprints/mediafetch/template.toml @@ -12,4 +12,4 @@ port = 3002 [[config.mounts]] name = "Downloads" filePath = "/data/downloads" -serviceName = "mediafetch" \ No newline at end of file +content = "mediafetch" \ No newline at end of file