Sunday, 9 October 2022

Show HN: Simplepdf.eu – a browser-based PDF annotator / editor https://bit.ly/3ysfzrw

Show HN: Simplepdf.eu – a browser-based PDF annotator / editor Hi HN! I've been working on SimplePDF to solve a problem I encounter weekly: filling out non-editable PDFs [1] --- # About SimplePDF - The documents you load, edit, fill never see the light of my server, everything is processed locally – no remote uploading anything. This includes the PDF generation. - There are no analytics / third party tracking your every move (I do collect usage data, but it's fully anonymous and processed and stored on my server): therefore no annoying cookie banner. You can read more on the Privacy Policy [2] - If someone before you has filled the same document, upon opening it you'll see fields already set, ready to be filled-in, think crowd-sourced fields positioning – saving you time and effort. --- # How does the crowd-sourced positioning of fields work? When a document is loaded in your browser, a fingerprint of the document binary is made, and sent to the server. The document table consists of: document_id, fingerprint and created_at. As soon as you start editing a document, a template is created, containing metadata about the fields (x, y, width, height, type of field, background color...) that is then tied to this document you created. Once you save, this template gets sent to the server. The template table consists of: template_id, document_id, fields (the metadata) as well as created_by_customer_id if you're a customer. As a result, someone else on the other side of the world opening the same document will see the fields you positioned already there – you just saved them the 5min it took you to position them. --- # What's the tech stack of SimplePDF? - NextJS on the frontend - Koa with GraphQL on the backend - Postgres (Managed Database on Digital Ocean) - A 10€ droplet on Digital Ocean --- If you have any questions, comments or feedback (good or bad), I'm all ears! --- [1] The assignments my estonian teacher gives me are usually scanned documents that do not have any editable fields in them. [2] https://bit.ly/3Eu3SnL https://bit.ly/3ysfCDI October 9, 2022 at 05:47PM

No comments:

Post a Comment