@saricden

Making a Freestyle Rap Training App

This morning I found a clip of Ludacris dropping a sick freestyle and was reminded of an old app idea I had a long time ago.

Okay I know it's not the hood way to learn freestyling, but what if there was an app that listened to what you were saying and suggested rhyming words in real-time?

Personally, having always wanted to learn how to freestyle, that sounds like gold.

Let's get it.

Step 1: Project Setup & Dependencies

First thing I did was create a new vanilla JavaScript app via:

npm create vite@latest

Then I installed a promising looking NPM package to do the rhyme matching:

npm i rhymes

To make working with the SpeechRecognition API a bit simpler, I also got this:

npm i speere

(It's not a popular package, but at the time of writing it was only a year old and NPM reported zero vulnerabilities when I installed so meh).

Step 2: Ugly MVP