Skip to content
nodemode-devPublic

About

FormPDF - instead of Acrobat: the PDF editor from the FormAI family of apps. In-place text editing, redaction, OCR, signing & forms, w/ an agent dock; your files never leave your computer. Runs locally, no account. Free & open-source under Apache-2.0.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

1 watching

Forks

Latest commit

 

History

469 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

FormPDF icon

FormPDF

PDF editing; the PDF editor of the Form family.
In-place text editing, redaction, OCR, signing and forms, with an agent dock,
in one window on your computer. Your files never leave it. No account.

version 0.67.0 Python TypeScript macOS, Windows, Linux License: Apache-2.0 Status: released

Download FormPDF on formai.studio · Run it from source


FormPDF on the Organize tab with an eight page travel guide: page thumbnails in a grid, the pages rail and the Pages, Split and Merge panel
Organize an 8-page PDF: reorder, rotate, delete, insert, split and merge pages in one grid.

Features · In the box · Agents · Under the hood · Download · Run from source

Edit in place

Change the text a PDF already has, in its own font where possible, and move, crop or replace its pictures.

Redact for real

Find text or patterns and the content under each box is removed, not just covered. The rest stays selectable text.

Local only

Files, OCR and signing stay on this computer, and Preferences lists every network connection. None leave it.

Agent-ready

The same engine from the window, the command line and an MCP server, with the whole agent turn undoable at once.

Features

The Edit tab with a paragraph selected on a visitor report, showing font, size, alignment and line spacing controls
Edit: a paragraph of a visitor report selected for editing.

Edit text and pictures

Click any text to retype it with font, size, style, alignment and lists. Pictures can be moved, cropped, flipped and replaced.
The Protect tab listing four email address matches to redact across two pages
Protect: four email addresses found on two pages, all ticked.

Find and redact

Search for words, phrases or email addresses and tick the matches. Apply removes the content under each box.
A typed signature placed on the signature line of a report page, with the Signature panel open
Fill Forms and Sign: a typed signature on the approval line.

Fill and sign

Draw or type a signature and stamp it on the page. Or sign with a digital ID and check every signature in plain sentences.
A quarterly report open in FormPDF with the agent dock at the bottom holding a Claude Code terminal
Agent dock: a Claude Code terminal under the open PDF.

Agents in the window

Ctrl+J opens real terminals already connected to FormPDF's tools, plus a Chat tab that answers about the open PDF.

Everything in the box

Work on the page

View · Comment · Fill Forms and Sign · Prepare form · Edit · Organize · Extract · Protect · Convert · Accessibility · Print · Assistant

Protect and convert

Passwords and permissions · Find and redact · Metadata · OCR on this computer · Word · PowerPoint · Excel · HTML · RTF · Compress · PDF/A · PDF/X-4

Formats

Opens: PDF, PNG, JPG, GIF, WEBP, TIFF, DOCX, PPTX, XLSX (Office files through your LibreOffice) · Saves: PDF, plus text, tables, pictures and the exports above

Built for agents

90 PDF actions sit in one registry; the window, the command line and the MCP server call the same ones.

./formpdf run actions                                          # list every action
./formpdf run page_numbers report.pdf --format "Page {n} of {total}"   # a job without the window
./formpdf cli list                                             # every window command
./formpdf mcp                                                  # MCP server on stdio for Claude Code, Codex, Cursor and Antigravity

.mcp.json, .codex/config.toml and .cursor/mcp.json are already wired in this repo. With the engine running, Claude Code can also use claude mcp add --transport http formpdf http://127.0.0.1:8198/mcp. Ctrl+J (Cmd+J on a Mac) opens an agent dock with real terminals. See AGENTS.md.

Who decides what agents may do. Only the FormPDF window can change agent access, open the agent dock, change which Claude program it runs, or answer the question "Allow agents to edit?". Agents and other programs, including ./formpdf run and ./formpdf cli, follow the choice the person made: they can read, and they ask before changing anything unless the person allowed it. If agent access is changed outside the app, FormPDF treats it as Ask until the person sets it again in the window (the check uses your system keychain; without one it is skipped). This protects the choice, not your files: any program running as you can still read the files you can. Running from source is weaker than the installed app, because there the first program on this computer to ask the engine for the window's key gets it. Details in SECURITY.md.

Extensions

formpdf loads Form family extensions (API 1): FormPortal installs them, form.ext makes them and runs them from a folder. Each one runs in a sandboxed frame and reaches formpdf only through the calls it was allowed: read the open PDF, apply formpdf's own actions as one undoable step, run window commands, open and save files you choose. They show in the Extensions menu, the Extensions tab and the Mod+K search, and agents reach them with extensions_list and extension_command. The API, with a real document snapshot and the list of actions, is docs/EXTENSIONS.md.

Under the hood

  • Engine: a FastAPI service in backend/ does the PDF work, so the window, CLI and agents share one code path.
  • Window: a vanilla TypeScript and Vite app in frontend/, with every menu item and shortcut a single command in one catalogue.
  • Desktop: a Tauri shell in src-tauri/ wraps the frozen engine as a sidecar.
  • Local data: everything stays in ~/Formpdf; override it with FORMPDF_DATA_DIR.
  • Tested: the backend tests in backend/tests, run in CI.

Download

Platform Download Release
macOS Download FormPDF for macOS FormPDF releases on FormCompiler
Windows Download FormPDF for Windows FormPDF releases on FormCompiler
Linux Download FormPDF for Linux FormPDF releases on FormCompiler

All FormPDF builds are compiled and released from FormCompiler; this repo holds the source.

Demo

Open demo/index.html in a browser, by double-click or from any static server, to try the viewer and page tools offline on your own PDF or on the illustrated edition and NASA report excerpts it opens with (sources in demo/CREDITS.md): find, rotate, reorder, delete, extract, merge, page numbers and watermark. Nothing is uploaded. See demo/README.md.

Three demos, each a page you open by double-click:

  • demo/index.html: pages and search, on the illustrated edition and the NASA excerpts.
  • demos/sign/index.html: annotate, fill and sign a fillable loan agreement, add stamps and comments, flatten and save.
  • demos/protect/index.html: find and redact, remove hidden information, compare two versions, extract, convert and password-protect.

Run it from source

Prefer it in your browser, or want to contribute? Run the web UI straight from this repo.

Requires: Python 3.12+ and Node 20.19+ or 22.12+ (./formpdf doctor checks them).

git clone git@github.com:nodemode-dev/formpdf.git
cd formpdf
./formpdf install   # backend venv and frontend packages
./formpdf           # web UI at http://localhost:5198

./formpdf desktop dev opens the desktop window instead. On Windows use formpdf.bat install then formpdf.bat. The engine listens on http://127.0.0.1:8198 (FORMPDF_PORT moves it).

Variable Purpose
FORMPDF_DATA_DIR Where working copies, exports and settings live (default ~/Formpdf)
FORMPDF_NO_OCR Set to 1 before ./formpdf install to leave out OCR (about 150 MB)
FORMPDF_ENGINE_WINDOWED On Windows the engine is frozen with no console window; set to 0 before setup/freeze_backend to keep the console

Important

Status: released. FormPDF is built and bundled for macOS, Windows and Linux and has been tested on all three. Gaps include hosted sharing, form JavaScript beyond the standard AcroForm functions and print production (CMYK, flattening). See docs/PARITY.md.

Contributing: branch from main, keep changes to source here, and leave packaging and releases to FormCompiler. See CLAUDE.md and AGENTS.md.

Repository

Path What it is
backend/ FastAPI engine: PDF services, /api/pdf, live channel, MCP server
frontend/ Vanilla TypeScript and Vite app: Home, the PDF workbench, styles
setup/ Install, boot, build, freeze, doctor, run, MCP stdio and agent scripts
src-tauri/ Desktop shell and the engine sidecar
docs/ MANUAL.md, PARITY.md, plug-in examples


Maintainers

Maintainer Role
@nodemode-ai Owner
@gbarnai Co-owner

Code owners are set in .github/CODEOWNERS.

License

FormPDF is licensed under the Apache License 2.0 (LICENSE, SPDX Apache-2.0). Copyright 2026 NodeAgentc, Inc. Third-party notices: NOTICE.md (what ships and why) and THIRD-PARTY-NOTICES.txt (the full licence texts, generated by setup/notices.py).

Screenshot content: CC0 photos from Poly Haven. Hero: a sample travel guide made for the Form family.

Adobe, Acrobat, Microsoft, Word and PowerPoint are trademarks of their respective owners. FormPDF is an independent project and is not affiliated with or endorsed by them.

About

FormPDF - instead of Acrobat: the PDF editor from the FormAI family of apps. In-place text editing, redaction, OCR, signing & forms, w/ an agent dock; your files never leave your computer. Runs locally, no account. Free & open-source under Apache-2.0.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages