spotifyd and spotify-tui for Low Memory Usage Music

18 Sep 2020

Spotify is a great service that embodies the idea that piracy is a distribution problem not a money problem. There’s just one small (or very large depending on your viewpoint) problem.

Like all electron or electron-like apps, Spotify carries an entire instance of Chromium inside of it, which bloats its memory usage significantly.

There is where spotifyd comes in.

Spotifyd streams music just like the official client, but is more lightweight and supports more platforms. Spotifyd also supports the Spotify Connect protocol, which makes it show up as a device that can be controlled from the official clients.

Speaking of being more lightweight usage:

Wow! Being a UNIX style daemon has its benefits over running inside a web browser.

The only real downside is the lack of a user interface. However, as it works as a Spotify Connect device, you can use your phone to control it. Or, you can use spotify-tui. It’s basically a terminal interface for the Spotify Web Client, except you’re able to also connect to the spotifyd daemon and you’ve got yourself a frontend for Spotify in a really tiny amount of memory usage.