For one person, DocHub is a PDF editor in the browser: put text and check marks on a page, draw or type a signature, white out a line, merge, rotate and reorder pages. With pdf.js to render and pdf-lib to write, an agent builds that in one sitting and the files never leave your machine. Rewriting existing text in place and sending signature requests with an audit trail are the pieces that don't come cheap, and a signature that has to stand up in a dispute deserves a vendor.
Before you buildDocHub Free gives 3 uses a month of editing and signing. If your needs are that small, or you only sign what others send you, you may not need to pay or build.
Build me a local-first PDF editor and signer to replace DocHub for my own documents. Requirements: - A single-page app in TypeScript with Vite and React: `npm run dev` serves http://localhost:5173 and `npm run build` makes a static folder any web server can host. PDFs are processed in the browser and never uploaded. - Open a PDF by drag and drop; render pages to canvas with `pdfjs-dist` with zoom, and show page thumbnails in a left rail. - Toolbar: text box (font, size, colour), check and cross marks, date stamp, highlight, whiteout rectangle, freehand pen and image placement. Click to place; drag, resize and delete objects, and undo with Ctrl-Z. - Signature and initials: draw with `signature_pad`, type in one of three fonts, or upload an image. Saved signatures live in IndexedDB and are placed and resized like any image. - Forms: read AcroForm fields from `pdfjs-dist` annotation data; fill text fields, checkboxes and dropdowns inline, and offer to flatten them on save. - Pages: reorder by dragging thumbnails, rotate, delete, insert pages from a second PDF and merge two files. - Save with `@cantoo/pdf-lib`: embed Noto Sans so any Unicode text works, draw whiteout as a filled rectangle, and write a new file named `<name>-edited.pdf`; the original is never overwritten. Warn that whiteout hides text but leaves it in the file unless "Flatten to image" is ticked, which rasterises each page at 150 DPI. - Autosave the work in progress to IndexedDB so a reload loses nothing. - No accounts, no telemetry, local-first: after the page loads there are no network requests, and fonts and the pdf.js worker are bundled. - Out of scope: editing existing text in place, signature requests to other people, audit trails, OCR and cloud storage connectors. - README: setup, the whiteout limitation, and a plain note that a drawn image signature is a simple electronic signature, not a certificate-based one.
Opens your agent with the prompt filled in, you press enter. Or copy it and paste it into an empty folder.
The first prompt builds the core. Run these one at a time in the same folder to grow it into your own DocHub.
Add batch form filling to the PDF editor in this folder. Requirements: - A screen where I load a fillable PDF and a CSV; map each CSV column to an AcroForm field and preview the first row. - Generate one filled PDF per row with `@cantoo/pdf-lib`, optionally flattened, named from a column I choose, and download them all as a ZIP built in the browser (`fflate`). - Show rows that failed (a missing value for a required field) before generating anything. - Nothing is uploaded; update the README.
Add OCR to the PDF editor in this folder. Requirements: - A button that runs `tesseract.js` in a web worker on the pages I pick, with a language selector (English plus one more), and shows progress per page. - Write the recognised text into an invisible layer using `@cantoo/pdf-lib` so the saved PDF is searchable; keep the original page image untouched. - Add a search box that highlights matches on the page. - Bundle the language data locally so no network request is needed; update the README.
Add a one-signer request flow to the PDF editor in this folder. Requirements: - A small Node.js 22 server (Fastify) that stores the prepared PDF and a signer's field positions in SQLite, and creates a random 32-byte link token stored hashed, expiring in 14 days. - The signer page shows the PDF, takes a drawn or typed signature, and returns the signed PDF to me by email through SMTP settings in .env. - Record the time, IP address and a SHA-256 of the file in an audit page appended to the PDF. - Say in the README that this is a simple electronic signature and what that means legally; update the README.
People arrive when a form must be filled or signed today, in a browser, with nothing to install, and stay because DocHub sits inside Google Drive and Gmail. The free plan runs out after three uses a month, so anyone who edits and signs regularly lands on the paid plan.
Estimate · Runs in your browser, or on any free static host. The build is token usage on your agent plan.
| Plan | Monthly | Annual, per month | What you get |
|---|---|---|---|
| Free | $0/user | $0/user | 3 shared uses a month of the core tools; add text, draw, stamp, merge, rotate, reorder and delete pages; 3 folders; AI assistant; iOS and Android apps. |
| Basic | $8/user | $6/user | Unlimited PDF downloads, self-sign and templates, unlimited folders, whiteout, highlight, advanced fillable fields and attachments; 2 organizations and 5 team members. Editing existing text, sign requests and envelopes stay at 3 shared uses a month. |
| Pro | $12/user | $9/user | Unlimited PDF editing and sign requests, envelopes, bulk send, in-person signing, public documents, shared folders, enhanced search, password protection, certified documents and SSO for 5 domains, plus priority support. |
| Site License | custom | — | Everything in Pro plus unlimited users, volume discounts, rooms, HIPAA with a BAA, and early access to new features. |
Free allows 3 uses a month shared across the core tools (editing existing text, self-sign, sign requests, templates, envelopes, share links), plus basic PDF tools, the AI assistant and the mobile apps.
Yes. An AI coding agent such as Claude Code, Codex or Cursor can build a usable personal version in one session with the prompt on this page, running on your own machine.
About $12 a month on the Pro plan per seat, $144 a year (checked 2026-10-19).
Editing existing text in place, with its AI-assisted rewrite and visual edit; Sending sign requests to other people, with reminders and an audit trail; Bulk send, in-person signing and sending by fax; Google Drive, Gmail, Dropbox, OneDrive and Classroom connections; Certified documents, a SOC 2 Type II attestation, team workspaces and the mobile apps. If any of those matter to you, keep paying.
Yes: Stirling-PDF (open source), Documenso (open source), OpenSign (open source).