Skip to content

SongRec

Linux Shazam client with GUI and CLI for identifying songs from files, mic or speakers

Copyleft (OSI) · GPL-3.0
  • Linux

Listed by , founder & editor

83

Health

Thriving

Overview

Stars

2,061

Last commit

today

Nov 2026

Repository age

6 years

since Aug 2020

Latest version

0.8.2

Nov 2026

Contributors

–

4 active in 90 days

Releases

21

last 12 months

Language

Rust

SongRec is an open-source client for Shazam, written in Rust for Linux. It identifies songs from an audio file, from your microphone, or from what your speakers are playing.

You can use it through a GUI or the command line. The GUI keeps a history of recognized songs that you can export to CSV, and it can detect songs continuously from a microphone you choose. It reads WAV, OGG, FLAC and MP3, and more formats if ffmpeg is installed.

The app builds a spectrogram, picks frequency peaks and sends that fingerprint to Shazam servers for matching, so recognition needs a network connection. You can install it through pacman on Arch, a PPA on Ubuntu, or Flatpak on other distributions. It is licensed GPL-3.0 and serves as an alternative to the official Shazam app on Linux.

Who it's for

Linux desktop users who want to name a song playing nearby

It listens through the microphone or captures speaker output.

Skip if: You use Windows or macOS, since it targets Linux.

Users with local audio files to identify

It recognizes tracks from WAV, OGG, FLAC and MP3, and more with ffmpeg.

Skip if: You want fully offline recognition.

Script writers who prefer a CLI

The command line works alongside the GUI.

Skip if: You use the Flatpak build and need full CLI file access, which sandboxing limits.

The problem it solves

Shazam has no official Linux app, so identifying a song means reaching for your phone. SongRec gives you the same lookup on the desktop.

Strengths

  • Works from files, microphone or speaker output
  • Both GUI and command-line use
  • History exportable to CSV
  • Packages for Arch, Ubuntu PPA and Flatpak
  • 21 releases in the last year

Trade-offs

  • Linux only
  • Recognition depends on Shazam servers
  • Flatpak sandboxing limits some CLI features
  • Formats beyond WAV, OGG, FLAC and MP3 need ffmpeg

Self-host SongRec

Self-hostable
No (desktop or local app)

Quick start

sudo apt install flatpak -y
flatpak remote-add --user flathub https://flathub.org/repo/flathub.flatpakrepo --if-not-exists
flatpak install --user flathub re.fossplant.songrec -y
flatpak run re.fossplant.songrec

From the project's own install instructions. Check the docs for production settings.

In the community

Frequently asked questions

Is SongRec free?

Yes. It is open source under GPL-3.0.

Which platforms does it support?

Linux.

How do I install it?

Use pacman on Arch, the PPA on Ubuntu, or Flatpak from Flathub on any distribution.

Can it recognize from a file?

Yes. It supports WAV, OGG, FLAC and MP3, and more formats if ffmpeg is installed.

Similar tools in Lyrics and music recognition

idonthavespotify

Lyrics and music recognition

Self-hostable service that converts a music link into links on other streaming platforms

1.9k 58 40 days ago Slowing MIT

Audile

Lyrics and music recognition

Android app that identifies songs in one tap, with widgets and background recognition

1.4k 52 today Thriving GPL-3.0

Replaces ShazamSoundHound

Mousai

Lyrics and music recognition

GNOME app that identifies songs from your mic or desktop audio, like Shazam

1.2k 56 yesterday Slowing GPL-3.0

Rush: Lyrics, Karaoke & Cards

Lyrics and music recognition

Android app that fetches, stores and shares song lyrics with a Material 3 interface

1.1k 61 3 days ago Thriving GPL-3.0

intellectual

Lyrics and music recognition

Self-hosted, JavaScript-free Genius frontend for readers who want lyrics without tracking

79 6 9 days ago Active AGPL-3.0

dumb

Lyrics and music recognition

Lightweight self-hosted Genius lyrics reader for people who dislike script-heavy pages

426 29 33 days ago Slowing MIT