News for hackers. Stuff that matters.

ravachol

Show HN: Pmstream, Milkdrop visualizations in the terminal (also in kew player)

https://github.com/ravachol/pmstream

You can now run winamp style visualizations in the terminal, in full-color using sixels or kitty protocol.pmstream was made to work with kew (v4.4.2), but it also works as a standalone app or as a plugin for other apps. It streams frames of projectM visualizations in either sixels or ascii and delimits with a double-linebreak. It's fairly easy to integrate.We want to make tech that lifts all...

( Read More... | no comments | on HN )

Show HN: Kew, A distraction-free terminal music player, now on Windows

https://github.com/ravachol/kew

Hi HN,I have finally ported kew, a music player for the terminal, to Windows. We are everywhere now, watch out!Some of kew's features:- Play auto-generated playlists based on words from the artist, album or song name: 'kew nirvana'. - Private and offline* (*discord gets notified but this can be turned off). - Music without distractions or algorithmic manipulation. - Gapless playback. - Music...

( Read More... | no comments | 2 points | on HN )
New in this version:

New playback pipeline with improved performance and latency (built on miniaudio)

Real-time ASCII visualizations (via Chroma)

Free, open source, no tracking, no ads, completely offline.

More info: https://codeberg.org/ravachol/kew Or: https://github.com/ravachol/kew

Re:Ask HN: How to go back to listening to MP3s? on Saturday January 03, 2026 @08:07AM (#46476133)
Hi, I'm the developer of kew which works for linux, macOS, Android and FreeBSD.

The two best places to buy music in my opinion are qobuz and bandcamp.

https://github.com/ravachol/kew

I encourage you to go check out my app.

Re:Show HN: kew – A Terminal Music Player for Linux on Saturday October 05, 2024 @11:41AM (#41750646)
That's great! Get involved if you want and suggest features for instance.
Re:Show HN: kew – A Terminal Music Player for Linux on Friday October 04, 2024 @10:47PM (#41747364)
That's already mostly in. From the readme:

kew dir <album name> (sometimes it's necessary to specify it's a directory you want)

kew song <song> (or a song)

kew list <playlist> (or a playlist)

The directory can be an artist or an album, so there's still ambiguity there. But kew cannot differentiate between the two. It matches against files or against directories.

Re:Show HN: kew – A Terminal Music Player for Linux on Friday October 04, 2024 @09:39PM (#41747079)
Like you said, it just takes the first result it finds. There is -e for exact search, which solves some problems, but it's not a full blown solution.
Re:Show HN: kew – A Terminal Music Player for Linux on Friday October 04, 2024 @08:35PM (#41746792)
Because I'm just one guy with a few people helping me a little bit. I needed a limited scope. But I'm actually thinking of porting it to Mac now.
Re:Show HN: kew – A Terminal Music Player for Linux on Friday October 04, 2024 @07:23PM (#41746422)
done.
Re:Show HN: kew – A Terminal Music Player for Linux on Friday October 04, 2024 @06:59PM (#41746300)
He's right actually the quick-install script is pretty barbaric.
Re:Show HN: kew – A Terminal Music Player for Linux on Friday October 04, 2024 @06:29PM (#41746105)
Good point. Might be better to just have the commands installing the requirements for the different distros, in the readme.
Re:Show HN: kew – A Terminal Music Player for Linux on Friday October 04, 2024 @04:45PM (#41745412)
"Buffer Overflow vulnerability in Freeimage v3.18.0 allows attacker to cause a denial of service via a crafted JXR file."

I don't know how relevant these vulnerabilities are to kew, which isn't run across the network in any way, it just reads your local files.

Thank you for bringing this to light. I don't know how feasible it is to use something other than freeimage though, gonna have to investigate.

Re:Show HN: kew – A Terminal Music Player for Linux on Friday October 04, 2024 @04:26PM (#41745254)
kew does not scrobble. It does not track any of your listening habits or anything else for that matter.
Re:Show HN: kew – A Terminal Music Player for Linux on Friday October 04, 2024 @04:24PM (#41745235)
FreeImage is used by Chafa to display the covers in the terminal.

The version of kew packaged for Nix is very old: v1.5.2. We're at version 2.8.2. So it's more than a year old, from very early on in the project.

Re:Show HN: kew – A Terminal Music Player for Linux on Friday October 04, 2024 @03:57PM (#41745024)
That's an easter egg! Gj! You're the first that has mentioned it.
Re:Show HN: kew – A Terminal Music Player for Linux on Friday October 04, 2024 @02:12PM (#41744047)
Oh ok, my bad! And GOOD.

I agree it's important. kew is so small it was pretty trivial to do.

Re:Show HN: kew – A Terminal Music Player for Linux on Friday October 04, 2024 @12:27PM (#41742998)
You uninstalled it. :(
Re:Show HN: kew – A Terminal Music Player for Linux on Friday October 04, 2024 @10:58AM (#41742105)
Yes, while a comically large music library is supported in principle (kew offers to cache your library if it takes a long time to search through), it might not be entirely suited for it.

As for your other two suggestions those fall outside the scope of kew. kew is supposed to be simple with minimal bloat.

Re:Show HN: kew – A Terminal Music Player for Linux on Friday October 04, 2024 @10:31AM (#41741837)
Yes, unfortunately it only works on Linux and FreeBSD. I should add that to the readme.

EDIT: Added.

Re:Show HN: kew – A Terminal Music Player for Linux on Friday October 04, 2024 @10:15AM (#41741663)
Thank you. To answer your first question, ambiguity isn't resolved unfortunately. When the album has the same name as the artist for instance, I have sometimes resorted to renaming the album name by adding "album" to it. You can however get an exact search by adding -e so that resolves some problems.

Yes, MPRIS is supported.

Re:Show HN: kew – A Terminal Music Player for Linux on Friday October 04, 2024 @09:42AM (#41741306)
Glad you are liking it!
Re:Show HN: kew – A Terminal Music Player for Linux on Friday October 04, 2024 @09:39AM (#41741270)
You know I'm not sure. I think there was some problem with FFmpeg in earlier versions, but I'm not 100% sure. There shouldn't be a problem trying to install it in earlier versions though.
Re:Show HN: kew – A Terminal Music Player for Linux on Friday October 04, 2024 @09:37AM (#41741252)
Thanks, yes the readme is really important. A lot of projects would benefit from spending a bit more time on it.

Show HN: kew – A Terminal Music Player for Linux

https://github.com/ravachol/kew

Hi HN,I created kew, a music player for the Linux terminal.This started when I asked myself: what if I could just type something like "play nirvana" in the terminal and have the rest taken care of automatically? That got the ball rolling and I kept adding stuff: covers in ascii and then as sixel images, a playlist view, a visualizer, a library view and finally search.While kew can be used as a...

( Read More... | 65 comments | 64 points | on HN )