Skip to content

A simple command-line application to self-host podcasts

Notifications You must be signed in to change notification settings

marvelm/podcast-publisher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

podcast-publisher

  • A simple command-line application to self-host podcasts

I self-host a podcast feed to transfer lectures and audiobooks to my phone.

Installation

go get -u github.com/marvelm/podcast-publisher
go install github.com/marvelm/podcast-publisher

Usage

Assuming you have some files in /my-media:

my-media
└── book
    ├── 1
    │   ├── chapter1.mp3
    │   └── chapter2.mp3
    └── 2
        ├── chapter3.mp3
        └── chapter4.mp3

podcast-publisher -url "https://example.com/podcasts" -folder /my-media/ > feed.xml

This will create a podcast with episodes defined in feed.xml

Web server configuration

You'll need a webserver to serve your media and the podcast feed. Here's an example of a NGINX configuration:

server {
  location /podcasts {
    alias /my-media;
    autoindex on;
  }
  location /feed.xml {
    alias /feed.xml;
  }
}

Then, you can point your podcast app to https://example.com/feed.xml

About

A simple command-line application to self-host podcasts

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages