Inspiration

We’ve all had days where our emotions feel like chaos, but it’s hard to put them into words or know what to do next. I wanted to build something simple that could help people reflect on how they’re feeling, something that listens, understands, and offers small, kind suggestions rather than generic advice. That’s where MoodMate began, a personal space to write and receive insight from AI.

What it does

MoodMate is an AI-powered journaling companion that analyzes what you write and helps you understand your emotions. It identifies your overall mood, highlights key emotional themes, and gives specific suggestions tied to your story, not cookie cutter tips. Everything is presented in a clean, interactive interface where you choose what you want to see: a summary, tags, or personalized actions.

How I built it

I built MoodMate in Java using Swing for the interface and the OpenAI API for language understanding. The backend uses OkHttp and org.json to communicate with GPT-4o-mini, returning structured emotional insights that the app formats into a friendly and readable design.

Challenges I ran into

The biggest hurdles were getting the model to return valid JSON and making the suggestions truly personal. I also had to carefully manage threading and API calls to keep the app responsive.

Accomplishments that I'm proud of

I'm proud that MoodMate doesn’t just analyze text, it connects. It gives feedback that feels human and specific, which was my main goal. Seeing it understand our team’s real journal entries and respond empathetically was incredibly rewarding.

What I learned

I learned how much small prompt tweaks can change an AI’s tone, how to integrate OpenAI’s API smoothly into Java, and how important empathy is in tech design. Building MoodMate reminded me that thoughtful language and user experience matter just as much as code.

What's next for MoodMate

We plan to add a mood tracker with graphs, a mobile app, and voice journaling so anyone can use MoodMate easily. This is just the beginning, our goal is to make reflection feel natural and something people can look forward to every day.

Built With

Share this project:

Updates