Platform CLI Use cases
Learn
Developer docs User guide Quickstart CLI and AI agents Blog
Company
Services About Contact Links Get started
Publishing and media

Halflight: a self-hosted CMS for podcasts and magazines — an open-source .NET podcast and magazine website

A podcast and magazine website for a fictional independent publisher with a weekly podcast and a quarterly print magazine about night-shift workers: episode pages with audio, chapters, show notes and transcripts, a 24-hour shift clock and the next release worked out on the server, print issues with a contents page, an hour-by-hour index, listener letters, and members-only areas for bonus episodes, the archive and the editors' rundown. Built on Raytha, a self-hosted, open-source .NET CMS for podcasts, magazines and independent publishers.

Build time
Under an hour
Built with
Raytha 2.0.1
Industry
Publishing and media
Rebuild
One script, from GitHub
Halflight: a self-hosted CMS for podcasts and magazines — an open-source .NET podcast and magazine website
Walkthrough

See it in action

A short, silent tour of the finished site, recorded from the real pages.

Silent walkthrough, 1080pOpen the MP4
The site

Take the tour

10 screens from the finished site, on desktop and on a phone. Use the arrow keys, swipe, or open any screen full size.

01 / 10Home: the latest episode with its player, and every guest's shift on a 24-hour clock with the time now, drawn on the server
The write-up

For each Raytha use case we take a realistic brief, build the site on a fresh Raytha instance, and publish what comes out: the site, the files behind it, and a kit you can use to rebuild it yourself. This one is a podcast and magazine website for an independent publisher that puts out a weekly podcast and a quarterly print magazine on the same subject: episode pages with audio, chapters and show notes, print issues with a contents page, letters from listeners, and a members-only back room with bonus episodes and the archive.

If you are looking for a self-hosted CMS for podcasts and magazines, or an open-source .NET CMS for a digital magazine, this is the kind of site that fits: episodes, issues, stories, contributors and letters as structured content, server-rendered pages, and members-only areas built on Raytha's own user accounts and groups. No client-side app in the layout.

Halflight, the city of Corran and everyone named on the site are fictional. There are no payment, subscription or sign-up forms; the member and editor accounts exist only for the demo, and the audio player plays a short sample clip from the site's media library.

A podcast and a quarterly about the night shift

Halflight follows one night worker per episode: a baker, a bridge tender, a night nurse, a snowplow driver. Every season, the magazine prints their stories on paper. Because the whole publication is about time, everything on the site is filed by the clock.

  • The night clock. The home page draws a 24-hour dial with an arc for each guest's shift and a hand at the current time in Corran. Guests who are at work right now get a thicker arc and an "on shift" tag, and a strip across the top of every page says how many are on shift. All of it is worked out on the server from the hours stored on each episode.
  • Episode pages. An audio player, a waveform, chapters with timestamps, a pull quote, show notes and a transcript excerpt, with the guest's shift on a 24-hour bar, the print issue it appears in, and the listener letters written about it.
  • The next episode. Episodes with a future release date show as "coming Thursday, in 3 days" and keep their notes and transcript back until the release date, with no one having to publish them by hand.
  • Print issues. Each issue has a cover drawn from its colors and its cover hour, an editor's letter, and a contents page built from the stories filed under it, with page numbers, sections, reading times and a lock on members-only stories.
  • The hour index. Pick an hour from a row of plain links and the server lists who is at work then, which stories happen at that hour, and which letters were written at it.
  • Night mail. Listener letters, each stamped with the time it was written and answered by the editors.
  • A members' back room and an editors' desk behind sign-in: bonus episodes, the archive and the next issue early for members; a production board with every episode from booking to release for editors.

Design: a night clock and a contents page

The look borrows from late-night radio and print magazines: a dark navy dial and player, warm paper for reading, a lamp-amber accent, and contents pages with large page numbers. Headings and long reading are set in Newsreader, interface text in IBM Plex Sans, and times, labels and counts in JetBrains Mono. There are no wide display fonts. It is a different build from the Harbor Ledger news site: there are no sections or breaking banners here, just a publication organized by episode, issue and hour.

Why podcast and magazine publishers look at a self-hosted CMS

  • The archive is the business. For an independent publisher, back episodes, transcripts and back issues are what members pay for. With Raytha the content model, templates, media and member accounts live in a database you control, so the archive does not depend on a hosting platform's plan or a podcast host's page builder.
  • Members without per-seat pricing. A small show can have thousands of members and a handful of editors. Every one of them can have an account, and Raytha has no seat licensing.
  • Members-only content checked on the server. Bonus episodes and archive stories carry an audience. Templates check CurrentUser.UserGroups before rendering, so a bonus episode's audio and notes, or an archive story's text, is never sent to a browser that should not get it.
  • You own the code and the content. The templates, content types and rebuild script are ordinary files in a repository. The site can be moved, forked or handed to a new team without an export project.
  • It can run where you need it. Raytha is ASP.NET Core with PostgreSQL. A publisher or a university press that already runs .NET can host it on its own servers or on-prem, with role-based admin permissions and audit logs. It can also deploy on Railway in a few minutes.
  • It works next to the tools publishers already use. Podcast hosting and RSS distribution, print subscriptions and newsletters usually live in dedicated products. Raytha runs the website and the members' area alongside them, and its REST API and webhooks can move content between systems.

Raytha fits podcast and magazine publishers that want to own their stack: the code is open source, the content model is yours, and the site, the archive and the member accounts can run on infrastructure you control. If you would rather not run it yourself, Raytha can be fully hosted and managed for you under contract. Where another platform may suit you better is if you need a large plugin marketplace, or an all-in-one suite with subscription billing, a CRM and marketing automation built in. For fair comparisons with platforms publishers and .NET teams often evaluate, see Raytha vs WordPress, Raytha vs Contentful, Raytha vs Payload and Raytha vs Umbraco.

How the clock works

  • Time. Templates start from "now" | date in the site's time zone. Episodes store the start and end hour of the guest's shift and a YYYY-MM-DD release date; stories store the hour they are set; letters store the hour and minute they were written.
  • The dial. An inline SVG. A lookup table of positions for every quarter hour turns each shift into an arc on its own ring, with overnight shifts wrapping past midnight. The same table draws the hand and the clock on each magazine cover.
  • Release dates. The latest episode, the "next episode" strip and the editors' countdown compare release dates with today on every page load, so nothing needs to be republished when Thursday comes.
  • Search runs get_content_items with an OData contains(...) filter across episodes, stories, issues, people and letters, and shows only the titles of members-only items to visitors who are not signed in.

How the members' area works

  • Two user groups: members and editors. Editors see everything members see; admins see everything.
  • Episodes and stories have an audience field (everyone, members, editors). Detail templates render either the content or a lock panel with a sign-in link. Lists and contents pages show members-only titles with a lock and leave their contents out. The page description in the HTML head falls back to a generic line for members-only items, so no summary leaks there either.
  • The back room at /members shows the bonus episodes with their players, the next issue's early stories and the archive by issue. Signed out, it lists the titles only.
  • The editors' desk at /desk counts what is due this week, what is late and the days until the next episode airs, and lays the rundown out as a board from booked to live.
  • Sign-in uses Raytha's built-in login page, restyled to match. There is no registration form: in the story, membership comes with a print subscription and the editors open each account. For more on the pattern, see creating a members-only website.

What is in the kit

Six content types (episodes, issues, stories, contributors, letters, rundown items), two user groups, site pages for the hour index, About, the members' back room, the editors' desk and Search, and menus, all rebuildable with one command from the kit in the examples repository. Route check: 74 routes checked, 0 failed.

Run it yourself

Run this on your own Raytha

Raytha is free and open source (MIT). Deploy your own copy on Railway, with PostgreSQL included, then load this site into it from the rebuild kit.

  1. Deploy RaythaThe Railway template sets up Raytha, PostgreSQL and a volume for uploads. Open the new site and create your administrator.
  2. Create an API keyIn the admin: People, Admins, open your account, then Create API key.
  3. Import the kitInstall the Raytha CLI, set RAYTHA_URL and RAYTHA_API_KEY, and run the kit's build.sh on the fresh site.

Prefer your own server? Raytha also runs with Docker.

Share Post LinkedIn

Build yours on Raytha

Free, open source and ready to deploy in minutes. Bring a brief and an AI agent.