Skip to content

v0.5.0 — --ignorar-margens, OCR vision fallback, 5E score 93/100

Choose a tag to compare

@phant0um phant0um released this 30 Jun 01:07
· 48 commits to main since this release
fcd189b

What's new

Added

  • --ignorar-margens N: Remove page headers and footers from PDF output.
    Filters text blocks by vertical bbox position — N% of page height from top and bottom.
    Example: pdf2md doc.pdf output/ --ignorar-margens 5
  • OCR vision fallback: When Tesseract returns <10 chars, automatically tries
    LLM vision (Ollama/Gemini) if available. Handles unusual fonts, manuscripts.

Removed

  • Per-file duration: No more per-file time in CLI table or JSON output.
    Only total conversion time is shown.

Changed

  • Forge 5E score: 79 → 93/100 (production-ready)
  • 142 tests (was 103), ruff clean, CI green
  • DRY helpers, function splits, magic numbers named, compiled regex, lazy imports
  • GUI Swift synced (removed per-file duration display)
  • Bundle ID: com.mchlcs → com.phant0um

Security

  • Sentinel: PASS (CWE-209, CWE-918, CWE-532, path traversal, subprocess safety)

Download

PDF2MD-v0.5.0.dmg — 85MB, arm64, macOS 13+
SHA256: c4bb40a65bb4f135152f3a20166d105d943b914ae30a988370d5b8d3aac11f4b