An open API service indexing awesome lists of open source software.

https://github.com/liamg/lyric

:musical_note: Song lyrics in your terminal via Genius
https://github.com/liamg/lyric

Last synced: 8 months ago
JSON representation

:musical_note: Song lyrics in your terminal via Genius

Awesome Lists containing this project

README

          

# lyric

Song lyrics in your terminal via the [Genius API](https://docs.genius.com).

![screenshot](screenshot.png)

## Usage

Search by song name, artist, parts of lyrics, or a combination.

```bash
lyric "bohemian rhapsody"
lyric "queen"
lyric "Is this the real life? Is this just fantasy?"
```

...or run without any arguments to attempt to fetch lyrics for the currently playing song (spotify + [ncspot](https://github.com/hrkfdn/ncspot) are currently supported.)

```bash
lyric
```

## Install

Install with go:

```bash
go install github.com/liamg/lyric/cmd/lyric@latest
```

...or [download the latest binary](https://github.com/liamg/lyric/releases/latest).

## Configuration

You don't need to do any real configuration, but you'll need a Genius account. Lyric will pop your browser open to authenticate with Genius on first use, then you're all set. You'll be prompted again if reauthentication is ever needed.