Inspiration
Old school terminals are awesome, who doesn't love a nice fully text based editor. For this project, no mouse and only one button control everything!
What it does
You start in the root directory, where you can select the sentiment of the block of text you would like to generate. From there, you can select categories, and then specific words.
How we built it
We used a python script to scrape reddit comments from the RPI subreddit for the last 90 days. We parsed these comments into a json file with their frequency as values. We then used the gemini api to sort them positive/negative/neutral, and categories such as people, items, etc. We used an arduino with 3 buttons that enters data in morse code, one lets you view and one lets you reset. We have a buzzer to provide feedback from the button, as well as an LED for the hearing impaired. this entire setup can be operated with just one finger.
Challenges we ran into
the gounds on this specific arduino board are different than we were used to, so we had to wire everything in a very specific way. Python was having a lot of trouble connecting to the serial port. Timing was challenging because we had to define how long a dot and dash is.
Accomplishments that we're proud of
we got way better at using API, classes, arduino, we created an effective web scraper without the use of the reddit API
What we learned
I learned so much about working with classes in python. The entire menu structure that you see is an instance of the menu class, with attributes that make it really easy to keep track of everything
What's next for Morse code terminal
further features from gemini, possibly some ASCII art. We are toying with the idea of a discord bot too!!
Log in or sign up for Devpost to join the conversation.