DEV Community

J Now
J Now

Posted on

Reading with a rabbit-hole counter: how deep can you go?

There's a specific kind of shallow read I wanted to stop having. You're in an article about Byzantine economic policy and you hit 'hyperpyron.' You half-know it's a coin. You skip past it. Three paragraphs later the whole argument about debasement makes less sense than it should, because you didn't stop.

Opening a new tab is the fix that breaks the thing you were fixing. You're in a different context now. The original article is still open in some other tab. You'll get back to it.

I built rabbitholes to collapse that to a single highlight.

Select 'hyperpyron,' a shadow-DOM tooltip renders an explanation from Claude Haiku 4.5 next to your cursor — doesn't touch the host page's layout or styles. Click any word in the explanation to go deeper. Drag across a phrase to treat the whole thing as the next query. Every answer suggests two follow-on topics: the most interesting threads from where you are, one click away.

The part I use most: the rabbit-hole counter. It tracks every hop. The old Wikipedia game where you click link after link until you hit 'philosophy' works on any page now, on your own reading trail. The counter shows how deep you've gone, and when you want to share the path or look back at it, you can.

If an inline answer isn't enough, the globe icon re-runs the query enriched with Brave Search results, source chips included. The pencil icon opens a follow-up input that inherits everything you've already explored as background context.

No intermediary server. Requests go directly from your browser to api.anthropic.com and api.search.brave.com. Zero telemetry, Manifest V3, API key stored in chrome.storage.sync.

// The shadow DOM attachment — host page styles can't leak in,
// extension styles can't leak out.
const shadow = container.attachShadow({ mode: 'closed' });
Enter fullscreen mode Exit fullscreen mode

That's the one architectural choice that made this feel like a reading tool rather than an overlay that fights the page.

https://github.com/robertnowell/rabbitholes

Top comments (0)