This command allows you to add a live countdown image to your outgoing emails using Mixmax. Times should be in the format HH:MM:SS.
- Install node
- Install other required system dependancies using
sudo apt-get install libcairo2-dev libjpeg-dev libgif-dev
on Debian orbrew install cairo
on macOS - Update your URL and server port (if desired) in constants.js
- Install the app by running
npm install
- Run the app using
npm start
To check the time input, request:
curl http://localhost/typeahead?text=1
To generate the countdown image url, request:
curl http://localhost/resolver?text=1:00:00
To get a countdown image, request:
curl http://localhost/image.gif?time=iso_format_end_time