💾 Archived View for r.bdr.sh › lyricli.gmi captured on 2024-05-12 at 14:51:13. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-03-21)

-=-=-=-=-=-=-

lyricli (lrc)

Command line tool that shows lyrics for your currently playing song in the terminal, supports spotify and apple music on macos, and most linux music players.

view source (git.r.bdr.sh)

view source (sourcehut mirror)

Install

Homebrew

You can install using homebrew. For direct binaries see below.

$ brew tap rbdr/apps git@git.sr.ht:~rbdr/homebrew-apps
$ brew install lyricli

Prebuilt Packages

You can find pre-built packages for linux @ build.r.bdr.sh. There you can

find a `.tar.gz` that includes only the binary, or `.rpm` and `.deb`

distributions for fedora and debian that include a manpage.

Binaries are provided for x86_64 and aarch64.

Unstable releases are built directly from the main branch, while tagged

versions have their own release and can be considered more stable.

lyricli pre-built releases @ gemini

lyricli pre-built releases @ https

From Source

In order to build this project, you'll need a genius client token. See the genius api docs for more information.

genius api docs

Make sure you have rust and Make installed. Clone the repository, and run:

% make -e profile=release

Then copy the file somewhere in your PATH

% cp ./target/release/lyricli /usr/local/lyricli

Usage

Running without arguments will try to detect your current song in apple music or spotify

$ lrc

You can run it with artist name and song name to fetch it manually

$ lrc artist_name song_name

You can view help with the h / help flag

$ lrc -h
$ lrc --help

Manual

If you install using the rpm and deb you should be able to call help with man

man lrc

Managing Sources

By default it comes with spotify and apple music sources enabled, you can disable sources using:

$ lrc -d (source_name)
$ lrc --disable-source (source_name)

You can enable the source again using

$ lrc -e (source_name)
$ lrc --enable-source (source_name)

You can list all the sources with:

$ lrc -l
$ lrc --list-sources

Changelog

Older Releases

You can download binaries of older releases, macos only.

2.0.1

lrc 2.0.1 (universal)

lrc 2.0.1 (arm64)

lrc 2.0.1 (x86_64)

2.0.0

lrc 2.0.0 (universal)

lrc 2.0.0 (arm64)

lrc 2.0.0 (x86_64)