Fast Spotify client with native GUI, without Electron, built in Rust. Very early in development, lacking in features, stability, and general user experience. It is being tested only on Mac so far, but aims for full Windows and Linux support. Contributions welcome!
Note: Spotify Premium account is required.
GitHub Actions automatically runs when new commits are pushed to master
. To download prebuilt binaries for x86_64 macOS, Windows or Ubuntu, go to the newest successfully built action.
Our user-interface library, Druid, has two possible backends to choose from on Linux: GTK and pure X11, with Wayland backend in the works. The default linux backend is GTK. Before building on Linux, make sure the required dependencies are installed.
Debian/Ubuntu:
sudo apt-get install libssl-dev libgtk-3-dev libcairo2-dev libasound2-dev
RHEL/Fedora:
sudo dnf install openssl-devel gtk3-devel cairo-devel
On all platforms, the latest Rust stable (at least 1.54.0) is needed.
Development build:
git submodule update --recursive --init
cargo build
Release build:
git submodule update --recursive --init
cargo build --release
# Use `cargo bundle --release` for building the installation bundle (i.e. macOS .app)
cd psst-gui
cargo run
# Use `cargo run --release` for the release build.
- Vorbis track playback
- Browsing saved albums and tracks
- Save / unsave albums and tracks
- Browsing followed playlists
- Search for artist, albums, and tracks
- Resilience to network errors (automatically retry timed-out requests)
- Managing playlists
- Follow / unfollow
- Add / remove track
- Reorder tracks
- Rename playlist
- Playlist folders
- Playback queue
- Audio volume control
- Audio loudness normalization
- React to audio output device events
- Pause after disconnecting headphones
- Transfer playback after connecting headphones
- Better caching
- Cache as much as possibly of WebAPI responses
- Visualize cache utilization
- Total cache usage in the config dialog
- Show time origin of cached data, allow to refresh
- Media keys control
- Open Spotify links
- Trivia on the artist page, Wikipedia links
- Genre playlists and "For You" content
- Downloading encrypted tracks
- Reporting played tracks to Spotify servers
- OS-specific application bundles
- Podcast support
- UI
- Rethink current design, consider a two-pane layout
- Left pane for browsing
- Right pane for current playback
- Dark theme
- Detect light/dark OS theme
- Icon
- Robust error states, ideally with retry button
- Correct playback highlight
- Highlight now-playing track only in the correct album / playlist
- Keep highlighted track in viewport
- Paging or virtualized lists for albums and tracks
- Grid for albums and artists
- Robust active/inactive menu visualization
- Save last route, volume, playback state
- Rethink current design, consider a two-pane layout
Contributions are very welcome! Project structure:
/psst-core
- Core library, takes care of Spotify TCP session, audio file retrieval, decoding, audio output, playback queue, etc./psst-gui
- GUI application built with Druid/psst-cli
- Example CLI that plays a track. Credentials need to be configured in the code./psst-protocol
- Internal Protobuf definitions used for Spotify communication.
Psst connects only to the official Spotify servers, and does not call home. Cache of various things is stored locally, and can be deleted at any time. User credentials are not stored at all (re-usable authentication token from Spotify is used instead).
This project would not exist without:
- Big thank you to
librespot
, the Open Source Spotify client library for Rust. Most ofpsst-core
is directly inspired by the ideas and code oflibrespot
, although with a few differences:- Spotify Connect (remote control) is not supported yet.
- Psst is completely synchronous, without
tokio
or otherasync
runtime, although it will probably change in the future. - Psst is using HTTPS-based CDN audio file retrieval, similar to the official Web client or
librespot-java
, instead of the channel-based approach inlibrespot
.
druid
native GUI library for Rust.ncspot
cross-platform ncurses Spotify client written in Rust, usinglibrespot
.- ...and of course other libraries and projects.