a shrexulous timer https://goodtimer.lubiland.de/
  • JavaScript 75.1%
  • HTML 19.1%
  • CSS 5.8%
Find a file
2025-06-29 15:22:11 +02:00
index.html update cache buster 2025-06-29 15:22:11 +02:00
LICENSE.md relicense to AGPL 2025-04-13 11:01:38 +02:00
main.css use custom style instead of headings 2025-06-29 15:19:24 +02:00
main.js use custom style instead of headings 2025-06-29 15:19:24 +02:00
README.md fixe file endings 2025-06-29 14:04:33 +02:00

Goodtimer

This is a simple countdown in plain HTML+CSS+JavaScript. You can either host it yourself (just serve the files in this repository with a web server) or use https://goodtimer.lubiland.de

The target date is specified behind a hash (#) and in any ECMAScript Date Time String Format. When you omit the timezone it uses the local time of the browser.

Here are some example URLs:

https://goodtimer.lubiland.de/#2020-11-24T00:00+01:00
https://goodtimer.lubiland.de/#2020-11-24T00:00
https://goodtimer.lubiland.de/#2020-11-24
https://goodtimer.lubiland.de/#2020-11
https://goodtimer.lubiland.de/#2021

Matrix widget

Goodtimer is also usable as widget for Matrix clients. Within Element you can either specify the URL as 'Custom Widget' or manually send something like this example state event via /devtools:

type: im.vector.modular.widgets  
state_key: shadowlands-release
{
	"type": "customwidget",
	"url": "https://goodtimer.lubiland.de/#2020-11-24T00:00+01:00",
	"name": "Shadowlands Release",
	"data": {
		"curl": "https://goodtimer.lubiland.de/"
	}
}

Or alternatively with /addwidget:

/addwidget https://goodtimer.lubiland.de/#2020-11-24T00:00+01:00