The python scraper base64 encodes all the images, so that data is prepared for the web server. The python library being used is PIL. The CSS is hand-written in a Go template. The goal was to have all the rendering done in a single request, so I choose to embed the CSS and relax the CSP on styles.