Scriptable Calendar Widget
For ease of maintainability this project has moved from this gist to its own repository. You can go and visit it there.
For ease of maintainability this project has moved from this gist to its own repository. You can go and visit it there.
const url = "https://xkcd.com/info.0.json" | |
const req = new Request(url) | |
const { img: imgUrl } = await req.loadJSON() | |
const imgReq = await new Request(imgUrl) | |
const img = await imgReq.loadImage() | |
// for development, displays the widget if run | |
const debug = false; |