Skip to content

renders a pdf file from html using a shared Go library called from lua via ffi

License

Notifications You must be signed in to change notification settings

imba28/lua-go-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lua-go-pdf

This repository contains a simple go module that renders a pdf file using chromedp (webkit engine). The go module gets compiled to a shared library, which can be called from Lua using the foreign function interface.

Run

Take a look at the Makefile or run the following commands (linux only):

make
make run

If nothing went wrong you should be able to find a new invoice.pdf at the root of your repository.

Requires a working Go installation and a Docker binary to be available on your system.

About

renders a pdf file from html using a shared Go library called from lua via ffi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published