Upty public is part of Upty.
Notes
- You can share
upty-x-random.deta.app
. It's your status page. - Still in beta. More features coming.
- Public page.
- Public API.
- Open source.
Setup?
- Install.
- Goto app.
- Add
UPTY_DATA_KEY
environment variable. - You're live.
Where to get UPTY_DATA_KEY
?
- Goto deta.space dashboard.
- Click three dots in your installed upty instance.
- Goto settings.
- Goto keys tab.
- Create new data key(add any name u want).
- Paste it and enjoy!
Public api?
Yea, you can use,
your-deta-app-url/api/getStatus
- Get status as Object
curl http://your-app-url/api/getStatus
/getStatus
{
"status": [
{
"added_date": "2023-02-10T13:24:52.507Z",
"code": 200,
"key": "58fd9754-34b7-461c-b0f5-8d4f3b6ea6cc",
"last_checked": "2023-02-12T13:34:51.981Z",
"message": "OK",
"name": "xat",
"status": 200,
"string": "https://xat.icu"
},
{
"added_date": "2023-02-10T20:23:55.423Z",
"code": 200,
"key": "92e47d7a-45f9-4ef5-a730-5d0b5bfe3c10",
"last_checked": "2023-02-12T13:34:52.264Z",
"message": "OK",
"name": "Google",
"status": 200,
"string": "https://google.com"
}
]
}
By xarzoa.
Copyright 2023.