Inspiration
The whole team consists of chronic procrastinators, so we thought it would be a nice idea to look after ourselves in a light-hearted fashion.
What it does
It detects when a user opens a tab or application it deems as distracting and tells you to stop before going up to the tab and closing it itself. Afterward it says more words of motivation to prevent you from indulging in distractions going further.
How we built it
We built it using the .NET 8 WPF (Windows Presentation Foundation) and it checks the foreground window title against blocklist via Win32 GetForegroundWindow / GetWindowText. It then checks what app is being used and uses a GPT 4o API to generate creative "get back to work" reminders for the user, and then uses an open source TTS AI model called Piper, accessing it using the HuggingFace API. These are all the technologies behind Pro Pro Sahur.
Challenges we ran into
Ran into problems implementing the AI text to speech. Also animating the character walking up to the tab was choppy. We had to add frames and decrease the intervals at which the frames were rotating to make the animation more seamless.
Accomplishments that we're proud of
The team is proud of making a simple and fun project that could genuinely be useful to people that have problems with procrastination, and doing so in such a small period of time.
What we learned
Learned how to integrate AI into any project, and learned of the vast amount of AI tools that exist across the internet.
What's next for Pro Pro Sahur
Next, we will continue to implement different characters instead of only tung tung sahur. And allow users to dictate which websites it should deem distractions, along with other quality of life changes.
Built With
- .net
- ai
- csharp
- gpt
- piper
Log in or sign up for Devpost to join the conversation.