A desktop Spotify client built with Tauri, React, and TypeScript.
- Node.js (v16 or higher)
- pnpm package manager
- A Spotify Developer Account
- Create a
.envfile in the project root:
# Development environment
NODE_ENV=development
# Spotify API Configuration
VITE_SPOTIFY_CLIENT_ID=your_spotify_client_id_here
VITE_SPOTIFY_REDIRECT_URI=http://127.0.0.1:1420/callback- Get your Spotify Client ID:
- Go to Spotify Developer Dashboard
- Create a new app or use an existing one
- Copy the Client ID and paste it in your
.envfile - Add
http://127.0.0.1:1420/callbackto your app's Redirect URIs (Spotify requires a loopback IP literal, notlocalhost)
- Install dependencies:
pnpm install- Start the development server:
pnpm dev- Spotify OAuth authentication
- View user profile and playlists
- Display top tracks and artists with time period filtering
- Recently played tracks
- Modern UI with Mantine components
- Responsive design
The app is built with:
- Tauri: Desktop app framework
- React: UI library
- TypeScript: Type safety
- Redux Toolkit: State management
- Mantine: UI components
- Vite: Build tool
- Environment variables are used for sensitive configuration
- Never commit your
.envfile to version control - The
.envfile is already added to.gitignore