Skip to content

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 18 Oct 21:12
49abdfa

Release notes | Installation | Downloads | Documentation

Release notes

Added

  • Write clean Markdown by default: minimal escaping, images as alt, no form-control or list-item records and no page landmark chrome.
  • Add opt-in --body-only output.
  • Accept PDF, DOCX, XLSX and other supported documents through --url.
  • Decode legacy HTML charsets such as koi8-r and windows-1251, and request gzip responses.
  • Finish JavaScript capture when the page becomes quiet.

Fixed

  • Fix PDF word spacing in tightly kerned text, such as LaTeX output.
  • Keep rotated watermark text out of PDF prose.
  • Decode entities in HTML titles.
  • Fall back to the full page when --article finds no article, instead of refusing.
  • Follow URL redirects whose location contains raw spaces.
  • Report the real refusal stage and resource_url.
  • Try the next address before any request bytes are sent.
  • Keep a JavaScript capture when one sub-request fails.

Examples:

brewdoc --body-only paper.pdf --out paper.md
brewdoc --url https://arxiv.org/pdf/1706.03762 --out attention.md
brewdoc koi8r-page.html --out page.md

PR #65


Installation

Choose one Python method (Python 3.12+, pip in an active virtual environment):

python -m pip install "brewdoc==0.6.0"
uv tool install --python 3.12 "brewdoc==0.6.0"
pipx install --python 3.12 "brewdoc==0.6.0"

npm/npx: Linux x64/glibc and macOS ARM64.

npm install --global brewdoc@0.6.0
npx --yes --package brewdoc@0.6.0 brewdoc --self-check

Homebrew: macOS 15+ ARM64 or Linux x64 with system glibc 2.35+.

brew tap kochetkov-ma/brew
brew install kochetkov-ma/brew/brewdoc
brewdoc --self-check
brewdoc file.pdf --out file.md

Downloads

Standalone bundles include Python. Extract the archive and keep the complete directory. From the extraction directory, run ./brewdoc/brewdoc (Windows: .\brewdoc\brewdoc.exe).

Linux x64/glibc | Windows x64 | macOS ARM64

Verify SHA256SUMS.

Documentation

README | Installation and updates | Formats and limits