Files
adscrub/docker-entrypoint.sh
flan 06dc4ac256 Scaffold adscrub: feed ingest + chapter-based ad detection (M0/M1, v0.1.0)
Podcast ad-removal proxy: fetch feed -> find ad spans -> cut -> re-host
clean feed, so AntennaPod (or any player) needs zero changes. M0 ingest
and M1 chapter-marker detection are working; transcribe/detect/cut/serve
(Whisper transcription, LLM ad-span classification, ffmpeg cutting, feed
re-hosting) are stubbed with clear milestones in docs/PLAN.md.

Shaped to match hark's conventions (uv/src layout, SQLite, CLI) since this
is a candidate for later merging into hark as a module.
2026-07-10 23:18:52 +00:00

10 lines
374 B
Bash

#!/bin/sh
# Runs as root just long enough to fix ownership of the mounted /app/data
# (Docker creates bind mounts and anonymous volumes as root, which the
# unprivileged `adscrub` user can't write to), then execs into that user for
# everything else. No application code ever runs as root.
set -e
mkdir -p /app/data
chown -R adscrub:adscrub /app/data
exec gosu adscrub "$@"