Skip to content

pericles-luz/go-html2image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-html2image

Image generator from HTML source. It works only on linux and macOS. Must be adjusted to work on Windows.

Installation

go get github.com/pericles-luz/go-html2image

It's necessary to install wkhtmltoimage on your system.

        sudo apt-get update
        sudo apt-get -y install xfonts-75dpi xfonts-base
        curl --silent --show-error --location --max-redirs 3 --fail --retry 3 --output wkhtmltopdf-linux-amd64.deb https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.jammy_amd64.deb
        sudo dpkg -i wkhtmltopdf-linux-amd64.deb
        sudo ldconfig
        rm wkhtmltopdf-linux-amd64.deb

About

Image generator from HTML source

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors