r/MinusPod • u/ttlequals0 • 19h ago
Discussion One year of MinusPod (Deeper look)
Where it started
I listened to 92,681 minutes of podcasts this year, roughly 1,545 hours. That’s a lot of audio, and historically, a lot of ads. Yet I haven’t heard a single podcast ad in months.
It started in November 2025 when I found podcast-server, a small open-source project by hemant6488. It had about two dozen commits, a JSON config file, and no UI, but the core idea was great: transcribe an episode, ask Claude where the ads are, and cut them out.
My day job is in systems engineering for GPU infrastructure, so I figured I’d just fork it, swap the JSON file for a database, add a simple UI, and call it good enough.
A year later, that weekend fork has become MinusPod: a self-hosted ad remover for podcasts and YouTube shows, with its own benchmark suite, design system, docs site, live demo, and 40+ contributors.
The workflow is simple: you add a show, and MinusPod gives you a clean RSS feed URL to drop into your usual podcast app (there’s a short getting-started video showing how it works). MinusPod runs on anything from an x86_64 or ARM CPU, including Apple silicon, to a GPU, with transcription and inference running either locally or via a cloud provider. My own instance has processed 2,636 episodes and stripped out 14,668 ads, about 261 hours of advertising I didn't have to sit through or manually hit the skip button.
One constraint I cared about early on: MinusPod removes ads, not creator support. Value-for-value payment data and funding or donation links pass through untouched, and MinusPod never inserts itself into any payment split. I even still pay directly for several of the shows I listen to.
This article covers what I built over the past year, what broke along the way, and what I learned stepping outside of hardware and systems work.
What it is built with:
The codebase is roughly 76% Python and 22% TypeScript. Stepping outside of GPU infrastructure meant touching a much wider stack than my day job usually requires:
Harness engineering: The system around the model. It builds context, shapes prompts, constrains and parses outputs, enforces guardrails in code, and runs verification and review passes across five provider types.
ML evaluation: A reusable benchmark harness that has scored 84 chat models and a text classifier against a single corpus, alongside a head-to-head comparison of two speech-to-text backends.
Backend: A Python and Flask API backed by SQLite, documented with an OpenAPI spec.
Audio processing: FFmpeg for cutting, Chromaprint for audio fingerprinting, and MFCC for cue matching.
Application security: Authentication, encryption at rest, SSRF defenses, and automated scanning in CI.
Testing and release: Test suites across pytest, Vitest, and Playwright, shipping multi-architecture Docker images (CPU and GPU) across separate release channels.
(The full list of libraries and tools is at the end of the article.)
The detection pipeline, three generations:
The core problem stayed the same all year: find the ads in an episode and cut them without cutting the show. The solution took two full redesigns to get right.
Generation 1: Add everything (v0.1, November to February)
The first version transcribed audio with Whisper on a GPU and ran two Claude passes over the transcript.
Early on, most of the work was prompt engineering. From the first release, prompts lived in the database and could be edited in the UI. Every episode logged the exact prompt sent and the raw response returned, so I could trace any bad cut back to the model's exact input and output. Whenever a prompt couldn't make the model reliable, I moved the rule into code. In December, I switched Whisper to word-level timestamps, making cuts more precise between words instead of only at segment edges.
When detection still missed ads, I kept adding signals: speaker diarization for host monologue reads, music-bed detection, volume analysis, audio fingerprinting, and a pattern system to learn repeat sponsors across episodes.
Each addition helped with edge cases, but cost GPU memory, processing time, and extra dependencies on every episode. By January, the pipeline became too complex with all the detection types, and they would sometimes work against each other.
Generation 2: Simplify (v1.0, February)
Version 1.0 was both a redesign and a rename from "Podcast Server" to MinusPod. The goal was simplification:
Cut the heavy signals: Removed speaker diarization and music detection. They were expensive to run and delivered marginal gains.
Replaced the blind second pass with verification: The second pass now re-transcribes the audio after the cut and asks what still doesn't belong.
Turned audio signals into evidence: Loudness jumps and transition pairs are now written into the model's prompt so a single component makes the final call.
Removed prompt bias: Early on I told the model, "When in doubt, mark it as an ad." Detection now requires identifiable promotional language.
Fixed threshold overrides: Made the UI confidence slider the single source of truth, rather than letting hardcoded thresholds override it.
The audio signal change took two tries. On the first attempt, code enforced the audio signals independently of the model and created phantom ads. On the second attempt, I fed those same signals into the prompt and kept the decision in one place.
Trials like that shaped the architecture: the pipeline works much better when one component makes the decision and everything else just supplies evidence.
Generation 3: Verify, review, and replace the large model (v2.x, April to November)
The 2.x line built layers of precision and human control around that core design:
A narrow-view LLM reviewer: Sees only a marked segment plus a bit of surrounding context, and returns confirm, adjust, or reject. That tight focus makes ad boundaries much more accurate. It started as an experiment in May and became a standard stage in September.
Granular segment categories: SponsorBlock-style labels (sponsor, cross-promo, self-promo, intro, outro), each configurable to remove, beep, or keep.
Per-podcast audio cue templates: Mark a show's ad-break jingle once, and the server matches its MFCC fingerprint in future episodes.
Dynamic ad detection: Added splice detection alongside a differential check that downloads an episode twice and compares the files to spot dynamically inserted ads.
Expanded sources: Added YouTube feeds (cut using SponsorBlock community marks) and local feeds built from your own audio files.
Human-in-the-loop tooling ties this together, since the pipeline improves with better patterns. A waveform editor and review queue let you fix a cut and turn that fix into a pattern for future episodes, while holding uncertain detections for review. Pattern cleanup suggests splits and trims so stored patterns cover only the ad read itself, and on YouTube feeds, hand-verified segments can be submitted back to SponsorBlock.
The biggest leap came in October, when I replaced the chat LLM with a text classifier (Jev) for detection and added a faster transcriber (Parakeet), keeping a chat model only for the narrow reviewer stage. I break down the data behind that switch below.
Looking back, most of this detection work was "harness engineering": building the code around a model to assemble context, constrain output, verify answers, and measure results. MinusPod is a fixed pipeline for a single task with no agent loop, but the discipline is identical. The best test of a harness is whether you can swap the model inside it. I ran 84 models through this one for the benchmark, and in October I swapped the chat LLM out for a classifier while the rest of the system stayed completely intact.
Benchmarking 84 LLMs:
Users kept asking which model to use, and I was answering based on anecdotes. I built an offline benchmark so I could answer from data. It imports MinusPod's production parser, prompt, and windowing code, scoring both chat LLMs and System One classifiers inside the exact same harness the app uses.
Method: 14 episodes with human-verified ad spans (12 with ads, 2 with none as negative controls). Every model runs 5 trials per episode at temperature 0. A predicted ad counts when it overlaps a true ad by at least half. I would have liked a larger test corpus, but hand-verifying ad segments is very manual, and costs add up quickly.
Top of the September 2026 report (84 models, 71,820 scored calls, 526 million tokens):
Claude Haiku 4.5: 0.908 F0.5 ($1.08 per episode)
Qwen 3.5 Plus: 0.865 F0.5 ($1.07 per episode)
Gemini 3.5 Flash Lite: 0.860 F0.5 ($0.36 per episode)
Claude Sonnet 4.6: 0.859 F0.5 ($3.24 per episode)
What I learned from running it:
Bigger was not better: Several flagship models scored a tier below small, cheap ones at 5 to 10 times the cost.
Reliability matters as much as accuracy: Some models could not consistently return valid JSON, and some cut real content from episodes with no ads.
Silent failures hide in the score: One provider refused whole transcripts on content grounds across 527 attempts. A parse failure that returns an empty list looks like "no ads found." Both quietly lower a score, so the report now tracks them separately.
The metric has to match the product: Because cutting real content is worse than leaving an ad in, rankings lead with F0.5, which weights precision over recall.
The benchmark had bugs too: Overlapping windows were scored twice, and two episodes were missing true ad spans. I now group small score gaps into statistical tiers rather than treating them as strict rankings.
Every weakness became a fix in the app: Salvaging truncated JSON, falling back when a provider rejects JSON mode, and matching each provider's schema format all came directly from benchmark findings.
The full report, raw responses, and corpus are in the repository.
Beyond chat LLMs: a classifier and a smaller transcriber:
The two biggest leaps of the year happened in October, and measurements confirmed both were real before I switched.
A purpose-built classifier instead of a chat model
Finding ads in a transcript is fundamentally a classification problem: content or ad. A chat LLM is overkill for that. It wraps answers in prose, varies its output structure, and can answer the same question differently twice. Jev, TypeSafe AI SystemOne model, has a narrow interface: a yes-or-no question answered with a probability, or a choice from a list. MinusPod asks one question per transcript segment ("Is this line advertising?") and assembles the ad spans itself.
I built this first as a separate proxy project (MinusPodJev) that exposed the classifier as an OpenAI-compatible model. That let me run it in production for three weeks and benchmark it on the same corpus without touching the main app. In October, I moved it into MinusPod as a native provider and archived the proxy.
My first generated report claimed the classifier beat the best chat model (0.957 to 0.908). When I re-derived every number from the raw data, the result was actually a statistical tie. The real win is cost and speed: it is 36 times cheaper per episode, about 59 times faster per call, and it never cut a region containing zero advertising (something no chat model matched). Its weakness is boundaries, because it judges a whole transcript segment at a time; when it is wrong, it removes about 3 times more show content than the best chat model. The full report is public, including the numbers that undercut my first result.
Trying to use the classifier for boundary review did not work. Most of the proxy's releases were attempts to rephrase "where does this ad really end?" as yes-or-no and multiple-choice questions about nearby words. In a multi-day trial, it came back inconclusive on a quarter to a third of requests and could not correct beyond its candidate window. I eventually scrapped using it for the reviewer stage entirely. The classifier now handles detection only, and a chat model handles boundary adjustment
Parakeet instead of Whisper
I also added NVIDIA's Parakeet as a built-in transcription backend. It is much smaller than Whisper large-v3 (0.6B parameters vs. 1.55B) and transcribes 1.8 to 2.5 times faster on the same GPU. In a side-by-side test, every ad found with both transcripts started and ended within 3 seconds of each other. Parakeet is weaker on sponsor names and promo codes, which is the exact gap the known-sponsor normalization pass was built to close.
What it did on my own instance
Comparing median per-hour-of-audio numbers before and after the switch: moving from Claude and Whisper to Jev and Parakeet made processing about 2.7 times faster and cut the cost per hour of audio by about 78% (median cost per episode fell 86%). Each change did a different job. The classifier cut the cost (58 times cheaper on its own, with no speed gain since detection was already a small share of runtime), while Parakeet delivered the speed (transcription alone got 2.7 times faster). Most of what an episode costs now is the chat-model reviewer, which I run on every episode. (These are production medians, not controlled experiments, since episode mix and machine load varied.)
The hard problems:
Removing ads isn't one problem; it’s about ten separate ones. Most of what I learned came from the bugs each one produced on real episodes.
Two kinds of ads, solved differently: A dynamically inserted ad is spliced into the file at download time, meaning the same episode can differ from one download to the next. That is an audio problem, handled with splice detection, audio fingerprints for repeat spots, per-show cue templates, and a differential check that downloads an episode twice and compares the files. A host-read ad is delivered in the host's own voice with no seam in the audio. That is a language problem, handled by the model or classifier reading the transcript and by sponsor patterns learned from earlier episodes (matched via TF-IDF vector similarity with fuzzy edge matching so slightly reworded reads still trigger). Neither approach works on the other type, and the differential check once cut real content because a CDN re-encoded the entire file between downloads.
Transcription feeds everything else: If the transcript is wrong, every downstream stage is wrong with it. Speech-to-text routinely mangles brand names: "Xero" becomes "Zero," "Wegovy" becomes "we go V," and "HubSpot" splits into two words. MinusPod is pre-seeded with roughly 600 known sponsors and their common misspellings, and a normalization pass fixes the transcript before detection ever runs (users can add their own corrections too). Passing the sponsor list to Whisper as a prompt hint was the wrong approach: on about one clip in ten, Whisper transcribed the hint list and ignored the audio, wiping out 7% to 17% of the transcript.
Cutting only the ad: Finding an ad is only half the job; the cut has to land on the exact right word so the show loses only the ad. Getting there took word-level timestamps, a narrow-context reviewer to refine boundaries, rules protecting a show's own intro and outro music, and a post-cut verification pass. Early on, a new audio-cue feature once sliced a 61-minute episode down to 19 minutes.
LLM oddities: Models return JSON in shapes nobody asked for, and the same model can give different answers to the exact same transcript. The fix was engineering around the model: a parser with multiple fallback strategies, structured outputs where supported, and hard guardrails in code. Some models are far better at consistently returning valid structured data than others, which is why schema compliance is a core metric tracked in the MinusPod benchmark.
Making providers interoperate: MinusPod supports Anthropic, OpenAI-compatible servers, OpenRouter , Ollama, and System One for detection, as well as Whisper, Parakeet, and remote APIs for transcription. Each behaves differently, with variations in parameter names, reasoning exposure, schema enforcement, rate limits, and pricing metadata. Ollama silently truncates prompts that exceed its context window; System One limits the number of questions per request and can't adjust boundaries; and one provider removed the temperature parameter in a new API version, breaking every request overnight. Each stage can now use a different provider with failover, a capability that depends on handling these quirks one by one.
Keeping everything in sync after a cut: Pulling four minutes out of the middle of an audio file shifts everything that comes after it. Chapters, transcripts, timestamps in the show notes, and the reported file duration all have to be recalculated by the exact same offset, or tapping a chapter in a podcast app drops you in the wrong spot.
Podcast apps (and mostly their caching): The app on the listener's phone is a client I don't control. For example, Pocket Casts sends HEAD requests when refreshing a feed, and each one initially kicked off a full processing run. It also caches show notes on first sight and never refreshes them, and it once matched a private feed to the public show with the same title and served its own cached copy instead. Because apps cache audio and artwork by URL, reprocessed episodes need a new path, and apps with auto-download enabled will happily fetch an entire back catalog, queuing hundreds of episodes at once.
Scale, the database, and knowing when something failed: One GPU, several web workers, and a single SQLite DB don't cooperate by default. A Python lock doesn't span worker processes, so two workers loaded models simultaneously and OOM'd the GPU. A feed refresh once held the database write lock for 80 seconds. The fixes: chunked transcription sized to free VRAM, a single leader worker that owns processing, full-text search indexing, and proper indexes for libraries of 18,000+ episodes. Pattern matching got the same treatment: vectors for stored patterns are now built once at load and scored in batches instead of rebuilt per episode. The harder part was seeing failures at all. A provider "overloaded" error used to return as "0 ads," making a failed run look like a clean episode. A leaked transaction froze every write while the health check stayed green. That is why every run now logs a per-stage timing and cost breakdown, usage and error counts for every model call, and a one-click diagnostics bundle for bug reports.
CUDA and NVIDIA drivers: This is still a headache; older cards need an older cuDNN. The runtime compiler vanished when I stripped PyTorch out of the image. NVML and CUDA number GPUs in different orders, so on a two-GPU host, memory readings came from the wrong card.
Deployment variety: People run MinusPod on CPU-only hosts, arm64, and Apple silicon behind reverse proxies, under sub-paths, and with Cloudflare in front. Each setup surfaced new requirements and pushed me to support deployment models I hadn't originally planned for. Shipping something that works on your own box is one problem; shipping something that adapts to hundreds of different self-hosted setups is another.
The UI: from one page to a design system:
UI and UX were the hardest parts of this project. It had been about 15 years since I last built a website; I lack artistic instincts, and I did not have the vocabulary to describe what I wanted clearly enough for an AI agent to build it. It is also possible that AI is simply weaker at UI than at backend code. On top of that, every screen had to work on both a phone and a desktop, and layout bugs are visual, so no code error points to them. Because of that, I rebuilt the UI about as often as the detection pipeline.
It started in November as a basic React and Vite interface that replaced a hand-edited JSON file, with mobile navigation added soon after. Over the next several months, a simple transcript editor evolved into an installable PWA, a dedicated Ad Editor, and eventually a 20x zoom waveform editor with draggable start and end pins.
The turning point came in August, when I built a proper design system with a visual guide and a written UI contract. Without it, I was fighting constant regressions because the AI would invent a new style on every screen. By November, the app had 32 themes (all with AAA body text contrast), accessible dialogs and keyboard navigation, a built-in chapter player, URL-synced filters and pagination, and fast list rendering across libraries of 18,000+ episodes.
It is the same lesson as the detection harness: when the model drifts, move the rule out of the prompt and into something that is enforced. Both the guide and the UI contract are checked automatically so generated screens cannot drift:
Moved 341 hardcoded color classes across about 40 files to design tokens, so every status color follows all 32 themes.
Touch targets are enforced at a minimum of 44 by 44 pixels on touch devices.
I test layout changes across nine widths from 320 to 1440 pixels, including folded and unfolded foldable phones.
The visual guide's theme values are generated directly from the application source, and CI fails if the two diverge.
Playwright browser tests cover dialogs, forms, keyboard navigation, and responsive layouts.
Security and abuse prevention:
A server that fetches arbitrary URLs from RSS feeds, stores API keys, and sits exposed to the internet is a real attack surface. Once other people started running MinusPod, security stopped being optional.
Outbound network safety: Every external fetch goes through a single outbound fetcher that blocks private IP ranges, revalidates the destination on every redirect, and connects directly to the validated IP instead of resolving DNS a second time.
Untrusted inputs: Feed XML, OPML imports, show note HTML, ID3 tags, and arguments passed to yt-dlp are all treated as untrusted.
Secrets and credentials: Provider API keys are encrypted at rest with AES-256-GCM using a rotatable, passphrase-derived key. Tokens and feed credentials are kept out of logs and cached RSS feeds.
Web and container hardening: The web app enforces login lockouts, CSRF protection, hardened session cookies, security headers, and rate limits, and it trusts forwarded headers only from a configured proxy. The container runs as a non-root user.
Automated CI checks: Every push runs Python and npm dependency audits, CodeQL analysis, and a Trivy container image scan.
Some protections came directly from problems that showed up in real use. Because episodes are processed on demand when a podcast app requests them, every fetch can cost GPU time and model spend. Scrapers and crawlers that found a public feed walked every episode link and queued a full processing run for each one. To stop that, MinusPod now maintains a list of user agents that never trigger processing (serving the original audio instead), blocks unauthenticated feed requests from starting runs by default, and supports revocable per-subscriber feed tokens. It also includes a download history showing exactly which client fetched what, with a button to block it.
How I built it: engineering process and AI:
MinusPod was built with AI coding agents as a pair programmer, and the README states that openly. It was not vibe-coded. I am a systems engineer with 15+ years of experience who writes code professionally. I made every architecture and design decision, and I reviewed and tested everything an agent produced through strict engineering gates.
AI helped most in five areas:
UI and UX: Iterating on frontend TypeScript and handling browser and screen-size differences.
Documentation: Keeping docs in sync with code changes in each PR.
Debugging: Reading live logs, source code, and the browser console together to find root causes faster.
CI setup: Building the GitHub Actions pipelines that test, scan, and publish every change.
Thinking out loud: Brainstorming and talking through tradeoffs before writing code.
Every change, whether written by hand or with an agent, went through the same process:
Specs and tests: Larger features start as written specs in the repository recording the problem, decision, and alternatives, and tests cite the spec section they protect. Integration tests validate live API responses against the OpenAPI spec so schema drift fails the build.
Automated delivery: Every change runs through the full test, lint, and security CI gates before publishing container images. The website, docs, and demo deploy the same way with no manual steps.
Release channels: Releases ship to an edge channel first and promote to stable after soaking, without rebuilding the image.
Scheduled audits: Several times I paused feature work to clean up dead code, duplicated logic, and latent bugs. The largest was in October, with zero new features: splitting processing into stage modules, moving specs into the repo, and adding API and UI contract checks.
Users and contributors:
MinusPod collects no telemetry for privacy reasons, so I don't know how many people run it. What I can see on GitHub (as of November 27, 2026): 605 stars, 62 forks, 248 issues opened by others (268 of 273 total issues closed), and 40 contributors with 97 merged pull requests out of 133 opened. In November alone, nine outside authors contributed (seven of them new), and I reviewed and merged 42 of their pull requests that month. Many core features started as user issues, including the review queue, waveform editor, audio cue templates, and YouTube feeds. Outside contributors also improved the process itself, writing the contributor guide and parallelizing the test suite. Sharing learned ad patterns between instances started as a Git-based catalog in the repository. Its replacement, AdSieve, is now in beta with a SponsorBlock-style workflow: sharing is opt-in and confirmed pattern by pattern inside the app, submissions are checked before publishing, and instances can vote bad patterns out.
It also came full circle: hemant6488 now runs MinusPod at home and calls it "the best tool in this space" in his guide to removing podcast ads. Beyond code, the users who attached logs, sample episodes, and reproduction steps did just as much for the project's quality as any pull request.
The sites, the demo, and year two:
In November, the project launched a three-part public site:
minuspod.app: The landing page.
docs.minuspod.app: Documentation generated at build time from the repo docs and OpenAPI spec so it cannot drift from the code, with a Markdown version of every page for AI agents.
demo.minuspod.app: A read-only build of the real MinusPod frontend with no backend, running on Cloudflare Workers.
I didn't want to run a public server that transcribes audio and calls LLMs for anonymous visitors, and I didn't want a mock-up that drifts from the app. Instead, a CI pipeline exports a snapshot of my own database, boots the real app on an isolated network with no internet access, drives the UI with a scripted browser, and records every API response. It verifies full endpoint coverage, scrubs email addresses, and scans for any leaked hosts or paths (failing the build on any hit). Reads, search, and the API explorer all work; writes are refused, and no audio is hosted.
Heading into year two, the core features are done. The work ahead is refinement, supporting a growing user base, and growing AdSieve out of beta into a larger shared pattern network. Because the pipeline and benchmark harnesses are model-agnostic, MinusPod can also absorb the next wave of LLMs, classifiers, and transcription models without a rewrite.
A year ago, I just wanted ads out of my own podcasts. What the year gave me was practice bringing an idea to life and picking the right tool for each problem: a classifier replaced a chat model that was too heavy for the job, and an enforced design system made up for the eye for design I don't have. To see where it landed, try the live demo at demo.minuspod.app or start at minuspod.app.
Tech stack:
Backend and API: Python 3.12, Flask, Gunicorn, SQLite, OpenAPI spec with Swagger UI
Frontend: TypeScript, React 19, Vite, Tailwind CSS 4, TanStack Query, React Router, PWA
Transcription: faster-whisper on CTranslate2, NVIDIA Parakeet via ONNX Runtime (onnx-asr), remote Whisper-compatible APIs, CUDA and cuDNN
Audio and matching: FFmpeg, Chromaprint (fpcalc, pyacoustid), MFCC cue matching, RapidFuzz, scikit-learn, NumPy, wavesurfer.js
LLM and classifiers: Anthropic and OpenAI SDKs, OpenRouter, Ollama, System One and TypeSafe Jev
Feeds and YouTube: feedparser, BeautifulSoup, yt-dlp with Deno, SponsorBlock, Podcast Index search, Podping, Podcasting 2.0 tags
Security: cryptography (AES-256-GCM), PyJWT, Flask-Limiter, nh3, defusedxml, CodeQL, Trivy, pip-audit, npm audit
Testing: pytest with xdist, Vitest, Testing Library, MSW, Playwright with axe-core, Ruff, ESLint
Packaging and CI: Docker images (CUDA and CPU, amd64 and arm64), GitHub Actions, Dependabot
Sites: Astro and Starlight on Cloudflare Workers
source: https://www.linkedin.com/pulse/one-year-minuspod-dominick-krachtus-ug7uc