As students, we may unintentionally compare ourselves to peers and cause a domino effect of resentment towards others, and towards ourselves. This deprivation of joy leads to weariness and self-doubt, resulting in a poor mental health state. To alleviate the struggles and stress people face, we are ready to take it from “Cact-i” to “Cact-Us”, a web app that encourages positivity through the form of positive affirmations that grow your plant.
Users can record themselves on the “Try Me!” button voicing words of affirmations. Controlled with a points system, positive affirmations contribute to the plant’s growth in unlocking more stylish plant evolutions, while negative affirmations result in a decrease of points. The ultimate goal is to reach the desired state--Level 4 Cactus-- where the Cactus is happy and fulfilled.
Working with the MediaRecorder API, it was a challenge to tailor the React package to our use cases and convert the blob to a file that could be sent to our backend endpoints. Given that we were using the Google Cloud Speech-to-Text API, we had to send the audio data in one of a limited number of codecs. One challenge we ran into was the React media recorder output data not being compatible with Google’s requirement. This was fixed by transcoding the audio data in a memory buffer using ffmpeg.
Given that we were using the Google Cloud Speech-to-Text API, we had to send the audio data in one of a limited number of codecs. One challenge we ran into was the React media recorder output data not being compatible with Google’s requirement. This was fixed by transcoding the audio data in a memory buffer using ffmpeg.
- The Speech-to-Text integration, paired with the sentiment analysis, took a while to get working, but it works well
- The in-memory audio transcoding with ffmpeg fixed all issues with incompatible codecs
- The user is successfully awarded growth points depending on the length of their audio snippets
- Frontend: React & React packages
- Backend: Express & OAuth
- Integration between frontend and backend
- Collaborating over varying time zones
- Forest of previous cacti: each cactus shows how long it took to grow, and 3 random messages that were said to it.
- Multi-player: by generating a unique QR code, a user will be able to ‘check-in’ with another, allowing their cacti to have a playdate.
- Messaging: text notifications through Discord to alert the user that the cacti is feeling dumb and sad again.
Thanks goes to these wonderful people (emoji key):
k-chew 💻 🎨 |
Christina Liang 💻 🎨 |
selina-20 🎨 📖 |
Luke Browning 💻 🚇 |
This project follows the all-contributors specification.