Skip to content
Inkscape: SVG → PNG → S3 on DigitalOcean
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.gitignore
Procfile
README.md
conf.js
package.json
server.js

README.md

Inkscape: SVG → PNG → S3

I started this project to generate crisp PNGs (and potentially PDF, EPS, plus other image formats) from complex D3.js visualizations. Ideally these would be used as visualization previews, embedded in emails, or served as low-fidelity alternate content. Alternate methods that I tried (phantom.js, canvg) had severely limited SVG spec coverage, resulting in broken, partially rendered artifacts.

So here we are! Help me stabilize this beast!

Create a new Droplet on DigitalOcean

Specs: Ubuntu 12.04 x64 with 512MB Ram

Configure S3

export AWS_ACCESS_KEY_ID=<your aws access key id>
export AWS_SECRET_ACCESS_KEY=<your aws secret access key>
export AWS_BUCKET_NAME=<bucket name for rendered artifacts>
export PORT=<#### or default of 4444 will be used>

Other steps

  • Create a /tmp folder with write access
You can’t perform that action at this time.