-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
hi,
in it's current form, docker-html-to-pdf seems a very useful command line utility. but in it's current form, it doesn't look to be easily useable from other docker containers (correct me if i'm wrong!). i was thinking it wouldn't actually require too much effort to make this useful within docker applications.
for example, adding a simple restful API:
curl -o http://html-to-pdf/convert?from=fred.html
could call
pink33n/html-to-pdf fred.html --url file:///tmp/fred.html --output randomString.pdf
and the restful API could return the pdf file name. files would be read and written from a volume shared with other containers.
gotenberg allows this sort of thing, of course, but gotenberg has some many features, it has quite a large attack surface. where as there's something attractive about your far more minimal solution.
thoughts?
with thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels