Stirling PDF
Self-hosted PDF toolbox with 50+ tools, API and desktop client, free for up to 5 users.
PDF & documents · form filling and low-stakes signing · Last updated
Can a prompt replace DocHub?
Almost
€12/mo · Flat monthly fee · Pro plan
The interesting part of DocHub is not signing, it is form fields. A PDF form is an AcroForm structure with named fields, and reading, filling and flattening it is a solved problem in pypdf. Build that and you have most of DocHub. What stays out of reach is the Google Drive and Gmail integration that puts DocHub one click from where the documents already live.
| Option | Replaces DocHub | License | GitHub stars | Last commit | Run it yourself | Hosted price |
|---|---|---|---|---|---|---|
| Stirling PDF | Partial | MIT Open-core | 94.4K | Oct 2026 | Yes | From $0checked October 18, 2026 |
| Documenso | Partial | AGPL-3.0 Open-core | 15.5K | Oct 2026 | Yes | From $0checked October 18, 2026 |
| Build your own (this page's prompt) | Almost | Yours | — | — | Yes | — |
| Keep paying DocHub | Full | Proprietary | — | — | No | €12/mochecked July 31, 2026 |
Full does the whole job · Partial most of it · Niche one piece. GitHub figures as of October 18, 2026.
Self-hosted PDF toolbox with 50+ tools, API and desktop client, free for up to 5 users.
Self-hostable e-signature platform for sending, signing and tracking documents, as a DocuSign alternative.
Open a PDF, detect its AcroForm fields, fill them from a form in the browser, drop a signature image where there is no field, and flatten the result to a new file while keeping the original untouched.
Build a personal PDF form filler.
The core loop: upload a PDF, and if it carries an AcroForm, read the field names, types and page positions with pypdf and render an HTML form that mirrors them. Fill the fields from that form, then write a flattened copy — appearance streams generated, fields no longer editable — to a new file. Never modify the uploaded original; store it read-only and keep every output as a separate versioned file next to it.
When the PDF has no AcroForm, fall back to placement mode: show the page as an image, let the user drag text boxes, checkmarks and a signature image onto it, and stamp them into a new PDF at the coordinates given. Store the placements as JSON keyed by the document hash so re-opening the same document restores them.
Signature capture is a drawing canvas that produces a transparent PNG, stored once and reusable. Be explicit in the interface that this stamps a picture of a signature into a document and produces no evidence of who drew it or when.
Out of scope: sending a document to a third party to sign, reminder emails, identity verification, and any claim that the result is a qualified or legally binding electronic signature. Those need an evidence trail this build does not produce, and offering them without one is worse than not offering them.
Test with a real government form that uses AcroForm fields and one that is a flat scan.
Opening prefills the prompt — press enter to run it. The prompt as plain text
What they pay for form-field handling and Google integration
Because DocHub lives inside Gmail and Drive. The document arrives as an attachment, and it is filled, signed and sent back without ever being downloaded — that adjacency is the product, and self-hosting it puts the file back on your disk.
The documents themselves export as ordinary PDFs and open fine. The field mappings and reusable templates do not — DocHub stores those in its own format, and you will re-place fields once per document on first use.
No, and that is a deliberate boundary. Sending to a counterparty means their identity, their consent record and a delivery receipt, which is a different and much larger build. This fills and signs documents that stay with you.
Nothing if it runs on your own machine. On a small VPS, about $5 a month. pypdf and the rendering libraries are free and there is no per-document cost.
The Gmail and Drive adjacency. DocHub's real trick is that the attachment never leaves Google — you open it, fill it, and send it back. Here, every document is a download and an upload.