Skip to content

Using Node to generate a countdown Gif. Serve or download it as required.

License

MIT, GPL-3.0 licenses found

Licenses found

MIT
LICENSE
GPL-3.0
LICENSE.md
Notifications You must be signed in to change notification settings

raindigi/animinated-date-gif

 
 

Gif countdown generator

FOSSA StatusOpen Source Helpers Version npmBuild StatusCoverage Status


The very simple app I have created allows you to generate a countdown timer animated gif depending on the URL parameters you provide. View demo.

URL Parameters (*required)

  • time* - Date & time when your countdown will end [e.g. 2016-06-24T20:35]
  • frames - number of frames (also number of seconds) the countdown will run before looping [defaults to 30]
  • width - width in pixels [defaults to 200]
  • height - height in pixels [defaults to 200]
  • bg - hex colour code for the background [defaults to 000000]
  • color - hex colour code for the text [defaults to ffffff]
  • name - filename used for the generated gif [defaults to 'default']

Generate Examples

These trigger a download. Change the URL from /generate to /serve when used in an image tag.

Versions

Tested with and designed for:

  • node 8.11.2
  • cairo 1.8.6

License

MIT & GNU GENERAL PUBLIC LICENSE 3.0

FOSSA Status

Contributors

Also see a list of contributors here: Contributors on this repository

About

Using Node to generate a countdown Gif. Serve or download it as required.

Resources

License

MIT, GPL-3.0 licenses found

Licenses found

MIT
LICENSE
GPL-3.0
LICENSE.md

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 59.0%
  • HTML 37.8%
  • CSS 3.2%