(05)
SnapCraft
A Chrome extension for capturing what you see, a whole scrolling page or any area you drag, then marking it up, hiding private details and exporting it. Everything happens in the browser; nothing is uploaded.
- Category
- Developer Tools · Browser Extension
- Year
- 2026
- Role
- Independent project
- Timeline
- Nov 2026
- Stack
- React · TypeScript · Chrome Extension APIs (MV3) · Canvas API · WXT · IndexedDB · Tailwind CSS

About SnapCraft
Taking a good screenshot of a website is fiddly: the page is longer than the screen, the bit you want is small, and there's often private information on it. SnapCraft is a Chrome extension that handles all three. Capture the visible screen, the whole page or any area you drag, then annotate it, hide what shouldn't be shared and save or copy it.
It's an independent, open-source project. It isn't on the Chrome Web Store yet; you can load it from the repository.

How I built it
Full pages, stitched on a canvas.
For a full-page capture, a content script scrolls the page one step at a time, or scrolls the inner panel in apps where only part of the page moves. For each step the background service worker captures the tab with the Chrome tabs API, and the slices are stitched into one image on Canvas or OffscreenCanvas. Sticky headers are hidden after the first slice so they don't repeat, and pages too big for a single canvas stay as slices so exports remain sharp.
Area capture that gets out of the way.
For a custom area, the content script draws a selection box you can drag, resize or snap to an element. When you confirm, it removes the box, waits for the page to repaint, captures the tab and crops the image to your selection.
An editor built on two canvases.
Captures open in an editor that draws on two stacked canvases: one for the picture and one for the live preview while you draw. It has crop, rectangles, circles, arrows, lines, pen, highlighter, text, numbered steps, blur and spotlight, with undo, redo and zoom. Exports go to PNG, JPG, WebP or PDF; the PDF is written by a small built-in writer rather than a library.
Private by default.
While capturing, SnapCraft notes where emails, phone numbers, card numbers and password fields sit on the page, and Auto-redact blurs them in one click. Card numbers are checked with the Luhn algorithm, so ordinary long numbers aren't hidden by mistake. Captures and history stay on your computer in IndexedDB.
function luhn(digits: string): boolean {
let sum = 0;
let alt = false;
for (let i = digits.length - 1; i >= 0; i--) {
let n = digits.charCodeAt(i) - 48;
if (alt) {
n *= 2;
if (n > 9) n -= 9;
}
sum += n;
alt = !alt;
}
return sum % 10 === 0;
}