Self-hosted long-document translation

From source document to translated book.

TraDoc orchestrates import, LLM-assisted translation, segment inspection and format-aware reconstruction of EPUB, PDF, DOCX, Markdown and TXT documents. This documentation clearly separates the private product, the static demo and the AI services you choose.

Documented releaseTraDoc v0.1.4 · verified 8 September 2026
FormatsEPUB · PDF · DOCX · Markdown · TXT
DeploymentLocal, Docker, NAS or private server · pin the tag in Compose

Choose your path

Principles of this documentation

  • Commands, ports and variables match the current v0.1.4 release.
  • Examples contain no secret, user document or provider credential.
  • The final output format follows the input format: EPUB to EPUB, PDF to PDF, DOCX to DOCX, Markdown to Markdown and TXT to TXT.
  • LLM limitations and the boundary of the public demo are stated explicitly.
  • An experimental or disabled option is never presented as available by default.

Essential references

NeedValue or page
Local interfacehttp://127.0.0.1:2499
Development APIhttp://127.0.0.1:8000
Published Docker porthost 2507 and container 2507 (all interfaces by default)
Official imageghcr.io/lucas-lepajollec/tradoc:latest (pin a version or digest in Compose)
Persistent datadata/ locally, /app/data in the container
HealthGET /health
Source codegithub.com/lucas-lepajollec/tradoc
Websitetradoc.lucas-homelab.fr
Demodemo.tradoc.lucas-homelab.fr