Earlier quoted context omitted.
Typst is a typesetting language that makes programmatic layout and processing JSON input pretty darn simple. I make invoices by having a Typst template read line items from a JSON file. https://github.com/typst/typst
Just spent my Sunday creating my invoice template in typst as well. I enjoyed it, and I could do what I wanted quickly!
Launch HN: Onedoc (YC W24) – A better way to create PDFs
141–150 of 191 posts
Re: Launch HN: Onedoc (YC W24) – A better way to create PDFs
#142Earlier quoted context omitted.
Just spent my Sunday creating my invoice template in typst as well. I enjoyed it, and I could do what I wanted quickly!
Never used it actually, is it in between LaTeX and Markdown with the possibility to process JSON input?
It's markdown-like (but definitely not exactly CommonMark, don't expect that), with # acting as escape into the world of layout and programming. Templates are just functions that return a datatype called a content block, and so on.
Re: Launch HN: Onedoc (YC W24) – A better way to create PDFs
#143Earlier quoted context omitted.
Never used it actually, is it in between LaTeX and Markdown with the possibility to process JSON input?
I'd describe Typst as somebody wanted a TeX reimplementation in Rust with better syntax and modern ideas, and made that their Masters projects. It's markdown-like (but definitely not exactly CommonMark, don't expect that), with # acting as escape into the world of layout and programming. Templates are just functions that return a datatype called a content block, and so on. https://typst.app/docs/tutorial/writing-in-t…
Re: Launch HN: Onedoc (YC W24) – A better way to create PDFs
#144Most HTML-to-PDF are deeply insecure and I am more than happy to pay someone else to deal with isolation and security. Report generators are often used to leak cloud secrets via the metadata API.
Re: Launch HN: Onedoc (YC W24) – A better way to create PDFs
#145Definitely a problem I experienced. Big fan of browserless.io. Though I didnt see any comment on the biggest problem in this space: SSRF. Most HTML-to-PDF are deeply insecure and I am more than happy to pay someone else to deal with isolation and security. Report generators are often used to leak cloud secrets via the metadata API.
Re: Launch HN: Onedoc (YC W24) – A better way to create PDFs
#146Definitely a problem I experienced. Big fan of browserless.io. Though I didnt see any comment on the biggest problem in this space: SSRF. Most HTML-to-PDF are deeply insecure and I am more than happy to pay someone else to deal with isolation and security. Report generators are often used to leak cloud secrets via the metadata API.
Re: Launch HN: Onedoc (YC W24) – A better way to create PDFs
#147Love the demo on the homepage with the render button. Really helps explain the product!
Thanks! We try to make our product as accessible as possible for anyone to use (or at least to test). It's good to hear that our efforts have been worthwhile!