a shrexulous timer https://goodtimer.lubiland.de/
您最多能選擇 25 個主題 主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
 
 
 
lub 6d83abfeaa add /addwidget to readme
fixes #2
1 年前
LICENSE.md add LICENSE.md 5 年前
README.md add /addwidget to readme 1 年前
index.html add cache busters 4 年前
main.css optimize default font size for mobile 4 年前
main.js fix negative countdown 4 年前

README.md

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