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
- Tencent Releases UI-Mate-27B, a Desktop GUI Agent Model — tencent · 2026-08-24
- Comparing AI Subscriptions: DeepSeek API vs. Claude Pro vs. Local LLMs — Unlikely_Bluejay5392 · 2026-08-24
- Claude Code introduces 'Remote Control' feature to boost coding efficiency — rohanpaul_ai · 2026-08-24
- rauchg lays out fx extension philosophy: MCP, Skills, Plugins and Unix composition — AccBalanced · 2026-08-24
- Netflix details its production LLM judge: hundreds of thousands of recommendations scored weekly — omarsar0 · 2026-08-24
- smolvm passes Simon Willison's Fable 5 agent test as a secure sandbox — yawnxyz · 2026-08-24