TinyPDF
github.comKey Features
Tech Stack
Key Features
Tech Stack
Would be interesting to see a concrete “not supported” list from the author.
I think if you have a markdown->PDF function included, where I can send in markdown and get PDF, that would solve quite many needs, and would be useful.
https://github.com/Lulzx/tinypdf/commit/961e6b602f19e125f210...
docs/demos: https://beyondloom.com/decker/pdf.html
browsable source: https://github.com/JohnEarnest/Decker/blob/main/examples/dec...
https://github.com/bubkoo/html-to-image
It's probably the most impressive and seamless experience I've had with converting HTML to pdfs/images so I just wanted to sing its praises here
https://developers.cloudflare.com/workers/platform/limits/
That said, thank you for fighting library bloat! Small libraries tend to perform better (not just on Workers but in general).
Here's the TS library: https://github.com/Myriad-Dreamin/typst.ts
> HTML-to-PDF
Thoughts on a markup language / DSL people pass in as a string? It might reduce the distributable/source code size by reducing the number of API methods you currently expose.
> npm: npm install tinypdf
With the style of no-build and zero-dependencies, I'd think it be compelliing to omit package.json and tell people to just copy-paste the source or link to the distributable.
My page layout code was like 50 lines of code. And I remember thinking... OK they already wrote 8,000 lines of code... They couldn't have added 50 more?!
400 lines though. Respect. I will take a proper look at this when I recover from burnout :)
Not affiliated with Hacker News or Y Combinator. We simply enrich the public API with analytics.