How mdanisulh/fusic works
Main Components
A. Frontend Layer (Next.js Application):
• Client-side Components
• Server-side Components
• API Routes
B. Core Features:
• Music Player System
• Search System
• Lyrics System
• Library Management
• Queue Management
C. External Services:
• Music Streaming Service (implied by 320kbps quality mention)
• Lyrics Service
• Transliteration API
┌─────────────────────────────────────────────┐
• Client Layer │
• (Components, Pages, Client-side Processing) │
• ┘
• ↕
┌─────────────────────────────────────────────┐
• Application Layer │
• (API Routes, Services, State Management) │
• ┘
• ↕
┌─────────────────────────────────────────────┐
• External Services │
• (Music API, Lyrics API, Transliteration) │
• ┘
Detailed Component Breakdown
Client Layer:
• Player Components (BottomBar, PlayerControls, VolumeBar)
• Navigation Components (LeftSideBar, RightSideBar)
• Content Components (Cards, SearchBar)
• Page Components (Album, Artist, Playlist, Track views)
Application Layer:
• Key services:
• State Management (Various Providers)
• Data Services (albums.ts, artists.ts, songs.ts)
• IndexedDB Integration (idb.ts)
• API Routes (/api/transliterate)
External Services Layer:
• Connections to:
• Music Streaming API
• Lyrics Service
• Transliteration Service
State Management
Various providers:
• AudioProvider
• QueueProvider
• LibraryProvider
• HistoryProvider
• UIConfigProvider
• ContextMenuProvider
Technical Stack Indicators
Technology badges or labels for:
• Next.js
• TypeScript
• TailwindCSS
• IndexedDB
• Web Audio API