Skip to content
appwritePublic

About

Appwrite Cloud alerts that ring your phone, even on silent.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

207 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beep on an iPhone lock screen, an iPad, an open iPhone Duo and an Android phone, showing firing alerts and usage

Appwrite Beep

Appwrite Cloud on your phone. See what's firing, how your projects are doing and what's new, and get a push when a monitor fires. Critical alerts ring through silent mode and Do Not Disturb.

CI Expo SDK 58 MIT license

Features

Beep is for reading and triage. Anything else opens the console.

  • Setup on first launch: pick the organizations and projects to watch, what reaches you, notifications, critical alerts, and a test alert that proves they get through. Skip any of it; Home keeps a checklist, and Settings → Check setup sends another test.
  • Home: firing alerts, Cloud status, alerts per day over two weeks, projects that need a look and the latest changelog entry.
  • Projects: requests per project, then bandwidth, requests, storage, executions and compute over 24 hours, 7 days or 30 days.
  • Alerts: firing, acknowledged and resolved alerts per organization, with filters, from usage and budget monitors and from HTTP, DNS, TCP and SMTP checks. Acknowledge an alert for your team, or open it in the console.
  • Pushes when an alert fires and resolves, with Acknowledge, Snooze and Mute buttons that work without opening the app.
  • Snooze an organization's pushes while you handle an incident, from Settings, a push or the app icon.
  • Long press an alert or project for quick actions, or the app icon for shortcuts.
  • Critical alerts: a separate permission on iOS and an alarm channel on Android.
  • Updates: the Appwrite changelog and ongoing Cloud incidents. Tap a product update notification to read the entry, or turn these pushes off under Settings → Notifications → Product updates.
  • iPad and foldables get a dashboard layout that follows the window width.

Sign in with your console account (GitHub, Google or email, with MFA). Settings are saved to the account, so they follow you across devices. Usage analytics go to Appwrite Analytics without IDs or names, and can be turned off in Settings.

Run

Beep needs a development build; Expo Go won't work.

npm install
npm run ios       # or: npm run android
npm start         # Metro for the dev client
Variable What it does
EXPO_PUBLIC_DEMO=1 Sample account and data, no server needed. Development builds only
EXPO_PUBLIC_CLOUD_ORIGIN Another Cloud environment, e.g. https://cloud.staging.appwrite.io
EXPO_PUBLIC_ANALYTICS_* _ENDPOINT, _PROJECT_ID and _PROPERTY_ID for usage analytics. Off unless all set
GOOGLE_SERVICES_JSON Path to google-services.json for Android builds. Without it, no pushes

Signing in to a real server needs appwrite-ios, appwrite-android and appwrite-callback-console in its _APP_CONSOLE_SCHEMA. With a real account, development builds mix sample alerts into the list, and tapping a push from a cold start opens Home.

Simulate pushes on iOS with the payloads in pushes/:

xcrun simctl push booted io.appwrite.beep pushes/firing.apns   # or resolved, critical, probe

How it works

The console sends the pushes. Beep registers the device as a push target, reads alerts and usage, and keeps its settings in the account's prefs.

flowchart LR
  M["Monitor fires"] --> W["Notifications worker"]
  W -->|"APNs or FCM"| P["Phone"]
  P -->|"tap: beep://alerts/#lt;id#gt;"| A["Beep"]
  A -->|"account.createPushTarget"| T[("Push targets")]
  A -->|"account.updatePrefs: beep"| U[("Account prefs")]
  T --> W
  U --> W
Loading

Critical alerts

iOS: plugins/critical-alerts.js adds the critical alerts entitlement, which Apple grants per app. Until it's granted, the plugin stays disabled in app.json and critical pushes arrive as normal ones. Once granted, enable it on the App ID, set enabled: true and regenerate the profile with eas credentials.

Android: pushes name a channel. alerts is high importance with the default sound; critical is max importance on the alarm stream. Ringing in Do Not Disturb needs the channel's Override Do Not Disturb switch. Some phones, such as Samsung's, leave it out of the channel's page, so the app asks for Do Not Disturb access (ACCESS_NOTIFICATION_POLICY) instead, which lets it set the switch when it creates its channels.

Tests

npm run format:check && npm run lint && npm run typecheck
npm run test:unit
npm run test:integration    # the real SDK against a fake server
npm run test:e2e:android    # or test:e2e:ios

End-to-end tests drive a development build with Maestro, so start EXPO_PUBLIC_DEMO=1 npm start first.

CI runs on pull requests and main, with end-to-end flows on both Android and iOS.

Releases, store listings and Beep's own Appwrite project are covered in docs/maintaining.md.

Font licenses

Inter 4.1 and Source Code Pro are distributed under the SIL Open Font License 1.1. The font notices are also available offline in Settings → About → Font licenses.

About

Appwrite Cloud alerts that ring your phone, even on silent.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages