Butu 🧸: a friendly browser companion that gets lonely when you leave your work
说明与用途
Butu 是一个 Chrome/Firefox 扩展,使用本地嵌入模型检测分心,并提供一只泰迪熊伙伴,帮助用户重新专注于任务。
问题
Students and workers often get distracted by unrelated web pages while working on assignments, leading to lost focus and time.
结果
Butu provides a lightweight, offline‑capable focus companion that detects distraction via a local embedding model and uses hand‑drawn visuals and voice to gently nudge users back to their task, improving focus without requiring external APIs.
工作流
- 1. User opens the extension and enters the task description and desired focus duration.
- 2. The extension loads a 17.5 MB embedding model (Xenova/paraphrase-MiniLM-L3-v2) via Transformers.js.
- 3. The model compares the task with the current page’s title, description, and visible text to determine relevance.
- 4. If the page is deemed irrelevant, the teddy bear appears and gradually draws crayon doodles, plays a music box, and speaks reminders.
- 5. The longer the user stays away, the more the bear’s drawings become unsettling and the voice becomes more urgent.
- 6. When the user returns to the task page, the bear disappears, the music stops, and a chime confirms focus is restored.
- 7. The session is logged locally in a handwritten scrapbook showing task, duration, and places visited.
证据
A small embedding model runs inside the browser to work out whether the page you're reading belongs to that task.
It compares your task with the page title, description and a short excerpt of visible text.
The quantized weights are about 17.5 MB. They’re downloaded once from Hugging Face and cached.
Run ./build.sh, then load dist/chrome/ through Chrome’s Load unpacked, or dist/firefox/manifest.json through Firefox’s Load Temporary Add-on.
- 记录日期: 2026-11-01T20:28:59.395Z