Skip to content
/ GoFM Public

GoFM is a cross-platform real-time audio streaming server for MP3 files, written in Go. It allows synchronized playback across multiple clients.

License

Notifications You must be signed in to change notification settings

pxgo/GoFM

Repository files navigation

GoFM

GoFM is a cross-platform real-time audio streaming server written in Go. It allows you to stream MP3 audio files from a specified directory over HTTP and synchronize playback across multiple clients.

Go Version Go Report Card Downloads References License

GoFM

Usage

To use GoFM, download the latest release from the Releases page and run the server with the following command:

./GoFM -d /path/to/your/music/directory

By default, GoFM listens on port 8090. You can customize the server's behavior using the following command-line options:

-p int
    Specifies the server port number (default 8090).
-host string
    Specifies the server host address (default "0.0.0.0").
-r
    Enables random playback mode.
-debug
    Enables debug mode for the server.
-d string
    Specifies the directory to play audio files from (default "/path/to/your/music/directory").
-h
    Shows help information.
-n string
    Specifies the name of the FM (default "GoFM").

For example, to change the server's port number to 8080, use the -p option followed by the desired port number, like this:

./GoFM -d /path/to/your/music/directory -p 8080

You can find more information about GoFM on STACKSTORE.

License

GoFM is released under the MIT License. Feel free to use, modify, and distribute the software. Contributions are welcome!

About

GoFM is a cross-platform real-time audio streaming server for MP3 files, written in Go. It allows synchronized playback across multiple clients.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published