Skip to content

emilioastarita/lyricfier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

aaf79aa · Oct 29, 2018
Aug 27, 2016
Oct 29, 2018
Feb 28, 2017
Aug 27, 2016
Oct 5, 2017
Aug 18, 2016
Oct 29, 2018
Oct 4, 2017
Oct 29, 2018
Aug 28, 2016
Dec 4, 2016
Oct 6, 2017
Jan 20, 2017
Nov 16, 2017
Oct 4, 2017

Repository files navigation

Lyricfier Screenshot

Lyricfier is an electron app that communicates with Spotify Desktop Client to get the current song and then looks for a matching lyric scraping the web.

Download pre-release

Go to Lyricfier releases page and download the zip file for your platform.

Development setup

# clone the repo
git clone https://github.com/emilioastarita/lyricfier.git

# change dir
cd lyricfier

# take some coffee and download all the internet with yarn
yarn install

Run dev

yarn start

How it works

We retrieve the current song of spotify client using the spotify built-in web server that allow us to ask for the current status of the player. The built-in web server could run in a range of ports starting at 4370. Lyricfier will launch multiple connections hoping find the actual port. You can read a more detailed explanation here: Deconstructing Spotify's built-in HTTP server

Scraping plugins

You can easily write a new scraping plugin. Just look at the folder render/plugins for some inspiration.

Collaborators

Original Idea: @fedeisas

Bug fixes and lot of improvements @mrkmndz

UI/Design: @silvestreh