Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/csev/live
This is the page I use for my countdown timer for live events
https://github.com/csev/live
Last synced: about 2 months ago
JSON representation
This is the page I use for my countdown timer for live events
- Host: GitHub
- URL: https://github.com/csev/live
- Owner: csev
- License: mit
- Created: 2015-08-06T21:57:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-11-27T18:42:40.000Z (about 1 year ago)
- Last Synced: 2024-05-01T20:47:24.382Z (8 months ago)
- Language: JavaScript
- Size: 6.1 MB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This uses FlipClock
I use this to power my site for live events: http://live.dr-chuck.com/
It sets a countdown timer and then refreshes the page dynamically and when the time arrives sends those
watching to a designated page. It does some tricks to skew the users refresh times so servers won't crash too badly even if there are a few thousand people watching the countdown timer. If you think about it a bit, you don't want perfectly synchronized refresh cycles or this will look like a Denial of Service :)
You need to edit the file `setup.php`
I have not made the program completely reconfigurable - feel free to send me a PR if you improve it or make it more generic.
(I apologize for the quality of the code as I wrote this in a great hurry)This is licensed under MIT or CC0 - you don't even need to keep my name in this code if you adapt it.