Widget and OBS - songify-rocks/Songify GitHub Wiki
Widget and OBS
Songify can drive overlays via a hosted widget, text/image files, or custom HTML using the local JSON API.
Hosted widgets (recommended)
The full gallery β including Premium styles β is at songify.rocks/widgets.
- In Songify: Tools β Widget β Widget gallery, or use Browse widgets on Home.
- Enable Upload song info under Settings β Output if the site prompts for it (Tools β Widget turns this on for you).
- Copy a widget URL into an OBS Browser source.
A Songify API token (Settings β Config) is required so the hosted widgets can follow the current song.
Widget generator
The generator at widget.songify.rocks is a simpler customizer (corners, icon, scroll, transparency, album art). It has fewer layouts than the gallery and does not list Premium widgets.
Tools β Widget β Widget generator opens it with your stream ID already in the URL.
OBS β Browser source
- Add a Browser source.
- Paste the widget URL from the gallery or generator.
- Set size to match the widget (commonly 312Γ64 pixels for the basic generator barβadjust as needed).
OBS β Text and cover files
Output files are written to your Output directory (Settings β Output). Getting started can pick this folder for you.
- Text: Add a Text (GDI+) or similar source β enable Read from file β point to
Songify.txt, orArtist.txt/Title.txtif you use split output. - Cover: Add an Image source β
cover.png(when cover download is enabled and the source provides art).
Custom visuals / JSON
The local web server (Settings β Web server) exposes JSON with current track data for your own HTML/CSS/JS. See Web server and API.
This is separate from the hosted gallery: use it when you want a custom overlay on localhost, not to customize the Songify-hosted widgets.
Example shape (fields may vary by version):
{
"Artists": "",
"Title": "",
"albums": [
{ "Url": "", "Width": 640, "Height": 640 },
{ "Url": "", "Width": 300, "Height": 300 },
{ "Url": "", "Width": 64, "Height": 64 }
],
"SongID": "",
"DurationMS": 0,
"isPlaying": true,
"url": "",
"DurationPercentage": 0,
"DurationTotal": 0,
"Progress": 0
}
Premium widgets
Extra widget styles are listed on songify.rocks/widgets. Free widgets remain available for everyone. See Songify Premium.