Skip to content

Dogear

Comments on any live web page, for the people reviewing it and the coding agents building it.

At work, most feedback on live demos happened in screenshots and chat threads, and a lot of it got lost on the way.

So I built Dogear. It lets anyone pin a comment to the exact element on a live page, tag a teammate or ask an AI assistant, and coding agents can pick up the same threads. It’s open source and on npm.

Built with
React, Postgres, MCP
Licence
Open source (MIT)

Where feedback got lost

A review usually went like this. Someone spotted a wrong number, took a screenshot, dropped it in a channel and moved on. By the time the right person saw it, the build had changed, the screenshot no longer matched, and the first reply was “which button?”.

The comment itself was fine. It had just lost two things: where on the page it was about, and who it was for. I wanted to give both back.

Two flows side by side. Today: a reviewer, a screenshot, a team chat, then ‘which button?’ and the comment is lost. With Dogear: the reviewer comments on the element, it becomes a thread, the owner is told, and it gets resolved.

The feedback was fine. It just didn’t know where it lived.

Pinning comments to the page

I wanted a comment to stay on the thing it was about, not on a picture of it. Press C, and whatever is under your pointer gets an outline and a name: a card, a chart, a row in a table. Click, write, and the comment is pinned to that element. It stays put when the layout shifts, because it remembers the element, not a spot on the screen.

Each pin opens a thread. People reply, react and resolve it right there, next to what they’re discussing.

An open thread on the New customers card: a question, a reply explaining the drop, and reactions

Getting it to the right person

A comment nobody sees is just another screenshot. When you tag someone, they get a pop-up and a badge in the app, and, if your team sets it up, a message in chat or email. One click takes them straight to the thread.

I also made sure a tag only reaches people who can see the page. For anyone else it stays plain text, so a comment never reaches the wrong person.

Who gets told: when @jordan is tagged and Jordan has signed in and can see the page, they are told in the app and, optionally, in team chat or email; otherwise the tag stays plain text and the author is told

A teammate that answers, and agents that fix

Some questions don’t need a person. Tag the assistant and it reads the thread and answers there. Its replies are labelled AI, so nobody mistakes it for a colleague.

The assistant: a new thread, or a tag for @scout, calls your answer function with your model and docs, and the reply is saved in the thread, labelled AI

Coding agents can read the same threads. Through MCP, the protocol tools like Claude Code use to connect to other apps, an agent can find what’s open on a page and see which element each comment is pinned to. It can then make the fix, reply and resolve the thread. Reviewers and agents work from the same comments.

A reviewer comments on an element; a coding agent takes the thread and its element over MCP, makes the change, replies and resolves it, and the reviewer sees the reply on the page

Fitting into any app

Dogear is one npm package you add to your app. Comments go in your own database, and people sign in the way they already do, or as guests with just a name, like on this site.

How it fits: the comments on your page talk to one endpoint on your server, with optional sign-in, moderation, notifications and assistant, saving comments in Postgres, a file or memory; coding agents connect over MCP
Guests: a visitor with no account gives a name once and pins a comment; tags and alerts turn on with sign-in

It comes in light or dark glass, or follows the page’s theme. Its colours, font and corners can also take your site’s own.

What I learned

The hard part wasn’t the comment box. It was the anchor: knowing which element a comment belongs to, and finding it again after the page changes. Once that held, everything else (tags, the assistant, agents) was just more people reading the same comments.

We now use it at work to review our internal tools. It’s open source, so if your team still reviews in screenshots, give it a try.