Content and publishing · Independent · 22 Oct 2026

ben-xo/dir2cast

Turn a directory of MP3s into a podcast - automatically.

← Content and publishing
dir2cast. Turn a folder of MP3s into a podcast.

In simple English

This tool turns a folder of audio files into a podcast feed. You upload your audio tracks to your web server in a folder with this script. The script reads the title and artist information straight from the audio file tags. It builds a valid podcast feed so people can listen in their podcast apps. It costs nothing and runs on basic web hosting.

What it is

A single PHP script that generates an XML podcast feed from a directory of audio files. It reads metadata and embedded cover art from MP3, MP4, M4A, and M4B files.

What it is good for

Solo creators who want to publish audio shows without setting up a content management system or database.

Stars193
LicenceBSD-3-Clause
Latestv1.39 (2026-04-28)checked 22 Oct 2026
Last code change2026-04-28
Written inPHP
Setup effort
2 / 5
Payoff
3 / 5
Good
  • Zero database required, just upload files to a folder.
  • Reads title, artist, and cover art directly from audio file tags.
  • Built-in caching keeps server load low when people download your episodes.
Watch for
  • Requires a web server with PHP installed and configured.
  • You must manually download and add the getID3 library.
  • File modification times determine episode order, which can cause mix-ups if files are copied poorly.
Replaces

manually writing XML podcast feeds or heavy podcast hosting platforms

Works well with

an Apache or NGINX web server running PHP

Similar repositories
Also reviewed on Repo Radar
  • facebook/docusaurus67k stars

    A static site generator from Meta that turns Markdown files into a documentation website.

  • mkdocs/mkdocs23k stars

    Turns a folder of Markdown files into a documentation website, controlled by one settings file.

  • squidfunk/mkdocs-material28k stars

    Turns a folder of Markdown files into a searchable documentation website, with every formerly sponsor-only feature now included.

Install
git clone https://github.com/ben-xo/dir2cast.git
cd dir2cast
# Download getID3 and place it in a folder named getID3

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: Design & Creative › Audio & Voice Production › Podcasting.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.