Skip to content

v2.6.0 - Local HTML upload

Choose a tag to compare

@syswave-dev syswave-dev released this 08 Jun 09:53
· 45 commits to main since this release

Added

  • Convert local HTML files (#28). New POST /api/html endpoint accepts a raw HTML body (max 10 MB) and runs it through the existing Readability + Trafilatura extraction pipeline. Optional url= re-enables site recipes and the linked header; the file name can be passed via ?filename= or the X-Filename header (URI-encoded; keeps names out of access logs); data:-URI images (SingleFile exports) are replaced by their alt text. Privacy by design: local files are never cached - no history entry, no share link, and telemetry logs a constant placeholder. Playwright is deliberately unavailable for uploaded HTML (user markup must never run in a server-side browser).
  • PWA: convert a local .html file - drag-and-drop it onto the page (desktop), or click/tap the dashed hint below the URL field to pick a file. The file picker works on desktop and mobile, so a downloaded page can be converted on a phone too.

Full changelog: https://github.com/AeternaLabsHQ/pullmd/blob/main/CHANGELOG.md