Skip to content

xarzoa/pupty

Repository files navigation

Upty public

Upty public is part of Upty.

Install Upty

Install on Deta

Install Upty status page

Install on Deta

Notes

  • You can share upty-x-random.deta.app. It's your status page.
  • Still in beta. More features coming.

Key features

  • Public page.
  • Public API.
  • Open source.

FAQ

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

Example request

curl http://your-app-url/api/getStatus

Example responce

/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.

About

Public status page powered by upty

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published