Skip to content

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

License

Notifications You must be signed in to change notification settings

Nooshu/node-countdown-gif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gif countdown generator

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. Now no longer maintained.

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 6.0.0
  • cairo 1.8.6

License

MIT

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published