SebastiaanKlippert / go-wkhtmltopdf

Golang commandline wrapper for wkhtmltopdf
MIT License
1.06k stars 146 forks source link

GAE problem #31

Closed gspartners closed 3 years ago

gspartners commented 5 years ago

What do I do if I use Google App Engine? The binary file wkthmltopdf is too big to upload. They have a maximum of 32MB, but the binary files is almost 40MB.

SebastiaanKlippert commented 5 years ago

Hi,

I cannot control the size of wkhtmltopdf, you could ask at https://github.com/wkhtmltopdf/wkhtmltopdf

I am no App Engine expert, but from this issue I understand the size limit for Go is 64MB (Go just has bigger binaries) but I don't know if that is just one binary and if you can upload multiple (wkhtmltopdf is not written in Go).

I would think that running a Docker custom runtime is a better solution, but I have no experience with this in GAE.

It is in my backlog to provide a Docker file and/or image for this project at some point in the near future, but my agenda is a bit full at the moment.