Free, open-source internet radio player for your website

PawTunes is a self-hosted HTML5 web radio player for Shoutcast, Icecast and AzuraCast stations. Live track info, album artwork, song history, Chromecast and AirPlay, three customizable templates and a control panel that needs no coding.

What is PawTunes?

PawTunes is a complete internet radio player for station owners who want their own player on their own website, without a monthly fee or a third-party service in between. It is not just a JavaScript audio widget: a PHP backend reads the current song from your stream server, finds the album artwork, keeps the song history and serves it all to a fast, dependency-free HTML5 player.

Add as many channels and stream qualities as you like, pick one of three templates, match the colours to your brand and embed the player as a popup, an iframe or directly in your page. Everything is set up in a control panel, and built on more than 15 years of experience with radio players.

Live demo

The best way to put a radio player on a website is a popup window:

  • Listeners keep browsing your website while the music keeps playing
  • Phones and tablets open the player in its own tab, in the full responsive layout
  • The templates are designed for it, so the player looks its best
Open the demo player

The same player in an iframe

Press play: the player takes its colours from the album artwork. Every channel can also have its own colour scheme and logo.

The player is responsive and fits any size, from a full page down to a 728 x 120 strip in your site header.

Three templates, your colours

Each template opens in the window size it was designed for. Resize the window to see how it adapts. Every template comes with light and dark colour schemes, and the control panel compiles new ones from your own colours.

Control panel: no coding required

The control panel is part of the package. Add channels and streams, choose where track info and artwork come from, build colour schemes, upload your logo and app icon, manage artwork, translate the player and copy the embed code. Updates install with one click.

Try it with username admin and password password.

Control panel demo

Everything an internet radio player should do

For your listeners and for your station, all included and all free.

  • Live track info and artwork

    The current song and its album cover, read from your stream server and looked up automatically.

  • Chromecast and AirPlay

    Listeners send your station to a TV or speaker with one tap, from every template.

  • Audio visualizer

    An aurora, a ring or a spectrum analyzer that moves with the music.

  • Never goes silent

    When the network drops, the player reconnects by itself and carries on.

  • History, up next, live DJ

    Played songs are kept on the server. Up next and a live badge come from AzuraCast or SAM Broadcaster.

  • Sleep timer

    Stops the music after a set time, with a gentle fade-out.

  • Feels like an app

    Installs to the home screen with your name and icon. Lock screen and Bluetooth controls show the artwork.

  • Unlimited channels

    Each with its own stream qualities, logo and colours. MP3, AAC, Ogg and FLAC.

  • Your colours

    Three templates, light and dark schemes, and new schemes compiled from your brand colours.

  • Now Playing widget

    Show the current song on any website, or in OBS as a browser source.

  • Fast under load

    One request to your stream server per refresh, however many listeners. Disk, APCu, Redis or Memcached caching.

  • Speaks five languages

    English, German, French, Italian and Slovenian, picked from the browser. Add your own in the panel.

For developers

The player is TypeScript compiled to a modern ES module with zero runtime dependencies, with a documented event API (track.change, history.change, channel.change and more). Track info is a public JSON API with optional CORS and JSONP, live updates arrive over WebSocket where the server offers it, and templates are plain HTML and SCSS. The code is clean, commented and on GitHub.

Embed it directly, without an iframe

The player can also live inside your own page, with no iframe and even without the PHP backend. In that mode track info and artwork must come from an external source. This demo reads both live from AzuraCast over WebSocket. The documentation explains how to set it up.

Loading Player, please wait...

Artwork Background
Artwork
Default Artist - Default Title

Song History

Back
Back

Install in a minute

Docker

docker run -d -p 80:80 jackyprahec/pawtunes:latest

Any PHP web hosting

Download the release ZIP, upload it to your web server and open /panel/ in your browser. Log in with admin / password, change the password, add your stream. Done.

Requirements

  • PHP 8.1 or newer for PawTunes 2 (the 1.x releases run on PHP 7.4+)
  • PHP extensions: cURL, GD, SimpleXML, JSON and mbstring
  • The server must be able to reach your stream's port (Shoutcast uses 8000 by default)
  • No database
  • Optional: ZipArchive for one-click updates, Redis, Memcached or APCu for caching

Step-by-step instructions are in the documentation.

Frequently asked questions

What is PawTunes?

PawTunes is a free, open-source internet radio player for websites. You host it yourself on any PHP server or with Docker, point it at your Shoutcast, Icecast or AzuraCast stream, and it gives your listeners a modern HTML5 player with live track info, album artwork, song history, Chromecast and AirPlay. Everything is managed from a control panel, with no coding required.

Is PawTunes really free?

Yes. PawTunes is open source under the Mozilla Public License 2.0. There is no paid tier, no listener limit, no account and no subscription. You can use it for commercial radio stations too. Donations are welcome and keep the project updated.

Which streaming servers and radio platforms does PawTunes support?

Shoutcast (v1 and v2), Icecast, AzuraCast (REST and live WebSocket updates), CentovaCast, SAM Broadcaster, and any stream that sends ICY metadata. A custom source reads track info from your own JSON, plain text or WebSocket endpoint. Streams can be MP3, AAC, Ogg or FLAC.

How do I add an internet radio player to my website?

Install PawTunes, add your stream in the control panel, then copy the embed code from the panel home page. You can open the player in a popup window (recommended, listeners keep browsing while the music plays), place it on a page as an iframe, embed it directly into your own HTML without an iframe, or show only the current song with the Now Playing widget.

Can I customize how the player looks?

Yes. PawTunes ships with three templates (Aurora, Modern and PawTunes), each with light and dark colour schemes. The control panel compiles new colour schemes from your accent and background colours, every channel can have its own scheme and logo, and the player can tint itself with the colours of the current album artwork. Developers can edit the SCSS or build a complete template of their own.

Does PawTunes show the current song, album art and song history?

Yes. PawTunes reads the current artist and title from your stream server and looks up the artwork on Apple Music, iTunes, Spotify, Last.fm or FanArt.tv, or uses the covers your AzuraCast or CentovaCast server provides. It keeps a played-songs history for every channel on the server, and can show the next song and a live DJ badge where the stream server provides them.

Does it work on phones, Chromecast and AirPlay?

Yes. The player is responsive and works in every modern browser on desktop, Android and iOS. Listeners can cast to Chromecast from Chrome and Edge, use AirPlay from Safari and iOS, control playback from the lock screen, and install your station to their home screen as an app with your own name and icon.

What do I need to host PawTunes?

PawTunes 2 needs PHP 8.1 or newer with the cURL, GD, SimpleXML and mbstring extensions, which almost every shared hosting plan includes. It needs no database. You can also run it with one Docker command. Redis, Memcached or APCu caching is optional for busy stations.

Can I use PawTunes with WordPress or a website builder?

Yes. PawTunes is not a WordPress plugin, it is a standalone player that runs next to your site. You embed it in WordPress, Joomla, a website builder or a plain HTML page with a popup link or an iframe, exactly like on any other website.

PawTunes is a 100% free, open-source internet radio player for your website, with 3 templates and customizable colour schemes.

Essential features

  • Responsive, mobile-friendly design
  • Live track info and album artwork
  • Chromecast and AirPlay
  • Unlimited channels with per-channel options
  • Multi-bitrate streams with selection
  • Audio spectrum visualizer
  • Continuous playback
  • Song history, up next and live DJ badge
  • Sleep timer
  • Installable as a web app
  • Now Playing widget and JSON API
  • Zero dependencies in the player code
  • Extensive control panel
  • Docker image
  • Lifetime updates (min. 10 years from the release)
  • ...and much more to explore!

Artwork sources

  • Apple Music
  • iTunes
  • Spotify
  • Last.fm
  • FanArt.tv
  • AzuraCast
  • CentovaCast
  • Custom (your own)

Track info sources

  • Shoutcast
  • Icecast
  • AzuraCast
  • CentovaCast
  • SAM BC
  • Direct stream
  • Custom (your own)
PawTunes is free - donations keep it alive & updated (and the cats fed).