Pdf generator in luminus?

I am working on a luminus project and I want to be able to generate pdf documents, i.e click on an icon and a pdf is generated from a template.
Is there any lib avaliable for that in luminus?

I suppose any of the available PDF libraries would work, such as clj-pdf.

2 Likes

Luminus is a project template for quickly setting up web projects. More generally, if something is available for Clojure, it can be used in Luminus.

As it happens, the creator of Luminus has also created clj-pdf, which you can find here:

https://github.com/yogthos/clj-pdf

1 Like

Recently needed to generate a little report in pdf. What worked for me was clj-htmltopdf + Hiccup. Here is the code if it helps.

1 Like

thanks for all the answers, I will look into these suggestions.