About the Project
Inspiration
Late-night study sessions always end the same way: 15 tabs open, Amazon “just checking a price,” Reddit “quick break,” and my notes scattered across three apps. I saw Comet—Perplexity’s agentic AI browser—and thought: “What if the browser itself could be my study buddy?” A voice-activated, gamified co-pilot that watches my tabs, nudges me back to focus, auto-curates notes, and rewards streaks with AI-generated memes. That’s Comet Study Buddy Sidekick.
What it does
- Real-time Tab Health Score (0–100) based on open tabs.
- Voice nudges when distractions (YouTube, Amazon, etc.) drag the score below 60 → offers a 2-minute Khan Academy break on your declared topic.
- One-click “Save Note” → copies page title + your note to clipboard (ready for GitHub wiki).
- Streak tracking → every focused hour earns a badge; every 3-day streak triggers a custom AI meme via Comet’s image generation.
- Persistent UI (badge + button) on every page, no manual reload.
How we built it
- Started with a bookmarklet (vanilla JS) → injected UI, mocked tab data.
- Hit walls: bookmarklets are page-scoped, can’t read other tabs, vanish on navigation.
- Pivoted to a Chrome extension (Manifest V3) →
chrome.tabs.queryfor real tab detection,localStoragefor persistence. - Integrated Comet’s agentic AI via voice/sidebar prompts:
TAB HEALTH→ JSON of open tabs + distraction flags.AUTO-WIKI→ extract quotes & append to GitHubnotes.md.MEME REWARD→ generate cat-in-glasses meme with topic pun.
- Demo flow: Loom video showing Amazon tab → score drop → voice nudge → Khan break → note save → 3-day streak meme.
Tech stack:
- Extension:
manifest.json,background.js(tab query),content.js(UI + logic). - Comet AI: voice mode (Shift+Alt+V) + agentic prompts.
- Storage:
localStoragefor topic/streak; GitHub repo for wiki.
Challenges we ran into
| Challenge | Solution |
|---|---|
| Bookmarklet couldn’t access other tabs | Switched to Chrome extension with chrome.tabs API |
| UI vanished on page navigation | Content script runs on <all_urls> |
| Comet’s CSP blocked JS injection on some sites | Used extension (bypasses page CSP) |
| No direct GitHub write API in browser | Clipboard fallback + manual paste (demo shows flow) |
| Voice prompt timing | Manual trigger in Loom; noted as “future automation” |
Accomplishments that we're proud of
- First working tab-health monitor inside Comet using real
chrome.tabsdata. - Seamless voice + visual feedback—badge updates live, nudge speaks.
- Gamification that actually works: 3-day streak → AI meme = instant dopamine.
- Zero-backend MVP—everything runs in-browser + Comet AI.
What we learned
- Agentic AI shines in workflows, not just chat—Comet can act on tabs, generate images, and chain prompts.
- Browser extensions > bookmarklets for persistence and permissions.
- Prompt engineering is 80 % of the magic—a well-crafted
TAB HEALTHprompt turns Comet into a tab auditor. - Students need frictionless tools—one-click note export beats manual copy-paste.
What's next for Comet Sidekick
- Auto-push to GitHub via Comet’s future file-write actions.
- Voice-only mode—“Start 25-min Pomodoro on Quantum Physics” → timer + focus lock.
- Shared study rooms—sync streaks with friends via Comet’s multi-user tabs.
- AI-generated study guides from saved notes → “Summarize my week on ML into a 1-page PDF”.
- Mobile Comet app—Sidekick badge on iOS/Android.
Sidekick is more than a hack—it’s the study buddy I wish I had in college.
Built solo, powered by Comet, ready to help every student turn chaos into focus. 🚀
Built With
- comet
- github
- javascript
- perplexity
Log in or sign up for Devpost to join the conversation.