[CBH] BentoPDF can now edit existing PDF text along with two new engines.
from alam@lemmy.world to selfhosted@lemmy.world on 29 Aug 11:56
https://lemmy.world/post/51264253

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.

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:

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.

Repository and benchmarks: 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:

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: github.com/alam00000/bentopdf-kura

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

Thank you and have a great weekend!

#selfhosted

threaded - newest

curbstickle@anarchist.nexus on 29 Aug 12:09 next collapse

@alam@lemmy.world Please update your post with a tag and disclosure as needed per rules 7 & 8.

alam@lemmy.world on 29 Aug 12:22 next collapse

Hello! Thank you I have updated it. I believe if its CBH then rule 8 does not apply? If I missed anything then kindly let me know

alam@lemmy.world on 29 Aug 12:26 collapse

Hi, I just wanted to clarify the AI disclosure requirement again.

I used AI to help generate a large number of malformed PDF files including edge case PDFs that break PDF conformance, which I then used for testing and validating both the engines. However, AI was not used to write the engine’s code or the actual test cases.

Would this require me to tag the post as [AIH] / AI-involved? Thank you

curbstickle@anarchist.nexus on 29 Aug 12:34 collapse

That wouldn’t count as anything other than CBH, since it wasn’t involved in any stage of programming/documentation/etc - more like testing samples, which is no different than users sending crappy pdf’s along imo.

alam@lemmy.world on 29 Aug 12:40 collapse

Great thank you very much. I have updated it to reflect the same

cannedtuna@lemmy.world on 29 Aug 12:51 next collapse

Thanks for your work man. Bento is great.

I mostly use it to unlock PDFs that really shouldn’t be locked in the first place. I’ve been meaning to try out some of the other features but hadn’t gotten around to it yet.

Keep it up!

alam@lemmy.world on 29 Aug 13:00 collapse

Thanks a lot! I am glad it helped

warmaster@lemmy.world on 29 Aug 13:27 next collapse

Does Kura allow for user defined checks?

alam@lemmy.world on 29 Aug 14:09 collapse

Hi! Yes it does. its mentioned in the docs: kura.bentopdf.com/docs/preflight#writing-your-own

DonutsRMeh@lemmy.world on 29 Aug 15:10 next collapse

A couple of years ago, I complained about not many options for PDF editing on Linux, now there are too many of them and I’m 100% ok with that. Thank you for this.

Kirk@startrek.website on 29 Aug 22:24 collapse

What others are there? This is the first I know of!

HubertManne@piefed.social on 30 Aug 02:07 next collapse

im curious to. this would be a competitor for firefox for me.

lIlIllIlIIIllIlIlII@lemmy.zip on 30 Aug 02:53 collapse

Stirling pdf, but is going with the freemium path.

enchantedgoldapple@sopuli.xyz on 29 Aug 15:23 next collapse

I really appreciate the work you’re doing! I mostly local PDF viewers and editors for my daily work, but for situations where those apps fail, BentoPDF reliably helps me out.

I recall having used tinywow.com for bite-sized tasks with files which I found quite convenient at the time. While I have stopped using it in favour of better and privacy respecting applications, I love how BentoPDF brings about a similar level of convenience, as a FOSS app no less.

zer0squar3d@lemmy.dbzer0.com on 29 Aug 15:44 next collapse

This is great! Keep it up!

Voroxpete@sh.itjust.works on 30 Aug 01:35 collapse

Oh hell yes! Awesome update.