- Consolidate module configs into root config.example.json with ocr, vision, and epub sections - Split LLM OCR workflows into novel_ocr.py (prose) and manga_ocr_llm.py (manga) - Remove gemini_direct_ocr.py in favor of OpenAI-compatible API endpoints - Support direct manga translation via --translate, --target-lang, and glossary.md - Add bidirectional context support: past translations (--context-pages) and lookahead Japanese text (--context-pages-ahead) - Add per-page JSON audit logging under logs/ and expose OpenAI sampling parameters
40 lines
917 B
Plaintext
40 lines
917 B
Plaintext
# --- Python ---
|
|
__pycache__/
|
|
*.pyc
|
|
*.pyo
|
|
.venv/
|
|
venv/
|
|
*.egg-info/
|
|
|
|
# --- Secrets / personal settings ---
|
|
# The real config file contains API keys or book-specific metadata.
|
|
# Only config.example.json is meant to be committed.
|
|
/config.json
|
|
|
|
# The real glossary is book-specific content (character names, terms).
|
|
# Only glossary.example.md is meant to be committed.
|
|
/ocr/glossary.md
|
|
|
|
# --- Generated OCR output ---
|
|
out/
|
|
pages_txt/
|
|
combined.md
|
|
|
|
# --- Request/response logs (debugging only, can contain full prompts) ---
|
|
/logs/
|
|
|
|
# --- Book content: scans, sorted chapters, fonts, and the built epub ---
|
|
# This repo is tooling only — never commit someone else's copyrighted
|
|
# book pages, extracted text, embedded fonts, or the resulting epub.
|
|
epub_builder/chapters/*
|
|
!epub_builder/chapters/.gitkeep
|
|
epub_builder/font/*
|
|
!epub_builder/font/.gitkeep
|
|
*.epub
|
|
|
|
# --- OS / editor cruft ---
|
|
.DS_Store
|
|
Thumbs.db
|
|
.idea/
|
|
.vscode/
|