If you already have your golang toolchain set up
cd path/to/poster
go build
./poster -searchpath path/to/source/code/dir path/to/some/image.png
path/to/google-chrome --headless --hide-scrollbars --window-size=600,600 --screenshot path/to/some/image.html