May be this is just me but this looks extremely costly to me! It will cost $2,500 to generate 50,000 PDFs. Are edits/corrections additional cost?
This is a good point, and we are still trying to figure out how to price things fairly. Depending on the type of PDF, whether it is a simple receipt or a large multi-pages report, associated costs are very different on our side. At this time, we rely on other proprietary software that we are aiming to replace but that incur high costs on our side as well. Edits and corrections on generated PDFs is not provided as the…
Launch HN: Onedoc (YC W24) – A better way to create PDFs
11–20 of 191 posts
Re: Launch HN: Onedoc (YC W24) – A better way to create PDFs
#12I think SOC2 is a must to start engaging with companies. Most PDFs will have sensitive data, and not many companies will feel comfortable sending customer data to a 3rd party platform, so you need security measures and certifications.
Good luck!
Re: Launch HN: Onedoc (YC W24) – A better way to create PDFs
#13Is this just a wrapper around Puppeteer that renders a pdf? I do this currently with an AWS lambda that has a chrome-aws-lambda layer.
In the end, what was the main decisive factor is the support for the PrintCSS and PagedMedia specifications, which have been completely discarded by major vendors and only implemented by specific engines.
Re: Launch HN: Onedoc (YC W24) – A better way to create PDFs
#14Re: Launch HN: Onedoc (YC W24) – A better way to create PDFs
#15I agree that HTML -> PDF can be a really powerful tool. I worked on the UK government's tool to generate energy efficiency labels for consumer goods [0] and we ended up doing PDF generation with SVG templates, using Open HTML to PDF for the conversion. That ended up working very well, though as you allude to there can be some gotchas (eg unsupported CSS features) that you need to work around.
A few questions:
- Do the rendered documents support PDF's various accessibility features?
- How suitable is this for print PDF generation? For example, what version of the PDF spec do you target? What's your colour profile support like? Do you support the different PDF page boxes (MediaBox, CropBox, BleedBox, TrimBox, ArtBox)?
[0] https://github.com/UKGovernmentBEIS/energy-label-service
Re: Launch HN: Onedoc (YC W24) – A better way to create PDFs
#161. HTML-to-PDF: The web has a great layout system that works well for dynamic content. So using that seems like a good idea. BUT it is not very efficient as a lot of these libraries simply spin up a headless browser or deal with virtual doms.
2. PDF Libraries (like jsPDF): They mostly just have methods like ".text(x, y, string) which is an absolute pain to work with when building dynamic content or creating complex layouts.
This was such a pain point in various projects I worked on that I built my own library that has a component system to build dynamic layouts (like tables over multiple pages) and then computes that down to simple jsPDF commands. Giving you the best of both worlds.
Hope this makes somebody's life a bit easier: https://github.com/DevLeoko/painless-pdf
Re: Launch HN: Onedoc (YC W24) – A better way to create PDFs
#17Re: Launch HN: Onedoc (YC W24) – A better way to create PDFs
#18Re: Launch HN: Onedoc (YC W24) – A better way to create PDFs
#19Congrats! My career has also revolved around PDF generation (once for federal compliance at large companies, second for scrubbing data from PDFs for HIPAA compliance and then generating a new pdf based on the scrubbed data). I think I've seen your tool around, I ended up creating a workflow that generated LateX scripts then converted them to pdfs, and the second a python library. The most difficult aspect for our too…
Re: Launch HN: Onedoc (YC W24) – A better way to create PDFs
#20How long does it take to render using your API? :)