DEV3 Technologies home

DEV3 Castlark – Podcast Hosting SaaS Laravel Script with Valid RSS Feeds, Embeddable Players and Download Analytics

A self-hosted podcast hosting platform on Laravel 12 and Filament 4: resumable audio uploads, a valid RSS feed with a validator, embeddable players, IAB-style download analytics, private and paid listener feeds, RSS import. Web installer and demo data included. No mobile apps.
by DEV3 TechnologiesVerified Author(0) 0 sales 6 viewsUpdated 11 Nov 2026

Video tour. Pick a section below to browse 20 screenshots in 4 sections.

App & phone tours

Tap play to watch each app. Nothing downloads until you do.

  • Mobile web0:24

Castlark is a podcast hosting platform for people who want to run their own. It is built by DEV3 Technologies on Laravel 12 and Filament 4. You are the operator: you sell plans to workspaces (an independent podcaster, a production studio with several shows or a company with internal podcasts), and each workspace uploads episodes, publishes a valid RSS feed, embeds players and reads its download numbers.

What it does

  • Uploads that resume. Finished MP3 or M4A files go up in chunks with a SHA-256 check; a dropped connection continues from the offset the server reports. Duration and bitrate are read from the file, and unsupported files are rejected with a clear error.
  • A valid RSS feed. RSS 2.0 with the iTunes and podcast namespaces, exact enclosure lengths, immutable GUIDs, chapters, transcripts, funding, ETag and 304 answers, and feed moves with a 301 and itunes:new-feed-url. A feed validator in the studio lists every rule that fails and a directory checklist gives you the copy buttons.
  • Show websites and episode pages. A public site per show with notes, chapters, a transcript and a web player, subscribe buttons, an own-domain option and a sitemap that lists public episodes only.
  • Embeddable players. An episode, latest-episode or playlist player in light, dark or plum, restricted to the origins you allow, loaded with one script tag.
  • Download analytics. Counting follows IAB-style filtering: one download per listener per 24 hours, merged byte ranges, a minimum number of bytes, bots and prefetchers excluded. Reports by episode, first seven days, app, device, country, web-player retention and private-feed activity, with CSV export.
  • Private feeds. A personal tokenised feed per listener for internal or members-only shows, CSV invites, revoke (the feed answers 410), reset and a sharing detector.
  • Premium feeds. Tiers, coupons, trials, early-access episodes, renewals, dunning, refunds and weekly payouts, with the operator as merchant of record.
  • Import. Move a show in from another host by RSS URL: episodes, artwork and audio are copied, GUIDs are kept.
  • Operator panel and API. Workspaces with meters, plans, invoices, listener payments, payouts, takedowns, an outbox and an audit log, audited view-only support sessions, a scoped REST API with an OpenAPI document and signed webhooks.

Quality checks

The release passed seven gates on the final code: Larastan level 6 with 0 errors, Pest, a build inside the page budget, migrations and the full demo seed on MySQL 8 and SQLite, a headless smoke test with happy paths, race checks on MySQL (parallel range requests for one listener, parallel completes of one upload, uploads at the quota edge, revoke against fetch, parallel rollups), the installer driven from the zip, and a secret scan.

What you should know before buying

  • Audio is stored and served from your storage or CDN. An S3-compatible disk is recommended; bandwidth and storage costs are yours. There is no server-side transcoding or loudness normalisation: upload finished MP3 or M4A files.
  • Download statistics are not IAB certified. They follow IAB-style filtering rules. Country statistics need a GeoLite2-class database that you install; the demo uses simulated geo.
  • You submit your show to the directories yourself with the RSS URL. There are no directory APIs, no dynamic ad insertion and no automatic transcription: upload VTT or SRT transcripts.
  • Simulated drivers. Payments, mail and storage redirects have working simulated drivers; real ones need your own accounts. A real driver without configuration answers driver_not_configured.
  • Audio only: no video podcasts and no live streams. A listener Flutter app is a planned v1.1 add-on.
  • Use MySQL or MariaDB for a live site; the concurrency checks were run on MySQL 8. A cron entry every minute is required.

Included

Source code, the web installer, a buyer guide with an API contract, demo data with fictional workspaces and shows (audio clips are generated when you install, none are shipped), a cron entry for the scheduler, and six months of support.

How it's built

Architecture, stack, key decisions and the quality gates DEV3 Castlark passed before release.

The engineering behind Castlark: a feed builder with a rule-by-rule validator, personal tokens stored only as hashes, one gate for every route that serves content, and IAB-style download counting with idempotent rollups.

The problem it solves

Podcast hosting looks like an RSS file until a podcast app asks for 20 byte ranges of one episode, a leaver's private link is still in a phone, a premium listener cancels mid-period or two rollups run at once. Each must end with correct feeds, correct access and numbers that add up.

Architecture and approach

Castlark is a Laravel 12 application with Filament 4 operator and studio panels and a hand-built public site. One access gate decides every feed, media request, sidecar, embed and API answer, so paid and private episodes never reach a response for someone who is not entitled. Personal tokens are stored as SHA-256 hashes and revoking one answers 410. A download counts once per listener per 24 hours, with byte ranges merged under a row lock. Uploads reserve quota under the team lock and resume from the server's offset. Money is integer minor units with half-up rounding, and castlark:check proves feeds, GUIDs, rollups, entitlements and wallets agree.

Quality gates and results

The release passed seven gates, including race checks on MySQL for parallel range requests, upload completion, quota edges, revoke against fetch and parallel rollups. The reconciliation command passes on the demo data: ten workspaces, 24 shows and about 3,000 episodes with two years of download history.

Tech stack

Area Technologies
Application Laravel 12, Filament 4, Blade, REST API
Data MySQL 8, SQLite
Frontend Tailwind CSS 4, Vite
Quality Pest, Larastan level 6, Playwright

Inside the build

Publish once, play everywhere: The home page shows the booth window, the episode editor with its Waveline and the two calls to action. Publish once, play everywhere — The home page shows the booth window, the episode editor with its Waveline and the two calls to action.

Home in dark mode: The site follows the visitor colour scheme and keeps the plum and mint accents. Home in dark mode — The site follows the visitor colour scheme and keeps the plum and mint accents.

Guides & articles

Practical guides and engineering write-ups for DEV3 Castlark.

Podcast hosting software: 6 things to check before you choose one

Last updated
Podcast hosting software: 6 things to check before you choose one: DEV3 Castlark

A podcast is a promise that a feed will keep working, so most of the choosing is about boring things done correctly. Here are six things to check before you pick podcast hosting, with DEV3 Castlark as the worked example.

Castlark home page: a booth window with a microphone, headphones and a waveform card

1. Is the RSS feed actually valid?

Directories reject feeds for small reasons: a wrong enclosure length, a missing category, an image of the wrong size. Castlark builds the feed from the same data it validates, lists every rule that fails and keeps episode GUIDs fixed once published, so a re-upload never creates a duplicate.

The feed validator listing each rule

2. Do uploads survive a bad connection?

Long episodes are big files. Uploads should go in chunks and continue from where they stopped, check the file by hash and read the duration from the audio itself.

The episodes list with status tabs

3. Can you embed a player anywhere?

One script tag should place an episode, latest-episode or playlist player on any page you allow, in a theme that matches the site.

Embeddable players in three themes

4. Are the download numbers defensible?

Count one download per listener per day, merge byte ranges, ignore bots and probes and require a minimum number of bytes. Castlark follows IAB-style filtering rules; it is not IAB certified, and you should say so to sponsors.

Analytics with downloads per day and top episodes

5. Can you run private and paid feeds?

A private feed is a personal link per listener that stops working the moment you revoke it. Paid feeds add tiers, trials and early-access episodes. Castlark checks access on every request, so premium audio never appears in a public feed.

The studio dashboard with the Waveline of the latest episode

6. Are the limits honest?

Castlark is audio only. Your storage or CDN carries the bandwidth, there is no transcoding, loudness processing, dynamic ad insertion or automatic transcription, and you submit your show to the directories yourself with the RSS URL.

Video: The Castlark tour

Frequently asked questions

The complete source code (version 1.0.1) as a download from your account, with the setup and usage guides shown on this page. You can modify the code to suit your product.

Buying guides: Laravel scripts with Filament panels and a web installer · Next.js or Laravel for a SaaS script?

Questions about this product (0)

Answers from the DEV3 team and the community.

Ask a question

No questions yet.

Wondering about setup, licensing or customisation? Ask, and the DEV3 team will help.

More from this author

View all

Related in Web Scripts & Software

View all