Your DigitalOcean status on the Home Screen and Lock Screen
An iPhone widget is a glanceable view on the Home Screen or Lock Screen that shows a snapshot its app has written. Duskwatch is an independent iPhone app for DigitalOcean, in development; it puts team status, spend and open alerts on the Home Screen, Lock Screen and Control Center, without widgets ever holding your sign-in.
Updated
- 4Home Screen widgets: status, resource, spend, open alerts
- 2Control Center controls, on iOS 18 and later
- 1 button"I'm on it", for the worst urgent alert
- 0network requests or Keychain reads by a widget
01Home Screen
Four widgets, four questions
Is anything wrong in this team, how is this one resource, what has this month cost, and is anyone on it? Each widget answers one, in a word and a symbol.
Status
"2 need attention · updated 1 min ago": the team, and how fresh that is.
Resource
One droplet, app, database or uptime check: "web-01 · Active", or "Crash loop".
Spend
"Month to date $126 · Within budget", with the estimate.
Open alerts
"4 open alerts · web-01 is off", with an "I'm on it" button.
Every widget and control, with an example
| Surface | What it shows | Example |
|---|---|---|
| Status widget | The team's overall state and how fresh it is, with a team chip | 2 need attention · updated 1 min ago |
| Resource widget | One resource's status word and its most serious finding; for a droplet, a small CPU chart; for an app, its runtime health | web-01 · Active |
| Spend widget | Month to date, the estimate and your budget | Month to date $126 · Within budget |
| Open alerts widget | The count, the worst alert nobody has taken yet, and who is on it | 4 open alerts · web-01 is off · You're on it |
| Lock Screen widgets | Status with the team and its first problem, one resource, open alerts, or spend against your budget as a gauge | 2 need attention · web-01 · off · acme-prod · 02:16 |
| Status control | The last known status; a tap opens the app | 2 need attention, then Duskwatch |
| Open alerts control | A count of open alerts, never a name | 4 open alerts, then Duskwatch |
Widgets use the system background with violet-tinted greys, one plum button, and status as a glyph plus a word.
02Open alerts
The worst alert first, and one button: "I'm on it"
The open alerts widget leads with the worst alert nobody has taken yet, and when it is urgent, its button acknowledges exactly that one. Every alert push refreshes it.
"4 open alerts" · web-01 is off
Nobody has taken it yet, so the "I'm on it" button shows.
"Someone's on it"
Acknowledged on the account: no button.
"Muted until 08:00"
A team mute takes the place of the button.
"Last update 02:14"
Old data never reads "No open alerts".
From DigitalOcean's docs
Since iOS 17, widgets can include buttons and toggles, built with App Intents, that offer app functionality without launching the app.
Apple developer docs: adding interactivity to widgets and Live Activities (external link), verified
How it picks the headline, and the medium widget
- The order: unacknowledged first, your own alerts before DigitalOcean incidents, then failed, off and degraded, then the newest. A resource muted on its own is listed as "Muted" and leads only when every open alert is muted.
- Other states: "No open alerts" with "as of 02:16" when the snapshot is fresh, and "Alerts off" with "Turn on alerts in Duskwatch".
- A group reads by its worst member, as in "api-prod +2".
- The medium widget lists up to 3 alerts with "since 01:40", folds every DigitalOcean incident into one last row, such as "DigitalOcean incident · web-01", and counts the rest as "+1 more".
- The button works once the iPhone is unlocked, for the whole account. Power, deploys and rollbacks stay in the app, behind a swipe and Face ID.
03Lock Screen
Lock Screen and Control Center: which names show
The Lock Screen status widget shows the team and its first problem. Both controls lead with a value, and the open alerts control fits the Action button.
| Team name | Resource names | |
|---|---|---|
| Status widget on the Lock Screen | Yes | Yes |
| Open alerts widget | No | Unless "Names on Lock Screen" is off |
| Live Activities | No | Unless "Names on Lock Screen" is off |
| Status and open alerts controls | No | No |
From DigitalOcean's docs
A control can run an app's action or open the app from Control Center, the Lock Screen or the Action button.
Apple developer docs: creating controls (external link), verified
04Spotlight
Find a resource from Spotlight
Type "web-01" in Spotlight and the droplet appears with its kind, status word and team initials. A tap opens its screen in the app.
Never in the index
- IP addresses and hosts
- Regions and tags
- Findings
A Spotlight result
- web-01
- Droplet · Active · AP
05Snapshot
Why widgets never hold your token
Refresh tokens work once and the rate limit is shared, so a second process refreshing or polling would cost you. Widgets, controls and Spotlight read a snapshot instead.
- 1
The app writes a snapshot
Names, statuses and spend, never IP addresses or hosts.
- 2
Widgets read only that
No network requests and no Keychain.
- 3
"I'm on it" sends an alert ID
Handled by the app in the background, never with a DigitalOcean token.
From DigitalOcean's docs
Access tokens issued to public OAuth clients, such as phone apps, expire after one hour.
A refresh token can be used exactly once to create a new access token, and using it invalidates the access token it was issued with.
The DigitalOcean API allows 5,000 requests an hour and 250 a minute.
DigitalOcean API reference: rate-limit headers (external link), verified
What Duskwatch doesn't do here
- No widget holds, reads or refreshes your sign-in
- No DigitalOcean actions: the only button is "I'm on it"
- No live charts on the Home Screen
- No IP addresses, hosts or regions on widgets or in Spotlight
Questions
Is there an iPhone widget for my DigitalOcean resources?
Yes. Duskwatch has widgets for team status, one droplet, app, database or uptime check, spend, and open alerts. Status, one resource, open alerts and spend also fit the Lock Screen.
Which alert does the open alerts widget show?
The worst one nobody has taken yet. Its "I'm on it" button acknowledges exactly that alert once your iPhone is unlocked, without opening the app, and never changes anything on DigitalOcean.
Does the Lock Screen show my team name?
The status widget does, as in "acme-prod · 02:16". Live Activities never show a team. Turning off "Names on Lock Screen" hides resource names in the open alerts widget, Live Activities and Siri.
What do the Control Center controls do?
The status control shows "2 need attention" and opens the app. The open alerts control shows a count, "4 open alerts", never a name, and can sit on the Action button. Both need iOS 18 or later.