If you need to use a raster PNG badge, change the '.svg' to '.png' in the link
Write zip file to disk then include it in sword post
Ideally we’d not write this to disk and instead just generate it on
demand and stream it through. It’s likely possible but this was a quick
fix and should work fine as it’ll never be run on separate dynos since
it’s all once request.
relevant lines covered
hits per line