Show HN: Lofi, a Tiny Spotify Player
github.com
github.com
Grab 80 Mbytes binary.[0]
> Design goals
> ≤ 100MB memory footprint
(don't hate me please, I write JS for a living and I need this job <_<)
> For Lofi to show currently playing tracks, Spotify needs to be actually running! Start playing something in Spotify (you can minimize the app afterwards) and Lofi should work as expected.
So it's a visualizer, not a player. Can it work without having the Spotify app running?
I'm currently using librespot on my headless rpi acting as a spotify-enabled speaker but sometimes it has sync errors, so I'm in the market for alternative tiny players.
As opposed to playback, once it's playing, it's smooth, no complaint there.
Instead of replacing it, I've resolved to minimize my interaction with the client as much as possible via rofi[1] and media shortcuts.
I wish there was a mature, non-Electron Spotify client that worked in Linux. I just use the web because the official Linux client is so flaky.
I'm glad there are options for alternative native clients, but none of them are anywhere near feature parity with the official client
It feels like you get the OS's native toolkit - which is fine, it just means you can't easily have one design across multiple operating systems - and tools like QT which go back decades. I know there's some GUI toolkits for new languages like Go and Rust, but they're often very barebones and since there's no commercial interest in them, they don't develop into full-scale native UI libraries.
I mean as a compromise, is React Native a thing for desktop applications yet?
And yes, technically it should be a moth [2], probably (?).
[0.a] https://emojipedia.org/beetle/ [0.b] https://emojipedia.org/cockroach/ [0.c] https://emojipedia.org/fly/ [1] https://emojipedia.org/bug/ [1.a] https://emojipedia.org/mozilla/firefox-os-2.5/bug/ [2] https://education.nationalgeographic.org/resource/worlds-fir...
A possibly apocryphal reply to theologians who inquired if there was anything that could be concluded about the Creator from the study of creation; as described in "Homage to Santa Rosalia, or why are there so many kinds of animals" by G. Evelyn Hutchinson in American Naturalist (May-June 1959); This alludes to the fact that there are more types of beetles than any other form of insect, and more insects than any other kind of animal.
I built a self hosted Spotify alternative a while back. The idea was to be able to listed to your own music from anywhere with most of the useful features of Spotify.
https://github.com/dvx/lofi/commit/caf81d949d4c7d5177507139f...
I miss Billy - https://www.sheepfriends.com/index-page=billy.html
I really wish we could see a low-resource-usage development movement akin to the lofi / retro gaming trend (playdate etc) . I have MS Office 2003 installed on my thinkpad and it starts instantly. It's very satisfying. I feel like apps just grow and grow in size and memory usage to match the average spec of machine instead of being truly thrifty
It's kinda unfortunate that there is still no real replacement for libspotify on Windows, and that you have to have the desktop application installed and running.
Works like a charm
I would love to see a port of librespot for Windows, but my guess is that Spotify tolerates librespot, because it’s only available for *nix.
> We recently switched to using Rodio for audio playback by default, hence for macOS and Windows, you should just be able to clone and build librespot (with the command below).
The "recently" above was ~4 years ago!
One note: for loopback on macOS, instead of iShowU Audio Capture Device, one could also use BlackHole, which is open source: https://github.com/ExistentialAudio/BlackHole
And can be installed with brew:
brew install blackhole-2chThis is an Electron app which requires another Electron app to be running at the same time. What a time to be alive.
"This" refers to the Spotify thing at the top of the page, which I have not tried!
...