01 /Overview.
Most online file converters upload documents to a server to merge a PDF or compress an image. For contracts, IDs, and medical or financial records, that upload is the privacy risk.
Why it matters. Many routine file tasks can run entirely in a modern browser. Doing the work locally removes a whole class of data exposure, as long as the browser path is also safe against hostile files.
Workflow. A user selects a file; its real type is detected from the leading bytes, size and decompression limits are checked, the matching PDF, image, document, or media engine processes it in browser workers, and the result downloads locally.
Outcome. A deployed toolset where common PDF, image, and document tasks finish in the browser, so files do not have to leave the user's device.
02 /My contribution.
I founded Velvetclip and built the platform: the Next.js/React interface, the tool registry and runner, the PDF and image processing workflows on PDF.js and pdf-lib, browser-based OCR, and the file-safety checks around every input.
Constraints.
- Standard file operations must run client-side with no file upload.
- Inputs are untrusted: file types are checked by content, not by extension.
- Archives and images must be checked for decompression bombs before they are expanded.
- Redaction must remove the underlying content, not only draw a box over it.
03 /System architecture.
04 /Technical implementation.
Primary technologies. Next.js · React · TypeScript · PDF.js · pdf-lib · Tesseract.js · Playwright
- A shared tool registry drives 27 tools through one runner component, so every tool gets the same validation and progress handling.
- PDF workflows use PDF.js for rendering and pdf-lib for editing; OCR runs in the browser through Tesseract.js workers.
- Safety utilities cover file-type sniffing, safe ZIP handling, decompression-bomb checks, and redaction forensics.
- Pages are statically generated with Next.js, with structured data and sitemaps for each tool.
Hardest engineering problem. Running locally removes the upload risk but moves the attack surface into the browser. Every tool therefore shares one safety layer: content sniffing, dimension and decompression checks, safe ZIP handling, and redaction validation that confirms text is actually gone.
Process on the device
Standard PDF, image, and document operations run in the browser, so files are not uploaded for routine tasks.
Trust bytes, not names
File types are detected from magic bytes, and image dimensions are read from headers before any canvas memory is allocated.
Verify redaction
Redaction is validated by checking that the underlying text and data streams were removed, not only visually covered.
05 /Testing and validation.
- The 16 Nov 2026 master completion audit recorded 218/218 unit tests passing in 33 suites, run against real binary fixtures rather than mocks.
- The same audit recorded 49/49 Playwright browser tests passing in headless Chromium across all 27 tools, including network-interception checks that no file bytes leave the browser.
- The audited build compiled 45 routes: the static pages, including one page per tool, plus the serverless API endpoints.
06 /Results and evidence.
Velvetclip is publicly deployed; its source repository is private, so the links on this page go to the product rather than the code. The test and route counts come from the 16 Nov 2026 master completion audit in the private repository (docs/MASTER_COMPLETION_AUDIT.md): 218/218 unit tests passing in 33 suites, 49/49 Playwright browser tests passing in Chromium, and 45 compiled routes, with all 27 tools validated. Paid plans are not enabled on the public deployment. Velvetclip was previously named Yor Tools.
- 27 tools are registered and wired to the shared runner.
- Routine file operations complete without uploading the file.
- Safety checks are shared across tools instead of re-implemented per tool.
- Browser tools
- 27PDF, image, document, and media tools registered and validated in Chromium in the 16 Nov 2026 completion audit
- Automated tests
- 218 + 49Unit tests (33 suites) and Playwright browser tests passing in the 16 Nov 2026 completion audit
- Compiled routes
- 45Static pages and API endpoints in the audited production build
- supported2026-11-19218 + 49 unit tests (33 suites) + Playwright browser tests, all passingAutomated testsRecorded in the Velvetclip master completion audit (docs/MASTER_COMPLETION_AUDIT.md) alongside 45 compiled routes: 218/218 Vitest unit tests and 49/49 Playwright tests in headless Chromium. Private repositoryVelvetclip master completion audit, 16 Nov 2026 ↗
- supported2026-11-1927 PDF, image, document, and media toolsBrowser toolsTool registry in the audited build; the completion audit validated all 27 tools in Chromium, and each tool has its own route on the public deploymentVelvetclip master completion audit, 16 Nov 2026 ↗
07 /Limitations.
- The source repository is private; the evidence here is the live product and the recorded completion audit.
- Very large files are limited by the memory available to the browser tab.
- Paid plans and checkout are not enabled on the public deployment.
08 /What I would build next.
Publish per-tool performance measurements on large files and add fuzzing for the file-type and decompression checks.
- Local-first changes the threat model rather than removing it.
- One shared safety layer is easier to trust than per-tool checks.