Live data from Hacker News

Show HN: Spotify for the Terminal Written in Rust

github.com

1–10 of 31 posts

Re: Show HN: Spotify for the Terminal Written in Rust

#3
post #2

This is awesome! I've been looking for an alternative to the bloated Electron mess that is Spotify's UI for a long time. It leaks memory like a sieve on Linux and is generally a pain to use. I'll try this out later.

As a light weight alternative to the official client, you can try https://github.com/Spotifyd/spotifyd

`spotify-tui` uses the Spotify Web API, which doesn't handle streaming itself, so as of now you'll need a spotify client that handles streaming.

In the future, I'll see if I can integrate this into the project for a more complete package.

Re: Show HN: Spotify for the Terminal Written in Rust

#4
post #2

This is awesome! I've been looking for an alternative to the bloated Electron mess that is Spotify's UI for a long time. It leaks memory like a sieve on Linux and is generally a pain to use. I'll try this out later.

You need to have the official Spotify app open in order to play songs

Re: Show HN: Spotify for the Terminal Written in Rust

#5
post #2

This is awesome! I've been looking for an alternative to the bloated Electron mess that is Spotify's UI for a long time. It leaks memory like a sieve on Linux and is generally a pain to use. I'll try this out later.

I don't find it to be more of a mess than any other electron application though. So that's.. something.

My main issue with the snap install (debian) browsing for songs became slow initially. The UI will be there but it'll just show 'no results' for basically any search until after a minute or so.

Re: Show HN: Spotify for the Terminal Written in Rust

#7
Aside, but another annoying thing about Spotify's native macOS client does not use the Apple API for "Open on login" toggle (that is exposed when you right-click on the app icon in the Dock) and instead has it buried in their own preferences. I uninstalled it yesterday because their web player is decent enough and I didn't have the patience to figure out how to disable this open on startup option.

Re: Show HN: Spotify for the Terminal Written in Rust

#8

> You need to have the official Spotify app open in order to play songs, but you can control all your devices with this app. Will it ever be possible to have it work without the app open?

Yes? Spotify dropped their support for libspotify a long time ago so the community had to develop their own replacement.

https://github.com/Spotifyd/spotifyd

Re: Show HN: Spotify for the Terminal Written in Rust

#9
Yes! I love this - I’m surprised that I haven’t seen more clever Spotify integrations floating about in the dev community.

+1 on Spotify memory/CPU bloat

We also integrated Spotify into Pragli to show “show your status”. If I can see that you’re listening to Spotify, you could be heads down but you’re definitely not on a call. Also could be useful as a social signal if you decide to decide to add a social component to your app

Post reply on HN