No description
- Go 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .gitignore | ||
| gemradio.go | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| README.md | ||
gemradio
A "radio" server for the Gemini protocol. It finds every .mp3 file under a
directory and plays them in order, on a loop, as one continuous stream. Every
client that requests / gets an audio/mpeg response joined to the stream at
its current position, like tuning in to a radio station.
Configuration
~/.config/gemradio/config.yaml:
cert_path: /path/to/certs # TLS certificate directory (go-gemini certificate store)
audio_dir: /path/to/music # searched recursively for .mp3 files
host: localhost # hostname the certificate is for, and listen address
port: "1965"
Build and run
Needs Go.
go build
./gemradio
Then open gemini://<host>:<port>/ in a Gemini client that can play audio,
or pipe the response into a media player.
License
MIT. See LICENSE.