Drel/Docs/Overview
Developer documentation

Build against a small, explicit contract.

Drel is an iPhone push utility and focused web container. These docs distinguish what is available now from future work, so your integration does not depend on WebKit cache, undocumented fields, or ungranted native privileges.

Teach your AI agent the Drel development contract · Skill v1.2 npx skills add dyyz1993/Drel --skill drel-app-development

Send a test push

Paste the push address copied from Drel, pick what to send, and try it. The official address and a self-hosted address have the same shape, so the same box covers both — the request leaves your browser and goes straight to the server in that address, and nothing is stored on this page.

Start here

中文开发指南:curl、Bridge 版本与 Schema 下载 →

Build an app

Four progressive levels: an ordinary web page, an app-center entry, a strong offline package, and declared native actions.

Read the app guide →

Call native actions

What the Bridge may do, the six checks behind every call, and how to degrade gracefully in ordinary browsers.

Read Bridge API →

Send a push

Bark-compatible URL paths and a structured JSON API to deliver notifications and open exact HTTPS destinations.

Read Push API →

Open a web tool

Pages run in a Store-safe container with a documented runtime environment object, not raw privileged JavaScript.

Read container behavior →

Keep an app offline

A signed, hash-verified resource manifest makes an installed web app launchable without WebKit cache.

Read offline packages →

Run it yourself

Self-host the push relay, the gateway, or both on your own infrastructure. Three options, pick one.

Choose an option →

Give an agent the contract

The versioned Drel app-development skill contains templates, checks and non-negotiable boundaries.

Read the skill →

How the pieces fit together

Your app, the gateway and the push relay are three separate things. The app never depends on either of the other two — the gateway only provides app identity, and the relay only delivers a wake-up.

Drel system architecture: your web app loads in the phone's web container; the optional gateway signs app manifests; the optional push relay forwards to Apple APNs, which wakes the app.
Read it as three independent parts. Your web app is a plain page on any static host. The gateway is optional and only supplies signed app identity. The push relay is optional and only carries a message. Either of the latter two can be self-hosted, and the two can share a host or run apart.

Your app and the push service are independent

Your app is a web page on any static host. A push service only delivers a wake-up. A gateway and a push relay may share one host, one domain and one certificate, or run entirely apart — see Self-host Drel for both deployment topologies.

Try the live fixtures. Four running demos cover strong offline packages, offline fallback, declared native actions, and a reusable app template.

Security model in one minute

A push address is a bearer capability. Keep it out of screenshots, logs, source control, and public URLs. The official delivery service processes requests to deliver them; it is not an end-to-end encrypted secret channel. Do not put credentials, recovery codes, or financial secrets in a notification payload.

What Drel does not do

  • A remote page does not receive native Bridge, camera, file, photo-library, clipboard, or approval powers merely because it opened in Drel.
  • A Web App Manifest alone does not make a page an offline app. Durable offline launch requires a verified package and a user-initiated install.
  • A successful API response means the relay accepted the request for APNs delivery; it is not a guarantee that a particular device displayed it.