Build a self-hosted podcast publishing service. The deliverable is a correct RSS feed and honest download numbers, not an audio editor. Shows and episodes: a show carries a title, description, author, owner email, artwork, language, category, and an explicit flag. An episode carries a title, description, publication date, episode and season numbers, episode type (full, trailer, bonus), duration, an audio file, and optional chapters and a transcript. Feed generation, which has to be exactly right. Emit RSS 2.0 with the iTunes and Podcast Namespace extensions. Include a stable GUID per episode that never changes, correct enclosure length in bytes and MIME type, itunes:duration, itunes:image, itunes:explicit, and a podcast:transcript element where a transcript exists. Validate the feed against a podcast feed validator as part of the test suite — a feed that fails validation is silently rejected by directories rather than reported. Media delivery: store audio in S3-compatible storage and serve it through your own domain via a redirect or proxy, so every request passes through code you control. Support HTTP range requests, because podcast apps use them and a server that ignores them breaks scrubbing. Download counting, done to the published standard rather than by counting requests. Count a download when a single client, identified by IP and user agent, requests at least one contiguous megabyte of the file within a 24-hour window, and count it once per client per episode per day. Discard requests from a maintained bot user-agent list. Show the raw request count alongside the deduplicated count so the difference is visible. State clearly in the README that this implements the IAB rules in outline and is not a certified measurement — an uncertified number is not one an advertiser will accept. Analytics: downloads per episode over time, listener client and country from the request log, and a 7-day and 30-day figure per episode, which is how podcast performance is actually compared. Safety rails: refuse to change an episode GUID after publication, warn loudly before changing the feed URL, and keep a published-feed archive so any past state can be reproduced. Out of scope: audio editing or mastering, dynamic ad insertion, private subscriber feeds, hosted transcription, and directory submission (which is a manual one-time step per platform — document it).