A modern, lightweight C++ DNAS Server and Hybrid AutoDJ. Built for seamless crossfading, multi-DJ support, and absolute reliability.
$ ./castforge_server sc_serv.conf
[Log] CastForge Server Version 1.0.0 starting...
[Log] Binding to Port 8000
[Log] CastForge DNAS is running!
$ ./castforge_autodj trans.conf
[AutoDJ] Loaded 99 MP3 files from /music
[AutoDJ] Shuffled 99 MP3 files.
[AutoDJ] Connected to DNAS and authenticated successfully.
[AutoDJ] Live DJ Authenticated! (devil) Initiating Crossfade...
CastForge AutoDJ seamlessly handles local MP3 playback and live DJ streams on the exact same port. Never drop a listener again.
Smooth, pop-free transitions. When a live DJ connects, the AutoDJ naturally fades out using a custom quadratic mixing algorithm.
Support an unlimited number of DJs. Grant unique `username:password` credentials without ever exposing your admin server password.
Written entirely in pure C++17. Consumes single-digit megabytes of RAM while effortlessly serving thousands of concurrent listeners.
Your web panels stay lightning fast. CastForge handles all HTTP status API requests in detached background threads instantly.
Built-in Mersenne Twister random engine for true playlist shuffling, MP3 ID3v1/v2 parsing, and silent background pausing.