Projects
FillMyDocs

Founder · Product Architect · Software Engineer

In development · Testing

Upload a PDF. Answer the questions that matter. Download the completed document.

FillMyDocs turns form filling into a guided conversation. It detects what the document needs, preserves information that is already filled, handles both interactive and flat PDFs, and lets the user review the result before downloading it.

Interactive + flat PDFsHebrew + EnglishHuman-reviewed output

Overview

Filling a form should feel like answering questions — not editing a PDF

PDF forms vary wildly: some have real fields, some are flat or scanned, some are partially completed, and many render differently across devices.

The document becomes a conversation

FillMyDocs analyzes the uploaded PDF, identifies what information is missing and turns technical field names or blank areas into simple questions. The user answers in everyday language while the system prepares the actual document in the background.

A bilingual document workflow in development

The implementation supports Hebrew and English, interactive PDF forms and vision-based detection for flat documents, live preview, selective refill of existing values, placement correction and final download.

Product scope

A small interface hiding a difficult document pipeline

The user sees three simple steps, while the system handles several document-specific problems behind the scenes.

PDF upload

The document enters one guided flow instead of sending the user into a generic PDF editor.

Document understanding

The system can identify the form and explain what it is for before asking the user to complete it.

Field detection

Interactive fields are read directly; flat or scanned pages can fall back to visual field detection.

Friendly questions

Technical PDF fields are translated into short localized questions so the user only needs to provide the missing information.

Preserve existing content

Already-filled values can stay untouched, while the user can explicitly choose a field they want to replace.

Live preview

The form is rendered on the server and shown as consistent page images across desktop and mobile.

Placement correction

When visual detection is approximate, the user can adjust the detected area before approving the final result.

Approve & download

The completed document can be reviewed, corrected if necessary and downloaded only when the user is satisfied.

Users & use cases

Different document situations, one simple experience

The main user is the person completing the form. The product adapts to how the document arrives instead of forcing every PDF through the same path.

Starting with an empty form

The system identifies the fields that need information and turns them into a guided sequence of simple questions.

Continuing a partially filled form

Existing values stay in place by default, so the user answers only what is missing or deliberately chooses a field to refill.

Working with a flat or scanned PDF

When real form fields do not exist, visual detection finds writable areas and the user can verify placement before approving the result.

Core workflow

From an unknown PDF to a completed document

The pipeline chooses the simplest reliable path for the document instead of treating every PDF the same way.

01

Inspect

Read interactive fields or render the pages for visual analysis.

02

Detect

Find the fields that need input and recognize existing values.

03

Ask

Turn the missing fields into localized questions.

04

Fill

Write answers into real form fields or place them visually on the page.

05

Review

Render the completed document and flag placement problems when necessary.

06

Approve

Let the user make corrections before downloading the final PDF.

Architecture

Two fill strategies share one user experience

The application detects what kind of PDF it received and routes it through the appropriate document pipeline while keeping the conversation and preview flow consistent.

User experience

UploadConversationVerificationPreviewDownload

Document analysis

AcroForm extractionVision fallbackDocument identificationQuestion generation

PDF processing

Form-field fillingText overlayHebrew font supportPlacement refinement

Rendering & QA

PDFium renderingWebP page previewsVisual QAUser correction

Storage & state

PostgreSQLDrizzle ORMPrivate Blob storageAnonymous session

The AI-assisted steps identify and interpret the document, while the final PDF is produced through deterministic PDF operations and remains reviewable by the user.

Engineering decisions

PDFs are not one format in practice

The most important engineering decisions came from handling the differences between real-world PDF documents and devices.

Interactive and flat PDFs follow different fill strategies

When real form fields exist, use them. When they do not, fall back to page-level visual detection.

The product first looks for structured AcroForm fields. Flat or scanned documents use a visual path that detects writable areas and later draws the user answers into those positions. Both paths feed the same conversational product flow.

PDF previews are rendered on the server

Browser PDF rendering was not reliable enough for legacy and Hebrew-heavy forms across devices.

The application renders PDF pages with PDFium on the server and sends page images to the client. That gives desktop and mobile the same visual output and removes browser-specific font rendering from the preview path.

Visual detection remains reviewable by the user

AI can suggest where text belongs, but an approximate box should not become an irreversible decision.

Vision-detected fields carry editable geometry. Users can move or resize a field when needed, and later refinement respects those manual corrections instead of silently replacing them.

Existing content is preserved by default

A partially completed form should not force the user to re-enter or overwrite information that is already there.

Detected fields track whether they already contain content. The question flow skips those values unless the user explicitly chooses to refill a field.

Hebrew support exists inside the PDF, not only in the interface

A Hebrew UI is not enough if the generated document cannot render Hebrew text correctly.

The fill pipeline embeds a Hebrew-capable font, handles right-to-left text alignment and converts field geometry between the coordinate systems used by vision and PDF drawing.

The final document gets a visual QA pass

A technically successful fill can still be wrong if the answer sits on a label or outside the intended blank.

The completed document can be rendered again and inspected for clear placement problems. Flagged fields can return to a focused correction flow before approval.

Engineering evidence

Focused tests around the parts of PDF processing most likely to fail

The codebase is intentionally small, so quality is shown through domain-specific verification rather than large repository counts.

Current product shape

PDF detection modes
2
product languages
2
document API routes
5
focused test files
7
PDF preview rendering
Server
product stage
In development
Coordinate conversion testsRTL text testsVision validationPlacement refinement mergingPDFium rendering testsExplicit AI failure statesTypeScript and lint gates

Technology

The stack behind FillMyDocs

The stack combines web application development, AI-assisted document understanding and low-level PDF processing.

Web application

Next.js 15React 19TypeScriptTailwind CSSshadcn/ui

AI-assisted understanding

Vercel AI SDKAI GatewayOpenAIGemini Vision

PDF processing

pdf-libPDFiumsharpfontkitRubik embedded font

Data & files

PostgreSQLNeonDrizzle ORMVercel Blob

Localization

HebrewEnglishRTL/LTRLocalized AI questions

Quality & delivery

VitestESLintTypeScriptVercel

Product principle

The user should answer the form — not learn how PDFs work

FillMyDocs hides the differences between interactive fields, scanned pages, coordinate systems and font rendering behind one simple flow: upload, answer, review and download.

Upload → Answer → Review