Home Blog Castrix — Building a Spotify-Like Music Platform
Music Streaming

Castrix — Building a Spotify-Like Music Platform

AJ Team 2025 9 min read
Advertisement

Music streaming should not require a monthly subscription. Castrix is our Spotify-inspired platform built from scratch — artist pages, playlist management, user accounts, and a dual-bot Telegram system for all content management.

In Beta — Needs a Streaming Server

Castrix is functional internally but music streaming requires significant bandwidth and storage — beyond our current budget. Help us launch Castrix.

Features

Playlist Builder

Create and manage personal playlists with drag-to-reorder support.

Artist Follow

Follow artists and get new uploads on your personalised feed.

Dual Telegram Bots

Admin bot for platform management, creator bot for artist uploads.

User Accounts

Listening history, liked tracks, and profile customisation.

Range Streaming

HTTP range requests enable instant seeking without re-downloading.

MongoDB

Artist metadata, track info, and playlists in a flexible document DB.

The Dual-Bot Architecture

Instead of a complex admin web panel, Castrix uses two Telegram bots. The Admin Bot manages the platform internally — approving artists, viewing stats, managing users. The Creator Bot lets artists upload audio directly via Telegram — the bot handles storage, URL generation, and catalog updates automatically.

Using Telegram as a content management interface is powerful and practical. Telegram supports files up to 2 GB, making it suitable for audio without building a separate upload portal.

Range Streaming Explained

Our Express backend implements the Range HTTP header so browsers can request specific byte ranges of audio files — enabling instant seeking, lower initial load, and efficient bandwidth use. The same technique Spotify uses.

Help Us Launch Castrix

The platform is built — we need the infrastructure to go live.

Support Castrix