darkpulse-dashboard / widgets.json
researcher28's picture
You are a senior frontend engineer.
d0330d4 verified
Invalid JSON: Unexpected token 'j', "json [ "... is not valid JSON
json
[
{
"id": "btc-price",
"type": "metric",
"title": "BTC Price",
"size": "small",
"color": "orange",
"refreshInterval": 5000,
"format": "currency",
"historyLabel": "24h",
"currentValue": 42356.78,
"history": [42000, 42150, 42200, 42300, 42250, 42320, 42356]
},
{
"id": "eth-price",
"type": "metric",
"title": "ETH Price",
"size": "small",
"color": "purple",
"refreshInterval": 5000,
"format": "currency",
"historyLabel": "24h",
"currentValue": 2280.45,
"history": [2250, 2265, 2270, 2275, 2280, 2278, 2280]
},
{
"id": "btc-dominance",
"type": "metric",
"title": "BTC Dominance",
"size": "small",
"color": "blue",
"refreshInterval": 10000,
"format": "percent",
"historyLabel": "7d",
"currentValue": 0.4823,
"history": [0.48, 0.479, 0.481, 0.482, 0.483, 0.482, 0.4823]
},
{
"id": "api-server",
"type": "uptime",
"title": "API Server",
"size": "medium",
"color": "green",
"refreshInterval": 15000,
"format": "status",
"historyLabel": "30d",
"currentValue": "online",
"latency": 142,
"uptime": 0.9972,
"history": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1]
},
{
"id": "database",
"type": "uptime",
"title": "Database",
"size": "medium",
"color": "teal",
"refreshInterval": 15000,
"format": "status",
"historyLabel": "30d",
"currentValue": "online",
"latency": 45,
"uptime": 0.9998,
"history": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
},
{
"id": "daily-users",
"type": "metric",
"title": "Daily Users",
"size": "medium",
"color": "pink",
"refreshInterval": 60000,
"format": "number",
"historyLabel": "30d",
"currentValue": 12453,
"history": [11000, 11200, 11450, 11560, 11670, 11780, 11900, 12010, 12120, 12230, 12340, 12453]
},
{
"id": "crypto-news",
"type": "news",
"title": "Crypto News",
"size": "large",
"color": "yellow",
"refreshInterval": 30000,
"format": "list",
"historyLabel": "",
"items": [
"Bitcoin ETF approval expected next week",
"Ethereum completes successful testnet merge",
"Regulators discuss global crypto framework",
"Institutional inflows reach $120M this week"
]
},
{
"id": "market-sentiment",
"type": "metric",
"title": "Market Sentiment",
"size": "small",
"color": "red",
"refreshInterval": 15000,
"format": "percent",
"historyLabel": "24h",
"currentValue": 0.72,
"history": [0.68, 0.69, 0.70, 0.71, 0.72, 0.715, 0.72]
},
{
"id": "validator",
"type": "uptime",
"title": "Validator Node",
"size": "large",
"color": "indigo",
"refreshInterval": 20000,
"format": "status",
"historyLabel": "30d",
"currentValue": "online",
"latency": 210,
"uptime": 0.9895,
"history": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
}
]
</html>