News for hackers. Stuff that matters.
Re:Show HN: PDF Debugger – Inspect Structure of PDF Files by hyzyla on Saturday September 30, 2023 @08:00AM (#37714635)
I haven't decided if I want to create an open-source version. In the first place, I made it private to worry less about my code quality and to finish the product faster before I lose interest in it.

It heavily relies on the core part of PDF.js: I've made a fork of the PDF.js project, removed everything not related to the core part, and added an export for low-level primitives [1].

Also, as inspiration, I used the pdf.js.utils [2] project, which almost does the same but in a different form.

1. https://github.com/hyzyla/pdf.js-core

2. https://github.com/brendandahl/pdf.js.utils

Re:Show HN: PDF Debugger – Inspect Structure of PDF Files by pixelgeek on Saturday September 30, 2023 @11:56AM (#37716689)
Very nice work.

I wouldn't worry about the quality of the code. You get better by seeing other people's work and seeing alternative solutions to the problems you had.

Also, as I mentioned in another comment, this could easily be built into a quick trouble-checking app for POD work. Posting it would also let people fork it to make more task-specific apps.