Skip to content

First Place: $3.5k OMI HACKS WINNER: SOS - AI wearable plugin that saves your life by contacting emergency contacts automatically when you're in danger.

Notifications You must be signed in to change notification settings

shreybirmiwal/SOS

Repository files navigation

itch banner

SOS is the life-saving OMI AI wearable app. When SOS detects you are in a dangerous situation (Say "SOS"), it will contact the authorities with your location & context, to get you help ASAP.

Demo

https://x.com/shreybirmiwal/status/1857880411767967761 (Click Image) image

OMISOS2.mp4

Future Improvements

  • Send to multiple contacts, not just 1
  • More reliable send (use Twilio or similar). Currently unstable because using jank solution to get around Twilio cost + verification
  • Trigger on 'SOS' in real-time (transcript processed) rather than memory created

Pages

To all links, append UID like ?uid=xyz

Guide for OMI users README:

Note that sos-auth URL will have user UID appended

# Setting Up SOS

1. Follow authentication steps below
2. When in situations of dangers, say "SOS"
3. When the memory is created, it will notice the SOS, and contact your emergency contact

## Authentication 


1. Open (https://sos-auth.vercel.app/)[https://sos-auth.vercel.app/]
2. Follow directions by inputing your emergenecy contacts


## Troubleshooting

[Common issues and solutions coming soon]

---

> Experimental feature. Feedback: [email protected]

Omi Plugin Published Details

  {
    "id": "SOS",
    "name": "SOS-Emergency Help",
    "author": "Shrey Birmiwal",
    "description": "Alerts authorities and emergency contacts if OMI detects you are in danger. Say 'SOS' and OMI will send your location and context to get you help ASAP.",
    "image": "/plugins/logos/SOS-logo.png",
    "capabilities": [
      "external_integration"
    ],
    "external_integration": {
      "triggers_on": "memory_creation",
      "webhook_url": "https://sos-orcin.vercel.app/api",
      "setup_completed_url": "https://sos-orcin.vercel.app/setup_completed_url",
      "setup_instructions_file_path": "/plugins/instructions/SOS/README.md"
    },
    "deleted": false
  }

Contributing

We welcome any contributions. Please leave a pull request! Make sure to create a .env in the root directory with the following:

EMAIL_KEY=YOUR_GMAIL_APP_SPECIFIC_PASSWORD_KEY
OPENAI_API_KEY=YOUR_OPENAI_KEY

Current File Format:

  • /sos_frontend : ReactJS front end for the authentication page. Writes user emergency data into firebase
  • config.js : Firebase setup for nodejs
  • index.js : Routes for the api to get webhooks from OMI and return values
  • vercel.json : Just for deployement to vercel for the node.js server

About

First Place: $3.5k OMI HACKS WINNER: SOS - AI wearable plugin that saves your life by contacting emergency contacts automatically when you're in danger.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published