Intern at Antmark
PIE
Edit the text inside PDFs and photos. Entirely on your phone.
- React Native
- TypeScript
- C++
- Kotlin
- PDFium
- Skia
1,026Jest tests
0uploads — all processing on device
1C++ PDF engine shared by Android and iOS
Problem
Fixing a typo in a PDF or a screenshot usually means uploading a private document to a cloud service, or re-typing it in a tool that never quite matches the original font.
Approach
- Edits the text that is already in the document, matching the original font and layout as closely as possible.
- Images get their text replaced and the background rebuilt deterministically, with texture- and grain-preserving reconstruction — no generative AI.
- No account, no cloud OCR, nothing uploaded.
Architecture
- React Native 0.87 (New Architecture, Hermes), React 19 and strict TypeScript.
- PDFium behind a platform-neutral C++ bridge, shared by Android (JNI) and iOS.
- On-device OCR with Google ML Kit on Android and Apple Vision on iOS.
- Kotlin native modules on Android; Objective-C/C native modules on iOS; Reanimated, Gesture Handler and Skia for the UI.
Decisions
One C++ engine for both platforms
Instead of two PDF implementations, a single PDFium bridge in C++ is shared through JNI on Android and a native pod on iOS, so behaviour stays identical across platforms.
Deterministic reconstruction over generative fill
Rebuilding image backgrounds without AI keeps results predictable, private and fully offline.
My role
Built as an intern at Antmark: the app, native modules and the C++ engine.