CGIcast provides perl scripts that enable the streaming of live internet radio.
The system comprises of three scripts, each serving a distinct purpose. Firstly, the client script runs on your local machine and sends mp3 data in small chunks to the receiver script which runs on the web host. The receiver script then stores the latest audio on the filesystem. When a listener connects, they're directed to the transmitter script which serves the mp3 data from the stored files in almost real-time.
To ensure the system works to its full potential, you need to have some common Unix tools. The scripts utilize SoX and "esdmon" for obtaining raw audio data. For encoding audio to mp3, LAME is employed, while cURL is used for sending data to the server. This saves approximately 15 lines of code by not having to use Perl for pushing data. If you're looking for the best quality with the least amount of licensing issues, you can also encode using OGG/Vorbis.
Lastly, one example of the CGIcast's user case is a demonstration on how to relay an audio stream from an SoX. With this level of functionality and ease of use, CGIcast is the ultimate solution for those looking to launch an internet radio station.