Development Log – Lyrics

This all started from a karaoke session in my home, my friend pointed out that YToke~ needs its own lyric. You know some mv videos, likely the official mv videos has those very tiny lyrics font, and it only appears when during the exact time. This made karaoke against those videos nearly impossible (unless you can remember all lyrics), this made it necessary to have a built-in lyric view for YToke~.

Luckily, there's a public API available for lyric search “gecime.com”, which is great for my usage. So the design is, client makes the request to this api fetch lyrics as soon as the song starts to play. I did not do this on my backend because I want to increase the backend load and the api calls it will make.

I fetch the lyrics based on user's search because YToke~ won't know the name of the song, so sometimes the lyric is not accurate. To accompany this, I made that user can search on the lyrics view by providing the song name and singer name. User can also optionally chose hide or show the lyrics view which gives them max flexibility.

I think this makes a good improvement that people can sing along no matter what the video looks like (as long as they have a song playing).