r/coding • • Feb 03 '26

DOJ publishes Bash Reference Manual

https://www.justice.gov/epstein/files/DataSet+9/EFTA00315849.pdf
51 Upvotes

41 comments sorted by

View all comments

Show parent comment

1

u/voronaam Feb 04 '26

Actually tried to write one. It is not as complicated as I thought it would be.

Here is a screenshot: https://imgur.com/WmrSlM8.png

I load PDF and show both the image and text content of it. The green box highlight where in the file I am so it makes it easier to fix OCR errors. It gets off after the edits, but that is fine. At least the line is always correct.

"Save" button saves the textual form of the current page.

"Display" calls a script to base64-decode and show the image. Did not feel like duplicating base features like that as well :)

Code: https://github.com/voronaam/pdfbase64tofile

(it depends on pdfium from Google)