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
- Host: GitHub
- URL: https://github.com/liamg/lyric
- Owner: liamg
- Created: 2021-09-03T18:55:24.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-05T19:50:06.000Z (over 4 years ago)
- Last Synced: 2025-03-31T02:12:05.381Z (10 months ago)
- Language: Go
- Homepage:
- Size: 136 KB
- Stars: 16
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lyric
Song lyrics in your terminal via the [Genius API](https://docs.genius.com).

## 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.