Home / use case

Bookmark Buddy: Gemma 2 2B in the browser sorted 722 bookmarks into folders

At a glance
Models & engines
Gemma 2 2B (gemma-2-2b-it-q4f16_1-MLC) on laptops, with Gemma 3 1B as a lighter option for phones
WebLLM running the model on the GPU with WebGPU; the model downloads once and is cached, so it works offline
Key gotcha
The first version sorted 12 bookmarks at a time and scattered recipes across several folders; slowing to 6 with examples fixed it.

What they built

With 722 bookmarks that had piled up over years, the author built Bookmark Buddy, a Chrome and Edge extension with a sloth named Mochi that tidies your real bookmarks and keeps them tidy.

It reads bookmarks right in the browser, finds duplicates even when links differ by http vs https, a trailing slash or utm tracking codes, suggests 6 to 9 folders you can edit, can keep your existing folders, sorts every bookmark, and files new ones as you save them with a notification and an Undo button.

There is also a web version for any WebGPU browser that takes a bookmarks export and gives back a clean file. The sorting is done by Gemma running entirely in the browser.

Setup

  • Gemma 2 2B (gemma-2-2b-it-q4f16_1-MLC) on laptops, with Gemma 3 1B as a lighter option for phones
  • WebLLM running the model on the GPU with WebGPU; the model downloads once and is cached, so it works offline
  • An Angular 22 front end and a Manifest V3 extension
  • The web version is a free static site on Render with no backend

How it works

  1. Gemma never touches a URL: it sees only each bookmark's title and website and replies with a folder name, while the app copies the real links, dates and icons.
  2. Bookmarks are sorted 6 at a time, and each batch includes a few already-sorted examples so similar pages land in the same folder.
  3. The app files obvious ones itself, and once Gemma puts the same site in the same folder twice the rest of that site follows automatically, except mixed sites like YouTube and Reddit.
  4. Duplicates go into a Maybe delete? folder with a reason, skipped or invented folder names land in Other, and a backup is saved before applying so Undo everything restores it.
  5. A background worker opens a hidden offscreen page to run Gemma for new bookmarks, then closes it a few minutes later to free memory.

Results & numbers

  • All 722 of the author's bookmarks were organized, keeping the existing folders.
  • It took about 15 minutes in total, plus going through about 40 bookmarks Mochi put in Other.

Gotchas

  • The first version sorted 12 bookmarks at a time and scattered recipes across several folders; slowing to 6 with examples fixed it.
  • If Gemma isn't downloaded yet, new bookmarks wait in a Needs a home folder.
  • For now the extension is installed unpacked in Developer mode; store listings were described as coming soon.
“Your bookmarks never leave your device.”— Tanya Mott

Do it yourself

  1. Download bookmark-buddy-extension.zip from the latest release of tmott13/bookmark-buddy on GitHub and unzip it.
  2. Open chrome://extensions or edge://extensions, turn on Developer mode, click Load unpacked and pick the folder.
  3. Click Mochi in the toolbar and let it download Gemma once.
  4. Review the suggested folders, rename or add any, and choose Keep my folders if you want them kept.
  5. Check the Maybe delete? and Other folders, then apply; use Undo everything if you don't like the result.
Source: Tanya Mott (DEV Community) · Published 2026-10-26 · Added 2026-10-27. This write-up summarizes the original source; see it for full details.

Similar setups

rip: a local Gemma 2 2B writes epitaphs and revival ideas for your abandoned side projects

A Hacktoberfest CLI scans your folders for dormant projects and has Gemma 2 2B on Ollama write a witty obituary and a suggestion to revive each one, sending only metadata, never code.

razorbill (DEV Community) · 2026-11-03

Link Séance: a local Gemma 3 writes grounded epitaphs for the dead links in your bookmarks

Abdul AmberNeel built a command-line tool that checks every link in a bookmarks file, finds the last living Wayback Machine snapshot of dead ones, and has a local Gemma 3 write a two-sentence epitaph only from what the archive kept.

Abdul AmberNeel (DEV Community) · 2026-10-31

Baad Mein: Gemma 4 in a browser tab sorts the WhatsApp chat you keep with yourself

Rohit Purkait built Baad Mein, which runs Gemma 4 E2B inside the browser via WebGPU to read an exported WhatsApp self-chat overnight and turn it into one card of tasks, money, shopping, secrets to delete and things to let go.

Rohit Purkait (DEV Community) · 2026-10-26

Morning Digest: a local Gemma 3 agent that summarizes overnight Telegram group chats

Waleed Shamhan, a student in Yemen, built Morning Digest, a single Python script that reads a Telegram Desktop export and uses Gemma 3 via Ollama to write a short Arabic digest of the last 12 hours of group chats.

Waleed Shamhan (DEV Community) · 2026-10-25