What it does In today’s fast-paced digital world, long hours of uninterrupted screen time can take a toll on our mental health. Air Break is a Chrome extension designed to promote mental well-being by encouraging users to take regular breaks from their screens. It uses Chrome’s built-in AI model, Gemini Nano, to deliver motivational messages and mental health tips. Every hour, a notification reminds users to pause and refresh, helping them manage stress and improve productivity. Users can also access tips on demand through the extension’s popup interface.

How i built it The extension is built using HTML, CSS, and JavaScript for the front-end, with Chrome’s Manifest V3 framework to handle the extension's background tasks and popup functionality. It integrates Gemini Nano's APIs to fetch motivational messages, enhancing user engagement with AI-driven, personalized content. The project was structured into key components: manifest.json for configuration, a popup UI for user interaction, and a background script for handling notifications.

Challenges i ran into API Integration: Understanding and integrating the Gemini Nano API required careful handling of requests and responses. Time Management: Balancing feature implementation and testing within a limited timeframe was challenging. User Experience: Ensuring the reminders were non-intrusive while still effective required fine-tuning the notification intervals and content.

Accomplishments that i am proud of Successfully creating a working prototype within a tight deadline. Seamlessly integrating AI to deliver personalized mental health tips. Designing a clean, intuitive interface that enhances user experience without being distracting.

What i learned Deeper understanding of Chrome Extension development using Manifest V3. Practical experience integrating AI APIs like Gemini Nano into web applications. Improved skills in handling asynchronous JavaScript functions and API requests. Learned the importance of balancing user experience with core functionality.

What's next for Air Break Enhanced AI Features: Introduce more dynamic, context-aware motivational tips using advanced Gemini Nano capabilities. User Customization: Allow users to set custom break intervals and select the type of tips they want to receive. Analytics Dashboard: Provide insights on users’ break-taking habits to promote long-term mental wellness. Cross-Browser Support: Expand beyond Chrome to support other browsers like Firefox and Edge. Air Break aims to evolve into a comprehensive mental health companion for users worldwide.

Built With

Share this project:

Updates