Plugins · new in 0.2
Plugins need no code. One nookdeck.json, built-in renderers, and a permission prompt before anything runs.
{
"id": "dev.alice.crypto",
"nookdeck": ">=0.2.0",
"permissions": { "network": ["api.coingecko.com"] },
"widgets": [{
"render": "stat",
"sizes": ["2x1", "2x2"],
"source": {
"http": { "url": "https://api.coingecko.com/…",
"every": 60 },
"map": {
"value": "$.bitcoin.usd",
"unit": "USD",
"label": "bitcoin"
}
}
}]
}