Portfolio
← Projects
Neoplay logo
Desktop · 2024

Neoplay

A Spotify player built with Tauri that uses about half the memory and CPU of the official app.

TauriRustSpotify APISvelteKit
Screenshot of Neoplay

Neoplay is an open-source Spotify player. The official desktop app uses a lot of memory and CPU for what is mostly an audio player with a search box. Neoplay does the same job with about 50% less memory and CPU in normal listening.

What it does

  • Sign in with your Spotify account (OAuth 2.0 with PKCE).
  • Play, pause, skip, seek and change the volume.
  • Browse your playlists, albums and saved tracks, and search.

How it’s built

  • Tauri instead of Electron. Tauri uses the system’s own WebView (WebKit on macOS, WebView2 on Windows) instead of bundling Chromium, which is where most of the savings come from.
  • Rust for the native side, like system calls and process management.
  • SvelteKit for the UI.
  • Spotify’s Web Playback SDK runs in the WebView and streams the audio. Spotify plays the audio, and Neoplay is the interface around it.