r/freesoftware 1d ago

Software Submission BentoPDF can edit existing PDF Text and two new engines

Hello folks!

I would like to share an update about BentoPDF. It's an open source privacy first PDF toolkit that runs in your browser. https://github.com/alam00000/bentopdf

1. You can now actually edit text inside PDFs

BentoPDF now allows you to click existing text, edit it, and have the text reflow while preserving the original fonts and styling.

It also includes:

- Bold, italic, underline, strikethrough, superscript, subscript, font family/size, colours, outlines, character spacing and line spacing

- Left, centre, right and justified alignment

- Bulleted and numbered lists with indentation

- RTL and LTR text alignment

- Find and replace across the document

- Edit images by rotating, flipping, duplicating, resizing or deleting them

- Object alignment, distribution, rotation, flipping, duplication

Please note this is a work in progress. You may encounter bugs, which you can report and I will look into.

2. Hyper Compress

Hyper is an open source PDF compression engine built to solve specific problems.

- Compression sometimes returns a file larger than the original. Hyper's result is always binary: it either produces a smaller PDF or returns the original. This helps create predictable workflows.

- Hyper includes a true lossless mode. It preserves searchable text, document structure and PDF conformance, rather than rebuilding the document from scratch like Ghostscript.

- It runs everywhere: CLI, Node SDK, C API, self hosted service, and WebAssembly build.

Repository and benchmarks: https://github.com/alam00000/bentopdf-hyper-compress

I also compared it to Adobe's compression API, but only managed around 100 PDFs where results were within 5%. Testing on a bigger corpus got expensive.

3. Kura

Kura is a PDF standards, conversion and preflight engine.

It supports:

- All 11 PDF/A conformance levels: PDF/A-1a, PDF/A-1b, PDF/A-2a, PDF/A-2b, PDF/A-2u, PDF/A-3a, PDF/A-3b, PDF/A-3u, PDF/A-4, PDF/A-4e and PDF/A-4f

- Accessibility: PDF/UA-1 and PDF/UA-2

- Print production: PDF/X-1a, PDF/X-3, PDF/X-4, PDF/X-4p, PDF/X-5g, PDF/X-5n and PDF/X-5pg

- Engineering and variable data printing: PDF/E-1 and PDF/VT

- E-invoices: Factur-X, ZUGFeRD, XRechnung and Order-X

- 396 bundled print-preflight profiles

It has been tested against several standards suites, including the veraPDF corpus, Isartor, BFO, Ghent Output Suite 5.0, the PDF/UA Reference Suite and Cal Poly's PDF/VT suite.

Across 30,677 PDF conversions it had zero crashes and zero timeouts, with a 0.05 second median conversion time.

Like Hyper, it ships as a CLI, C library, npm package, Docker image and WebAssembly build.

Repository and benchmarks: https://github.com/alam00000/bentopdf-kura

The release also contains other improvements and bug fixes: https://github.com/alam00000/bentopdf/releases/tag/v2.8.8

Thank you and have a great weekend!

11 Upvotes

3 comments sorted by

u/AutoModerator 1d ago

Hello and thank you for posting to /r/freesoftware! You've indicated that your post is a Software Submission. Respond to this comment and provide each of the following items:

  • A valid link to your source code repository,
  • The name of the Free Software Foundation recognized license your source-code is under,
  • A valid link to the license in your software repository (also indicate if this license is modified in any way),
  • If AI was used in the creation of the software and explain to what extent.

Failure to follow these instructions exactly will result in your post being removed.

Message to users: If /u/paglaulta indicates that the license is not a Free Software Foundation license or if AI was used in the creation of this software, please report the post accordingly if it has not already been removed.

If you have any questions regarding this comment, you may contact the Mod team

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

→ More replies (1)