Open-source PDF translator uses Claude to preserve layout by translating each element separately
gounisalex · reddit · 2026-07-29
A developer built pdfx, an open-source PDF translation app, after running into layout problems with existing tools during a mortgage application. The workflow measures the space occupied by each element, asks Claude to translate elements individually, and then reassembles the document while preserving formatting. The author says Claude also suggested extra layout-preservation tricks, helped design the architecture, and wrote about 90% of the unit tests over three weeks. The repo is MIT-licensed, with a local API-key requirement for translation and a web demo that currently lacks its own key.
More from coding & agent
- Isolating Antigravity chats per subfolder with AGY Rules and PreInvocation Hooks — bibryam · 2026-10-16
- Gemini shown off modding Minecraft to turn players into any Spider-Man — zacharynado · 2026-10-16
- Workflow: annotate UI screenshots in tldraw, hand to Claude, get better UI — max__drake · 2026-10-16
- Beyond chat wrappers: designing stateful, multimodal AI apps as interaction conductors — dr_cintas · 2026-10-16
- IBM engineer maps 5 levels of AI coding, from manual to a 3-day agent software factory — TejasKumar_ · 2026-10-16
- 10 open-source repos that let your AI agent reverse-engineer apps and games — victor_explore · 2026-10-16