HackerTrans
TopNewTrendsCommentsPastAskShowJobs

AugusteLef

no profile record

Submissions

Launch HN: Onedoc (YC W24) – A better way to create PDFs

github.com
293 points·by AugusteLef·2 anni fa·185 comments

Show HN: A new open-source library to design PDF using React

github.com
6 points·by AugusteLef·2 anni fa·10 comments

comments

AugusteLef
·2 anni fa·discuss
Thank you for taking the time. It really helps us define our value proposition and outline the next steps in product development. As you mentioned, the challenge isn't the inability to produce something in-house but rather other product-roadmap priorities. Our goal is to ensure that companies needing to produce many documents —where documents are necessary but not core to their business— can use our solution at a fair price and limiting the pain of creating such solution in house. OnPrem + fixed rate seems to be the best option for high volume. We'll explore this and see what future solutions we can offer to meet these needs!
AugusteLef
·2 anni fa·discuss
Street smart! But yes, programmatic merging does get complex, especially with large document sizes. It's a balancing act between functionality and handling those technical challenges!
AugusteLef
·2 anni fa·discuss
It seems there isn't a solution that satisfies everyone so far, indeed. With concerns about languages supported, functionalities, security, etc., there's certainly a lot of room for improvement in this space to offer a better solution!
AugusteLef
·2 anni fa·discuss
We've updated our pricing, and it can go as low as $0.005 per document. True, you'll still need to work with a third-party vendor, but isn't it worth considering if the features are competitive and the interface is user-friendly? It would be interesting to know what might convince you to switch from Puppeteer to another solution—or if you're completely satisfied and wouldn't switch regardless of the offerings, which is perfectly fine.
AugusteLef
·2 anni fa·discuss
We've adjusted our pricing based on your comments and advice. It's not 100% free, but it now seems to make more sense to most of you. What do you think?
AugusteLef
·2 anni fa·discuss
We'll adjust the wording until we have a faster renderer. Also, the playground might take a bit longer to render since there's a queue and it's been heavily used! We're on it, thanks!
AugusteLef
·2 anni fa·discuss
Got it, thanks!
AugusteLef
·2 anni fa·discuss
Thanks! We are looking to extend our set of feature and integration, offering self-storing on S3 could definitely be one of them! Good call
AugusteLef
·2 anni fa·discuss
Exactly. We are aiming at offering a solution to build complex PDF design. Which means having 100% control over the layout (margin, header, footer), the style and also the content. That's why we integrated Tailwind, CharkraUI, Markdown, LaTeX, and also wanted to support SVG etc.
AugusteLef
·2 anni fa·discuss
certifications (SOC2 / ISO27001) and offer an on-premise solution! I see there's already a discussion about pricing, so I'll leave that be. However, would an unlimited volume at a fixed cost (and self-host) be an attractive solution? It could be interesting for very high volumes.
AugusteLef
·2 anni fa·discuss
Sorry for the misunderstanding, we indeed "meant something more like a viewer for Adobe's PDF format rather than Adobe's viewer for PDFs.". We will make sure to change the wording. Thank you!
AugusteLef
·2 anni fa·discuss
True. Security is a significant concern, and in our discussions with businesses, we realised that most of them do not want any kind of data leaving their own systems. This is especially true in the biotech/healthcare industry, but also in legal and banking. That's why we're considering an on-premises solution for the future (as we're focusing on B2B). However, I assume most people were talking about personal use cases or non-sensitive documents, hence the fact that no one mentioned SSRF (yet ;)).
AugusteLef
·2 anni fa·discuss
Ok very interesting, i'll give it a try! Thanks for sharing
AugusteLef
·2 anni fa·discuss
Never used it actually, is it in between LaTeX and Markdown with the possibility to process JSON input?
AugusteLef
·2 anni fa·discuss
We do not work with docx and never did it myself but: "DOCX Template API is a tool that allows you to dynamically generate MS Word documents by replacing custom properties using a JSON object that contains your data." I assume this is more or less similar to what you are looking for (?)
AugusteLef
·2 anni fa·discuss
Thanks for the tip, I will take a look at it asap
AugusteLef
·2 anni fa·discuss
Absolutely! It's all about finding the right balance between granting users complete control over the layout and restricting it to ensure specific use cases through templates. As for scaling, indeed, horizontal scaling is an option, but there's a limit to its practicality. It would be interesting to conduct a resource/time analysis over the various solutions available on the market in different situations/use cases
AugusteLef
·2 anni fa·discuss
Indeed, speed is an issue (and it's hard to tackle). Additionally, when using Chrome, what you see is not always what you get. The layout often doesn't match expectations, especially with complex elements. It's ok for simple use cases, but for professional and scalable solutions, you usually need to switch to something else!!
AugusteLef
·2 anni fa·discuss
As of today we are building our solution on top of PrinceXML/DocRaptor which is considered "to be the best PDF generation API, giving complete control over the documents you need to create" (cf. another comment). As we started working on this solution less than 2 months ago, building our own renderer was not an option. But once we have validated the idea, we are definitely going to work on our own renderer to have 100% control over the workflow, and also to be able to offer a better pricing model!
AugusteLef
·2 anni fa·discuss
Thanks! We're fine-tuning our pricing model and realize we have some work to do in this area hahaha! Indeed, at a certain scale, per-document pricing becomes almost impossible (we're talking about millions of documents generated daily). As noted in another comment, costs vary significantly depending on the PDF type, from simple receipts to large multi-page reports, especially since we currently rely on other proprietary software that incurs high costs. In the future, we aim to offer more than just document generation (like e-signature, analytics, hosting, editor, etc.) and hope to move away from "per document" pricing for high volumes. That said, our open-source library allows anyone to design a document and use their preferred renderer for PDF conversion, with all the pros and cons each solution provides. There are more comments about pricing providing additional information; feel free to dive in if you have any comments or questions