Inspiration

We have all been there coding like a mad man, getting all possible errors and cursing at the monitor as if it is to blame.

What it does

The desktop application listens to everything the developer is saying and fines them for swearing and cursing. The spoken swears that are recorded gets synced with a website for an easy overview of the user's balance and favorite swears. The fines are withdrawn from the user's account using mobilepay's seamless payment.

How we built it

  • The desktop application is built in Java using swing and awt and uses Google's speech-to-text API to detect the spoken swears. It is responsible for updating all stored information and creating transactions in mobilepay.
  • The frontend is a SPA (single page application) and PWA (progressive web app) built with VueJS and hosted on Netlify. It is used for adding new swears and users, and for a statistical overview of the swears and balances. Check it out at fucking-swearjar.com
  • The database is a Firebase realtime-database to sync app and website.

Challenges we ran into

Initially, the application was meant to run on a dragonboard 410c to make it an IoT device, but after hours of struggling, it would not be feasible to use. After dismissing the dragonboard, the app was meant to run on Android, but the Gradle version and firebase version we used was incompatible with Google's API, so that was not possible either.

Accomplishments that we're proud of

  • We added 100+ swears to our database
  • That we got all of the different integrations to work "seamlessly" together despite our initial challenges
  • Learning how to use Firebase and Google's cloud services

What we learned

  • How to use Firebase
  • How to use MobilePay
  • How to use Google speech-to-text

What's next for SwearJar

Possibly an Android app or dedicated IoT device with speech recording. Also, a better way to decide wether a swear have been said or not.

Built With

Share this project:

Updates