尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Mayday: talks a bystander through a medical emergency, out loud, step by step. Never calls 911. Try it: https://advaycode.github.io/mayday/
翻譯準備中
正在載入完整 README。
檢視完整 README ↗Mayday talks a panicking bystander through a medical emergency, out loud and step by step, while help is on the way, even with no signal.
Congressional App Challenge 2026. Expo (React Native, TypeScript) for iPhone and Android, with a web build that runs inside a life-size iPhone frame on any computer.
Try it in your browser: https://advaycode.github.io/mayday/ (the real app in a phone frame). The Developer only switch opens BeatNet, the heartbeat model, running live in the page on a simulated person, next to the voice engine's own reasoning. Built by tools/build_site.py from site/.
Tap Talk to Mayday and say what is happening ("my dad collapsed and he's not breathing"), or tap the colored tile for the emergency. Mayday answers out loud, asks at most one question, and coaches you through the right protocol: one picture, one short instruction, big answer buttons, and a voice. Back, Talk and 911 sit under your thumb on every step. Mayday never calls anyone. You call 911; its 911 button shows your address and a summary to read to the dispatcher. At "Breathing normally?" you can lay the phone on their chest: it reads the chest's movement from the phone's tilt, to a hundredth of a degree, and can only ever tell you to start CPR sooner. For CPR it counts every compression out loud at 110 a minute, cues breaths if you are trained, tells you when to swap rescuers, and switches to AED steps the moment you say "the AED is here". It keeps a timestamped log to show the paramedics.
Ten protocols, every step cited: adult, child and infant CPR; adult and child choking; infant choking; severe bleeding; burns; stroke (FAST); opioid overdose with naloxone; recovery position.
On this computer, as a phone: double-click Mayday Phone on the desktop, or:
cd mobile; npm install; npm run build:web
powershell -ExecutionPolicy Bypass -File ..\mirror\launch.ps1
That opens the real app in an iPhone 17 Pro frame at its true resolution: 402 × 874 points (1206 × 2622 pixels), one screen pixel per point. The Engine button opens a panel beside the phone that shows, live, what the app heard, what it decided and why. Mayday never calls anyone.
On a phone: cd mobile && npx expo start, then scan the QR code with Expo Go. Expo Go has no speech recognition, so there you tap instead of talk; the voice plays through expo-audio. For the full app build a development client: npx expo run:android or eas build --profile development.
Tests: cd mobile && npm test and npx tsc --noEmit. The breathing sensor's simulated bench: SENSOR_REPORT=1 npx jest sensors (results in docs/SENSOR_SIM.md).
AI features (optional): cd proxy && npm install && npm run dev with keys in proxy/.dev.vars, then EXPO_PUBLIC_PROXY_URL=http://localhost:8787 in mobile/.env.local. Without keys the app is complete; the photo check is hidden.
Plain-language walkthrough, with a diagram and a three-sentence explanation of each part: docs/ARCHITECTURE.md. Design rules: design/SYSTEM.md.
Every spoken line, its source, and whether it has been verified: docs/MEDICAL_SOURCES.md (generated from the protocol files). Primary sources: 2025 American Heart Association Guidelines for CPR and ECC; 2024 AHA and American Red Cross Guidelines for First Aid; American Red Cross Scientific Advisory Council (burn cooling); American College of Surgeons STOP THE BLEED; NIH MedlinePlus. 64 of 78 steps are quoted from their source; 14 await review by a CPR-certified reviewer because the publisher blocks automated download, and they are marked in the app.
ERs: CMS Provider Data Catalog, Hospital General Information. Trauma centers: Florida Department of Health, Florida Trauma Centers (July 23 2026). Urgent care: OpenStreetMap contributors. Geocoding: U.S. Census Bureau. Statistics: CARES 2024 Metrics Summary. Map tiles: Esri, HERE, Garmin, OpenStreetMap. Voice: Piper (en_US-lessac-medium). Step pictures: Wikimedia Commons, public domain and Creative Commons (credits).
Building it: we used Claude Code (Anthropic, Claude Opus 5.5) a lot. It wrote most first drafts of the code (screens, protocol engine, CPR scheduler, keyword router, simulator, proxy, Python tools) and of the docs, and helped with research. We set the rules it builds on (AI never writes medical instructions; Mayday never dials 911), came up with the phone-on-the-chest breathing check and testing it in simulation, chose the protocols and checked them against the guidelines, directed the design, and tested and fixed it. Kokoro-82M (open source, Apache 2.0) recorded the voice from lines we wrote.
While it runs (all optional, behind proxy/): a Groq model (llama-3.1-8b-instant) may suggest a protocol when the keyword rules are unsure, and its answer must match a zod schema or it is thrown away. Claude (or, on the demo laptop, a local Qwen2.5 through Ollama) may reword lines for the patient and rescuer; every line must pass checkRewrite(), which rejects any change to a medical word, number or negation. BeatNet, the heartbeat model, is the one model we trained (PyTorch), and it is lab only. With no AI at all, everything that keeps someone alive still works.
Read docs/PROGRESS.md. In short: not yet tested on physical phones; 14 steps await medical review; the router gets 85% of unseen sentences right (its misses are listed); English only.
Mayday guides you while help is on the way. Always call 911. It is not a substitute for training or professional care, and it does not diagnose.
mobile/ the app (Expo, TypeScript) proxy/ model proxy (Cloudflare Worker)
mirror/ phone frame + launcher tools/ Python: voice, map data, sources doc, icons
site/ the web page (phone frame + developer panel), published to GitHub Pages
docs/ architecture, progress, sources design/ design system
research/ findings and raw notes
app/ the August 2026 Flutter prototype (superseded; its research and protocol content carried over)