Inspiration
Good sleep is the foundation of good health, yet many common issues—such as poor focus, weakened immunity, mood instability, and chronic fatigue—are rooted in inconsistent rest. We realized that while people want to improve their sleep, staying motivated is hard. That inspired us to build sleepi, a competitive and social platform that makes improving your sleep as engaging as playing a game with friends.
What it does
sleepi gives users a clear and personalized picture of their nightly sleep patterns while making the journey fun and competitive. The dashboard displays detailed Apple Health data, including awake time, REM, deep, and core sleep, along with weekly trends. For users without wearables, we included an option for manual sleep entry. The leaderboard ranks users across different sleep metrics so they can see where they excel and where they fall behind compared to their friends. Our sleep coach analyzes each user’s data and, through Google Gemini, generates daily tips, personalized feedback, and a tailored plan to help them improve relative to their peers. Finally, our soundscape feature uses Gemini to craft a custom sleep story and ElevenLabs TTS to convert it into soothing audio with adjustable voices, tones, and pacing for a calming bedtime experience.
How we built it
We built the frontend using React and Vite for a smooth and responsive user experience. The backend is powered by FastAPI, handling data ingestion, manual inputs, and Apple Health integration, supported by Python scripts to clean and process all sleep data. For personalization, we used Gemini to generate coaching content and nightly sleep story scripts, and integrated ElevenLabs to convert those scripts into expressive, high-quality audio.
Challenges we ran into
One of our biggest challenges was choosing which ideas to implement, especially with the wide range of customizable features available through ElevenLabs. We had to prioritize the options that would create the most meaningful experience within our time constraints. Another challenge was optimizing prompts for Gemini 2.0 Flash-Lite to consistently produce helpful, high-quality responses. Integrating multiple APIs and coordinating several moving parts across our team also pushed our communication and problem-solving skills.
Accomplishments we’re proud of
We’re proud of building a fully functional proof of concept in just 36 hours and combining several unfamiliar technologies into a cohesive platform. Our team worked together to create something that can genuinely improve people’s well-being, and we’re especially proud of how first-time hackers contributed to core components of the project.
What we learned
Throughout the hackathon, we learned to be resourceful and collaborative—seeking advice from mentors, experimenting with new tools, and communicating clearly to bring many different components together. Each team member worked with technologies they had never touched before, and the experience taught us how important teamwork and adaptability are when building something ambitious.
What’s next for sleepi
We want sleepi to become a tool that our friends, family, and future users can rely on to improve their long-term health. Sleep is an overlooked yet crucial part of wellness, and we hope to make improving it easy, motivating, and enjoyable. Moving forward, we aim to refine our analytics, expand the competitive elements, deepen the coaching features, and eventually evolve sleepi into a full mobile experience that supports better sleep habits every day.
Log in or sign up for Devpost to join the conversation.