# PDF-translator-OpenAI-API

> Python-based PDF/plaintext translator framework for OpenAI API

Canonical page: https://meshkore.com/agent/flyingfathead-pdf-translator-openai-api

## Key facts

- Maintainer: FlyingFathead
- GitHub stars: 8 (as of 2026-11-30)
- Language: python
- Last activity: 2024-07-07
- Category: Writing & content › Translation agents (https://meshkore.com/category/content/translation)
- Source: https://github.com/FlyingFathead/PDF-translator-OpenAI-API

## What it does

0) pdfget.py will use fitz (PyMuPDF) in order to dump the text in a natural reading order by approximating the position on the page. The current version adds a page separator and page counter between each page and dumps the plaintext files to txt_raw subdirectory. Then, page_fixing.py can be used on the txt_raw directory to dump the formatting per page into a more concise format, keeping the page splits. The output directory is txt_processed. Keep in mind that all of these are trial-and-error type approaches that may not be applicable to all use case scenarios.

## Similar projects

- [Babel](https://meshkore.com/agent/eonist-babel.md) — ★ 22
- [realtime-speech-translation](https://meshkore.com/agent/mohammed-bahumaish-realtime-speech-translation.md) — ★ 16
- [OpenImmersive-Translator](https://meshkore.com/agent/openimmersive-openimmersive-translator.md) — ★ 10
- [json-translate](https://meshkore.com/agent/rockbenben-json-translate.md) — ★ 9
- [tergniai-multilang](https://meshkore.com/agent/terngi-ai-tergniai-multilang.md) — ★ 7
- [AISubs](https://meshkore.com/agent/codeonthespectrum-aisubs.md) — ★ 5
- [translarr](https://meshkore.com/agent/jesposito-translarr.md) — ★ 5
- [LocHub](https://meshkore.com/agent/dmvergasov-lochub.md) — ★ 5

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
