Paperwork
Read, organise, fill in and sign the PDFs you already have – locally, no account.
The web version shows the development preview notice once before it starts. My experiment in building an office suite. AI helps with the coding; I document the decisions, tests and limits. Not finished software or for sale. About the experiment →
- Lines of Dart
- ~8.800
- Tests (52 passed, 1 skipped)
- 53
- Stages built
- 0–3
- PDFium on macOS
- 6,8 MB
- PDFium as WebAssembly
- 5,2 MB
- As of
- As of Oct 14, 2026
The balance
PDF program for existing PDFs: read, organise pages, annotate and export with real PDF annotations, based on PDFium via pdfrx. Edits are kept in the .bpaper working file and can be undone; also runs in the browser with PDFium as WebAssembly.
17 findings from the repository, by kind. Each one is in the logbook with its date and source.
- 6worked35%
- 6limits35%
- 3bugs18%
- 2decisions12%
What worked with AI
On top of that, 2 decisions, each with its date and source in the logbook. All findings in the logbook ↓

Logbook
17 findings from to
- Day 9
Save on leave from the shared package
The app's own save-on-leave was replaced by `BalanePageExit` from `balane_platform`, and its own fallback font by the symbol font from `balane_ui`.
WorkedSource apps/paperwork@f3a48c0
- Day 8
Engine choice: pdfrx on PDFium
Pure Dart does not render real-world PDFs with usable fidelity. The choice was pdfrx on PDFium (MIT, BSD, Apache); Syncfusion, Apryse and Foxit are ruled out because of their commercial licences.
DecisionSource docs/product/funktionsabgleich/paperwork.mdWorking file as ZIP instead of JSON
The .bpaper working file is deliberately a ZIP containing the unchanged source PDF and a list of editing steps, because a PDF as Base64 in JSON would be unsuitable for scans of 100 MB and more. This is a documented deviation from ADR 0004.
DecisionSource apps/paperwork/docs/decisions/0001-arbeitsdatei.mdpdfrx does not reorder pages reliably
The feasibility check showed that `PdfDocument.pages = …` on the document itself leaves the content in the old order. Paperwork therefore always assembles a new document.
BugSource apps/paperwork@d3d28deRound-trip tests against the real PDFium
PDFium loads in `flutter test` as a native asset; reordering, rotating, deleting, inserting from a second PDF and export are tested against the real engine. The macOS debug build succeeded; PDFium takes up 6.8 MB.
WorkedSource apps/paperwork/docs/decisions/0001-arbeitsdatei.mdLicence approval for PDFium components still open
PDFium includes third-party libraries such as FreeType, ICU and libjpeg whose licences are permissive but not literally on the allowed list; approval by the product owner is still open. MuPDF is ruled out as an alternative because of the AGPL.
LimitSource docs/research/ki-2030/paperwork.mdStages 0 to 3 in one day
Feasibility, reading view, page organisation and annotation with highlighter, note, pen, shapes and text box were committed as stages 0 to 3 of the build plan on 14 October 2026, plus phone and tablet.
WorkedSource docs/product/funktionsabgleich/paperwork.mdCrash trap with PDFium callbacks
PDFium calls from the UI isolate must not trigger read callbacks on the pdfrx worker isolate, otherwise the app crashes (“Cannot invoke native callback from a different isolate”). Solution: the assembled PDF is loaded completely into memory before writing.
BugSource apps/paperwork/docs/decisions/0003-kommentieren.mdPDFium cannot create line annotations
PDFium does not create Line annotations; line and arrow are therefore written as Ink with one or three strokes and behave like freehand drawings when edited.
LimitSource apps/paperwork@e1675c9Appearances embedded, text box not
The export embeds the annotation appearances generated by PDFium, so that they look the same in every viewer. Text boxes have no appearance of their own, because PDFium sets them on a single line only.
WorkedSource apps/paperwork@4879535Not checked in Acrobat, Preview, PDF Expert
Exported annotations have only been checked with PDFium (type, text, rendering of the highlighter). The cross-check in Acrobat, Preview and PDF Expert and tests for display, printing, sharing and password-protected PDFs are still pending.
LimitSource apps/paperwork/docs/compatibility.mdiOS built, but never run on the simulator
`flutter build ios --simulator --debug` succeeds with pdfrx and PDFium; checks were done only via widget screenshots in three sizes, and the app has not yet run on a simulator. Pen pressure and tilt are not used.
LimitSource apps/paperwork/docs/decisions/0004-handy-und-tablet.mdError messages without technical text
Error messages for export and other actions showed the raw exception text in the interface; since then, the details appear only in the log, and opacity and point values follow the locale.
BugSource apps/paperwork@2ceff77Real annotations in the browser too
In the browser, PDFium runs as WebAssembly (5.2 MB) from the same address as the app. For writing annotations, which pdfrx does not offer there, a separate PDFium worker was built; checked in Chromium and WebKit.
WorkedSource apps/paperwork/docs/compatibility.mdExport loses outline and metadata
Paperwork exports unchanged versions byte for byte; as soon as pages have been changed, a new, unencrypted PDF is created without bookmarks and document metadata. Whether form fields stay fillable afterwards has not been checked.
LimitSource apps/paperwork/docs/compatibility.mdMaster docs lag behind the code
The research found that Paperwork on the app branch was further along than the roadmap and feature comparison in the master repository stated; both were updated the same day.
LimitSource docs/research/ki-2030/paperwork.md
- Day 7
Eighth app from bo new-app
Paperwork was created as the eighth app from the `bo new-app` template, with library, settings and check pipeline; the app icons for all platforms came from `balane_ui`.
WorkedSource apps/paperwork@ad87ce4
What the app does today
Paperwork works on the PDF files you already have. Edits are kept in a working file of their own and can always be undone; only the export writes a new PDF. The original stays untouched.
Reading
- Reading view with zoom, thumbnails and outline
- Search, text selection and links
- Open password-protected PDFs
Organising pages
- Reorder, rotate and delete pages, insert blank pages
- Merge PDFs, insert pages from other PDFs
- Save selected pages as a separate PDF
Annotating
- Highlight, underline and strike out, snapping to the text
- Notes, text boxes, pen and shapes
- Comment list in the sidebar
- Export with real PDF annotations
Filling in and signing
- Detect and fill in PDF forms, values flattened if you like
- Draw, type or import a signature from an image; up to eight kept in the system keychain
- Stamps: Approved, Checked, Rejected, Draft, Confidential, date or your own text
- Not a qualified electronic signature – the app says so
Redaction, e-invoices, protection
- Redaction: affected pages are rebuilt as images on export, so the text is no longer in the PDF
- Read e-invoices (ZUGFeRD/Factur-X, XRechnung), check required fields and totals, pass them on as CSV or a dataset
- A warning before a protected PDF turns into an unprotected one
- MCP server: Claude reads, annotates, arranges pages and fills in forms – every step can be undone in the app
- App lock with a passcode, optionally with Face ID, Touch ID or fingerprint
On iPhone and iPad
- Glass bar at the bottom, thumbnails and comments in a sheet
- Double-tap and pinch to zoom, swipe to turn pages
- Apple Pencil draws, your finger scrolls; the back of the pencil erases
Checked with automated screenshots at iPhone and iPad sizes, not yet on real devices.
Features in detail
- E-invoice viewerAn XRechnung file is pure XML, a ZUGFeRD invoice is a PDF with embedded data.
- Fill PDF formsApplications, sign-up sheets and order forms often arrive as PDFs with fields.
- Sign PDFsPrinting, signing and scanning isn’t necessary for many documents.
- Redact PDFsWhen you pass on a proof of tenancy, a bank statement or a case file, you want names, birth dates or account numbers to be unreadable.
- Organise PDF pagesCombining application documents into one file, rotating a receipt scanned sideways, deleting blank back pages, passing on three pages of a long notice:
File formats
- .bpaper
How it connects
- Long texts are written in Documents and arrive here as PDF.
- Data from e-invoices goes to Sheets and Reports as a dataset.
- The same in every app: command search with ⌘K, German and English, automatic saving on your device.
Platforms
- macOS
- available
- Windows
- available
- iOS
- planned
- Android
- available
- Web
- available
Not finished software: expect bugs and changes to the file format. Please don’t keep important data only in the apps, and back up regularly.
App privacy policy →Articles about Paperwork
- Nov 11, 2026Nine office apps for Apple: why I’m changing courseWhy am I planning one combined app for Mac, iPhone and iPad instead of 18 separate platform versions?
- Oct 16, 2026Why doesn't a company just build its own Office?Maintenance, Word files, risk: when is building it yourself worth it?
- Oct 15, 2026Is AI eating its own makers? I rebuilt OfficeWhat does it mean if Office can be rebuilt with AI?