Official submission to HackHer413
An AI-powered Chrome extension that helps you stay focused by aligning your browsing with your intentions. Set your goal, browse (e.g. YouTube), and get gentle feedback when you're on track or when you're drifting.
- Set your intent Click the extension, start a session, and type your browsing goal (e.g. "Learn how to cook pasta").
- Stay on track On YouTube, the extension captures what you're watching and uses Google Gemini to compare it with your intent. You get an aligned (green) or distracted (warning) popup.
- Focus mode The YouTube homepage and sidebar are blurred to reduce temptation.
- Notes & recap Add notes to videos; when you end the session, get an AI-generated summary and optional quiz (for educational content).
| Layer | Technology |
|---|---|
| Extension | Chrome Manifest V3, vanilla JavaScript |
| Backend | Spring Boot (Java 21), Maven |
| Database | PostgreSQL |
| AI | Google Gemini API (multimodal: image + text) |
- Chrome (or Chromium-based browser)
- Java 21 (JDK)
- Maven (or use the project’s
mvnw) - PostgreSQL (local or remote)
- Google Gemini API key
Create a PostgreSQL database and user:
CREATE DATABASE productivity_extension; -- Use your own username/password and set them in application.properties