MC - Rocket Focus is a Chrome Extension that keeps you on-task by detecting distracting websites, blocking them, and offering a Pomodoro timer—all with a fun rocket animation.
In the popup, enter your mission objective and click Launch Mission. The extension starts tracking your tabs.
Each time you load or switch tabs, Mission Complete uses its backend, which leverages Gemini, to determine how off-task you might be.
If you’re off-task, it automatically redirects or closes the tab.
- A 25-minute timer you can start, pause/resume, or reset in the popup.
- Continues counting in the background—even if you close the popup—and notifies you when time's up.
- Clone or download this repository.
- Load the unpacked extension in chrome://extensions (enable Developer Mode).
- Run the Backend:
pip install flask openai
export GEMINI_API_KEY="YOUR_GEMINI_KEY"
python backend.py- Edit
background.jsto callhttp://localhost:8080if needed, or point to your deployed server.
- Open the extension popup, type your goal, and click Launch Mission.
- Use the Pomodoro controls to manage your focus timer.
- Browse as normal; Mission Complete will handle any off-task sites.
- Enjoy your rocket-powered productivity!
Happy Focusing! 🚀