{"id":31978704,"url":"https://github.com/leocodeio/whereareyou","last_synced_at":"2025-10-14T22:25:50.939Z","repository":{"id":317323668,"uuid":"1066859902","full_name":"leocodeio/whereareyou","owner":"leocodeio","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-30T06:31:11.000Z","size":691,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-30T08:33:24.380Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leocodeio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"agents.md","dco":null,"cla":null}},"created_at":"2025-09-30T04:07:08.000Z","updated_at":"2025-09-30T06:31:14.000Z","dependencies_parsed_at":"2025-09-30T08:33:26.500Z","dependency_job_id":"bfe13111-9b44-4605-8427-4a8c116148e8","html_url":"https://github.com/leocodeio/whereareyou","commit_stats":null,"previous_names":["leocodeio/whereareyou"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/leocodeio/whereareyou","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leocodeio%2Fwhereareyou","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leocodeio%2Fwhereareyou/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leocodeio%2Fwhereareyou/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leocodeio%2Fwhereareyou/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leocodeio","download_url":"https://codeload.github.com/leocodeio/whereareyou/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leocodeio%2Fwhereareyou/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279021780,"owners_count":26087055,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-14T22:25:45.339Z","updated_at":"2025-10-14T22:25:50.934Z","avatar_url":"https://github.com/leocodeio.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Safety Tracker App 📍🛡️\n\nA React Native Expo app that tracks your location periodically and sends SOS alerts via WhatsApp if you haven't used the app for a configurable period.\n\n## Features\n\n- **Location Tracking**: Periodically tracks GPS coordinates and stores them locally\n- **SOS Alerts**: Automatically sends WhatsApp messages to emergency contacts if app inactivity exceeds threshold\n- **Configurable Settings**: Customize tracking interval and SOS trigger time\n- **Local Storage**: Uses SQLite for secure local data storage\n- **Background Operation**: Runs location tracking in the background (with OS limitations)\n\n## Architecture\n\nThe app follows a modular agent-based architecture:\n\n- **LocationTrackerAgent**: Handles GPS tracking and storage\n- **AppUsageAgent**: Monitors app lifecycle events\n- **SOSTriggerAgent**: Checks inactivity and triggers SOS\n- **SettingsAgent**: Manages app configuration\n\n## Tech Stack\n\n- **Framework**: React Native with Expo\n- **Language**: TypeScript\n- **Navigation**: Expo Router\n- **Database**: Expo SQLite\n- **Location**: Expo Location\n- **UI**: React Native Paper\n- **Background Tasks**: Expo Background Fetch\n\n## Getting Started\n\n1. **Install dependencies**\n   ```bash\n   npm install\n   ```\n\n2. **Start the development server**\n   ```bash\n   npm start\n   ```\n\n3. **Run on device/emulator**\n   - For Android: `npm run android`\n   - For iOS: `npm run ios`\n   - For web: `npm run web`\n\n## Configuration\n\nSettings can be configured through the app:\n\n- **Location Interval**: How often to track location (minutes)\n- **SOS Threshold**: Hours of inactivity before triggering SOS\n- **Emergency Contacts**: Phone numbers for SOS messages\n\n## Permissions Required\n\n- Location access (foreground and background)\n- Storage access for local database\n\n## Limitations\n\n- Background location tracking is limited by mobile OS restrictions\n- WhatsApp deep links require WhatsApp to be installed\n- App must be kept alive for continuous monitoring\n\n## Development\n\n- Run linting: `npm run lint`\n- Reset project: `npm run reset-project`\n\n## License\n\nThis project is for educational and safety purposes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleocodeio%2Fwhereareyou","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleocodeio%2Fwhereareyou","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleocodeio%2Fwhereareyou/lists"}