Under the hood
Settings
Quick capture from your iPhone
- Open Shortcuts → new shortcut → add “Ask for Input” (text).
- Add “Get Contents of URL”:
…/api/capture, method POST. - Headers:
Authorization: Bearer <your capture token>. - Request body (JSON):
{"title": [Provided Input]}. - Name it “Add task”, add to Home Screen or the share sheet.
Your capture token is the CAPTURE_TOKEN secret you set with wrangler secret put.
Capture by email
Email anything to your capture address and it lands in the inbox — subject becomes the task.
Set up in Cloudflare: Email Routing → route todo@yourdomain.com → this Worker. Only senders on your allowlist are accepted.
Daily digests
A morning email with your Top 3, and an evening nudge to plan tomorrow. Configure Mailgun keys via wrangler secret put MAILGUN_API_KEY and the vars in wrangler.jsonc.