Skip to content

A website made using SvelteKit to show lyrics for a song using Musixmatch.

License

Notifications You must be signed in to change notification settings

uimaxbai/lyrics

Repository files navigation

lyrics

This project can be counted as deprecated! Musixmatch recently updated their lyrics API and have patched their lyrics, making this project now infeasible.

Get lyrics from Musixmatch and display them on a website.

Try it out

Run it locally

  1. Install packages npm i
  2. Run the dev server npm run dev
  3. Try it out!

API specification

  • GET /api/v1/searchSong

    Returns a JSON list of songs based on the search query. Factors in artists and lyrics as well as song names.

    Query parameters:

    q Your search query

    token Your Musixmatch token which can be generated via getToken

  • GET /api/v1/getToken

    Returns a token for use with the API in JSON format.

  • GET /api/v1/getLyrics

    Returns a set of line-by-line lyrics in JSON format.

    Query parameters:

    id The track ID of the song, fetched via searchSong

    token Your Musixmatch token which can be generated via getToken

Todo

  • Auto-scroll lyrics - [ ] Soundcloud to play the songs SoundCloud APIs are currently closed
  • Less aggressive auto-scroll
  • Fix auto-scroll bugs
  • Add desktop support

About

A website made using SvelteKit to show lyrics for a song using Musixmatch.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published