šµ Spotify Clone
A modern, fully-functional Spotify clone built with cutting-edge web technologies. This project replicates the core features of Spotify with a beautiful, responsive interface and seamless music playback experience.

⨠Features
š¶ Music Playback
- Full-featured music player with play/pause controls
- Volume control with visual slider
- Track progress indicator
- Seamless audio streaming
š± User Interface
- Responsive design that works on all devices
- Dark theme inspired by Spotify's aesthetic
- Smooth animations and transitions
- Interactive playlist cards
š§ Playlist Management
- Browse multiple curated playlists
- Individual playlist pages with track listings
- Album artwork and metadata display
- Artist and duration information
š Music Library
- 6 Curated Playlists including:
- š Chill Lo-Fi Music
- š Study Session
- š Lo-Fi Chill Session
- š¹ Blue Note Study Time
- šØ Chau Saura Session
- ā” Like a Necessity
šµ Audio Content
- Over 25 Lo-Fi tracks across different genres
- High-quality audio streaming
- Detailed track information and metadata
š ļø Technologies Used
Frontend Framework
- Astro - Modern static site generator
- React - Interactive UI components
- Svelte - Lightweight reactive components
- TypeScript - Type-safe development
Styling & UI
- TailwindCSS - Utility-first CSS framework
- Radix UI - Accessible component primitives
- clsx - Conditional class utilities
State Management
- Zustand - Lightweight state management
- Vite - Fast build tool
- Bun - JavaScript runtime and package manager
š Getting Started
Prerequisites
- Node.js 18+ or Bun
- Modern web browser
Installation
Clone the repository
git clone <repository-url>
cd spotify-clone
Install dependencies
bun install
Start the development server
bun dev
Open your browser
Navigate to http://localhost:4321
š§ Available Commands
Command |
Action |
bun install |
Install dependencies |
bun dev |
Start development server at localhost:4321 |
bun build |
Build production site to ./dist/ |
bun preview |
Preview production build locally |
bun astro ... |
Run Astro CLI commands |
š Project Structure
spotify-clone/
āāā public/
ā āāā music/ # Audio files organized by playlist
ā āāā ...
āāā src/
ā āāā components/ # Reusable UI components
ā ā āāā Card.astro
ā ā āāā PlayerControlButtonBar.tsx
ā ā āāā MusicsTable.tsx
ā ā āāā ...
ā āāā icons/ # SVG icons and icon components
ā āāā layouts/ # Page layouts
ā āāā lib/ # Data and utilities
ā ā āāā data.ts # Playlist and song data
ā ā āāā colors.ts # Theme colors
ā āāā pages/ # Astro pages and API routes
ā ā āāā index.astro
ā ā āāā playlist/[id].astro
ā ā āāā api/
ā āāā services/ # API services
āāā ...
šØ Key Components
- PlayerControlButtonBar - Main audio player controls
- MusicsTable - Track listing with play functionality
- CardPlayButton - Interactive play buttons for playlists
- AsideMenu - Navigation sidebar
- VolumeControl - Audio volume management
šµ Music Content
The application features carefully curated Lo-Fi music across 6 different playlists:
- 25+ unique tracks with full metadata
- Multiple artists including LoFi Dreamer, Tenno, Urban Nocturne
- Varied durations from 1:30 to 4:06 minutes
- High-quality audio in MP3 format
š Features Showcase
Dynamic Playlist Colors
Each playlist has its own theme color that dynamically changes the UI
Responsive Design
- Mobile-first approach
- Tablet and desktop optimized
- Touch-friendly controls
Modern Web Standards
- Server-side rendering with Astro
- Progressive enhancement
- Optimized performance
š Deployment
This project is ready for deployment on platforms like:
- Vercel (recommended)
- Netlify
- GitHub Pages
- Any static hosting service
š¤ Contributing
- Fork the project
- Create a feature branch (
git checkout -b feature/AmazingFeature
)
- Commit your changes (
git commit -m 'Add some AmazingFeature'
)
- Push to the branch (
git push origin feature/AmazingFeature
)
- Open a Pull Request
š License
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ā¤ļø and modern web technologies
Experience the future of music streaming with this Spotify clone built on Astro, React, and cutting-edge web standards.