We Are Starting! ๐
ยท 2 min read
Welcome to the official Bitrate blog - a full-featured music streaming service built from scratch!
This is an ambitious pet project aimed at recreating the functionality of a popular music service using modern technology stack.
๐ฏ What Is This Project?โ
Bitrate is a comprehensive monorepo including:
- ๐ต Backend API (NestJS + PostgreSQL + Prisma)
- ๐ Web Application (Next.js + React)
- ๐ฑ Mobile Application (React Native + Expo)
- ๐ฅ๏ธ Desktop Application (Tauri + React)
- ๐ Documentation (Docusaurus)
- โ๏ธ Admin Panel (Kottster)
๐ ๏ธ Technology Stackโ
The project is built with modern technologies:
Backendโ
- NestJS - Modular REST API architecture
- PostgreSQL + Prisma - Type-safe database operations
- WebSockets - Real-time playback synchronization
- BullMQ - Background jobs and queues
- FFmpeg - Audio and video conversion
Frontendโ
- Next.js 15 - SSR and App Router
- React 19 - Modern UI
- Tailwind CSS v4 - Styling (Rust-based, blazing fast)
- TypeScript - Type safety
Toolsโ
- pnpm workspaces - Monorepo management
- Turbo - Build acceleration
- Biome - Linting and formatting
- Docker - Containerization
๐ฆ Custom Packagesโ
Reusable CLI utilities created for the project:
- @spotify/tokens-generator - Design tokens to CSS generation
- @bitrate/vite-svgr - Vite plugin for SVG-to-React generation in the build pipeline
- @bitrate/svgr - SVG to React component conversion
- @bitrate/converter - Media conversion (OGG Opus, AAC)
- @bitrate/ncs-parser - NCS music parsing
- @bitrate/ui-react - Reusable UI components
๐จ Key Featuresโ
Architectureโ
- Monorepo - All applications in one repository
- Feature-Sliced Design - Frontend architecture
- Clean Architecture - Backend architecture
- Type-safe contracts - Shared types between frontend and backend
Functionalityโ
- โ Real-time music streaming
- โ Playlists, albums, artists
- โ Real-time cross-device synchronization
- โ Audio conversion to OGG Opus
- โ Responsive design for all platforms
- ๐ CI/CD with GitHub Actions (in progress)
๐ What's Next?โ
In upcoming posts, I'll be sharing about:
- ๐๏ธ Architecture Decisions - Why we chose certain technologies
- ๐ง Technical Challenges - How we solved complex problems
- ๐ Performance Optimizations - How we achieved Vite-level speed
- ๐ณ DevOps Practices - Docker, CI/CD, monitoring
- ๐ก Lessons Learned - What we discovered along the way
๐ค Contributingโ
The project is open for contributions! Source code is available on GitHub:
๐ github.com/Lordpluha/bitrate
How to Help?โ
- ๐ Report bugs via Issues
- ๐ก Suggest new features
- ๐ Create Pull Requests
- โญ Star the repository on GitHub
- ๐ Improve documentation
๐ต Stay Updated!โ
Subscribe to the blog to not miss new posts about development, releases, and interesting technical solutions.
Welcome to the world of open-source music streaming! ๐ถ
Stay tuned for more updates!
