惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Apple Machine Learning Research
Apple Machine Learning Research
爱范儿
爱范儿
博客园_首页
博客园 - 【当耐特】
V
Visual Studio Blog
博客园 - 叶小钗
月光博客
月光博客
美团技术团队
J
Java Code Geeks
小众软件
小众软件
Y
Y Combinator Blog
博客园 - Franky
Martin Fowler
Martin Fowler
博客园 - 聂微东
Microsoft Azure Blog
Microsoft Azure Blog
IT之家
IT之家
MyScale Blog
MyScale Blog
人人都是产品经理
人人都是产品经理
Microsoft Security Blog
Microsoft Security Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
阮一峰的网络日志
阮一峰的网络日志
酷 壳 – CoolShell
酷 壳 – CoolShell
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
云风的 BLOG
云风的 BLOG

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Sowser: Your Browser Tabs Are a Mess. I Fixed It With Gem...
Uday Dolas · 2026-05-10 · via DEV Community

 This is a submission for the Gemma 4 Challenge: Build with Gemma 4

What I Built

Sowser is a spatial canvas browser for Windows — instead of a strip of tabs, every website lives as a draggable, resizable live card on an infinite canvas. You pan, zoom, group, and connect pages the way your brain actually thinks, not the way a tab bar forces you to.

The problem is simple: traditional browsers trap you in a single column of tabs. When you are researching, comparing, or debugging across many sources, you constantly alt-tab and lose context. Sowser solves this by giving every page space — you see everything at once, arrange it meaningfully, and save that layout as a workspace to return to later.

Built with WPF and Microsoft Edge WebView2 on .NET 8. Cards are real live pages, not screenshots. The canvas supports sticky notes, image clips, connection lines between cards, a command palette (Ctrl+K), minimap, tracker blocking, per-card browser profiles, and full workspace save and load.

Gemma 4 powers the centrepiece feature: AI Smart Organize.

When you click AI Smart Organize, Sowser:

  1. Collects every open card's title and URL
  2. Sends them to Gemma 4 running locally via Ollama
  3. Receives a JSON grouping of cards into named semantic clusters
  4. Repositions cards into colour-coded columns on the canvas automatically

The canvas goes from chaos to clarity in one click — privately, locally, with no data leaving your machine.


Demo

🔗 github.com/noisyboy08/TREE-TABS

Watch the demo video in the repository (demo.mp4) to see:

  • Multiple browser cards open across different topics
  • One click on AI Smart Organize
  • Gemma 4 grouping them into labelled colour-coded columns instantly
  • Zooming out to see the full spatial layout

Code

🔗 github.com/noisyboy08/TREE-TABS

Core files for the Gemma 4 integration:
Models/GemmaSettings.cs — model config, endpoint, local vs cloud toggle
Services/GemmaService.cs — HTTP client to Ollama or Gemini API fallback
Services/GemmaOrganizeService.cs — parses groups, repositions cards on canvas
MainWindow.FeaturePack.cs — wires the AI Smart Organize menu handler

To run the AI feature locally with no API key:

ollama pull gemma3:4b
ollama serve

Enter fullscreen mode Exit fullscreen mode

Then open Sowser, load some tabs, and click AI Smart Organize.


How I Used Gemma 4

Model chosen: Gemma 4 E4B — 4 billion effective parameters, running locally via Ollama.

Why E4B specifically

The Smart Organize feature needs to run fast, silently, and without sending your browsing history to any cloud. E4B is the exact right fit:

  • Fast enough to feel instant on a mid-range laptop. First call loads the model into memory. Every call after that returns in one to three seconds.
  • Smart enough to semantically cluster URLs and page titles into meaningful groups. This is not keyword matching — it is genuine topic understanding.
  • Local by default — your tabs never leave your machine. This matters deeply for a privacy-minded browser tool.
  • No GPU required — making it accessible to the widest possible Windows user base.

I tested the 2B model and found it produced noisier groupings that sometimes merged unrelated topics. The 31B Dense model is overkill for a clustering task and would feel sluggish in an interactive desktop UI. E4B hits the right balance between speed, accuracy, and hardware accessibility.

What Gemma 4 actually does inside Sowser

The prompt sent to the model is strict and unambiguous:

  • Receive a JSON array of open tab titles and URLs
  • Return only a JSON array of groups
  • Each group has a name, a hex colour, and the list of URLs belonging to it
  • No explanation, no markdown, no preamble — just structured data

Gemma 4's instruction-following quality is what makes this reliable in a production desktop app. The app strips any accidental markdown fences, parses the JSON, then immediately repositions and recolours cards on the canvas. If the model output is malformed for any reason, the app catches the error, shows a toast, and never crashes.

Why this only works because of Gemma 4

A browser that understands what you are looking at and organises it for you — locally, privately, instantly — is only possible because models like Gemma 4 exist at this size and capability level. That is the real unlock. Not AI as a cloud API you pay per token. AI embedded directly into a native desktop tool, running on your own hardware, with zero data leaving the device.

Sowser was already a spatial browser. Gemma 4 made it a spatial browser that thinks.

Think in space, not in tabs.