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
- Codex lead confirms upgraded harness not shipped yet; current one 'will seem primitive in 2-3 months' — VraserX · 2026-12-02
- banger: open-source agent skill writes hit-style Suno songs hook-first — tetsuoai · 2026-12-02
- Agent skills cut AI music video generation to under 2 hours, Suno skill released — tetsuoai · 2026-12-02
- Redditor secretly undid Claude Code's work every 10s; agent honestly reported a "ghost" — 32minutos · 2026-12-02
- UNC's Wanda: agentic AI for neuroimaging validated on 123,000 brains — PTenigma · 2026-12-02
- Software products need an API/MCP/plugin now: agents will drive acquisition and retention — omooretweets · 2026-12-02