Inspiration

Many people around the world don't have access to any musical instruments, some of them have top priority to use cli applications whether it is a text editor like vim or email clients. For those people, De-Re-Mi-cli can be useful. Do-Re-Mi-cli also has quizzes on mental health issues to educate people about this domain. Another inspiration was the theme of this hackathon.

What it does

Do-Re-Mi-cli is a node-based command-line interface program that offers users to play musical notes of piano on cli. It offers other fun stuff too like playing riddles, guessing who said the quote, and also getting educated about mental health issues by solving quizzes on that topic.

How I built it

It is built on client-server architecture. The client application is a command-line interface and takes arguments as commands. I have used node in the whole application. The client sends requests based on user arguments like riddle, mental-health quiz, who said the quote quiz, or play series of notes request to the server. I have added problems, answers, and hints of each section in a different JSON file. The server then sends one random JSON object as a result. Mp3 files are saved on the client-side, specific series of notes gets played on request.

Challenges we ran into

I was initially trying to make something related to ASCII-art but ended up making based on the theme of this hackathon.

Accomplishments that we're proud of

Since this was my first time making cli applications with node, it was a fun weekend to learn new stuff.

What we learned

1.) Used node to create cli applications. 2.) Played music from node 3.) Learned to use async-await

What's next for do-re-mi-cli

1.) Add ASCII-art to play videos live from youtube 2.) Live chat with experts to discuss issues about mental health. 3.) Add more cli games. 4.) Add news-headlines API to get latest news about music on cli

Built With

Share this project:

Updates