podserv-b 0.1.0

a minimalist podcast server (type b) for serving media files on the web
podserv-b-0.1.0 is not a library.

podserv-b

Rust Codecov GitHub Release Crates.io Top Language License: Apache-2.0

a minimalist podcast server (type b) for serving media files on the web.

screenshot of the first version

scans a provided directory of MP3 files, reads their ID3 tags, and serves a minimalist-themed single-page web page with an embedded audio player, album art, and download links. supports flat and nested media directories.

installation

cargo build --release

binary is at target/release/podserv-b

usage

./target/release/podserv-b

open http://127.0.0.1:3000 in a browser.

environment

Variable Default Description
MEDIA_DIR media Path to the directory of MP3s
BIND 127.0.0.1:3000 Address and port to listen on
MEDIA_DIR=/srv/podcasts BIND=0.0.0.0:8080 ./podserv-b

configuration

create Config.toml in the working directory to customise the page:

title       = "Funkfabrik B"
description = "FM Radio for Punks, Listeners, and Dogs"
website     = "https://funkfabrik-b.de"

all fields are optional; defaults are used when the file is absent.