sample image generator for Aotal assessment app images, using node-canvas
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Sample image generator to dynamically create images suitable for Aotal assessment apps (as described at, using node-canvas.

To run on server:

git clone
cd imageGen
docker build -t imagegen .
docker run -d -p 8081:8081 --restart unless-stopped imagegen

Images will now be served at (e.g. for a score of 77):

Areas for improvement:

  • more image types
  • add a signature param, so that only users with the generator's secret key can create working urls (we don't want miscreants hosting 52x32 porn images :)
  • add varnish to cache images server-side