{"id":31615359,"url":"https://github.com/inkflow59/wakemeup","last_synced_at":"2025-10-06T11:14:59.537Z","repository":{"id":314870648,"uuid":"1057046116","full_name":"Inkflow59/WakeMeUp","owner":"Inkflow59","description":"A mobile app that lets you rest on public transport without missing your stop! Set your GPS alarm and let yourself be lulled until your arrival.","archived":false,"fork":false,"pushed_at":"2025-09-15T09:40:46.000Z","size":153,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-15T10:35:02.932Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/Inkflow59.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":null,"dco":null,"cla":null}},"created_at":"2025-09-15T07:52:12.000Z","updated_at":"2025-09-15T09:40:50.000Z","dependencies_parsed_at":"2025-09-16T20:19:52.416Z","dependency_job_id":null,"html_url":"https://github.com/Inkflow59/WakeMeUp","commit_stats":null,"previous_names":["inkflow59/wakemeup"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Inkflow59/WakeMeUp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inkflow59%2FWakeMeUp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inkflow59%2FWakeMeUp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inkflow59%2FWakeMeUp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inkflow59%2FWakeMeUp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Inkflow59","download_url":"https://codeload.github.com/Inkflow59/WakeMeUp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inkflow59%2FWakeMeUp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278598872,"owners_count":26013353,"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-06T02:00:05.630Z","response_time":65,"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-06T11:14:58.446Z","updated_at":"2025-10-06T11:14:59.530Z","avatar_url":"https://github.com/Inkflow59.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📍 WakeMeUp - Location-Based Alarm\n\n\u003cdiv align=\"center\"\u003e\n\n![Android](https://img.shields.io/badge/Android-21%2B-3DDC84?style=for-the-badge\u0026logo=android\u0026logoColor=white)\n![Kotlin](https://img.shields.io/badge/Kotlin-1.9.10-7F52FF?style=for-the-badge\u0026logo=kotlin\u0026logoColor=white)\n![OpenStreetMap](https://img.shields.io/badge/OpenStreetMap-Free-7EBC6F?style=for-the-badge\u0026logo=openstreetmap\u0026logoColor=white)\n![GPS](https://img.shields.io/badge/GPS-Location-FF6B35?style=for-the-badge\u0026logo=location\u0026logoColor=white)\n\n*Never miss your stop again! Wake up automatically when you approach your destination.*\n\n\u003c/div\u003e\n\n## 🎯 About\n\n**WakeMeUp** is an innovative Android application that allows you to create alarms based on your geographical location rather than time. Perfect for:\n\n- 🚊 **Public Transportation**: Sleep peacefully, the app wakes you up at your stop\n- 🚗 **Car Travel**: Ideal for passengers during long journeys\n- ✈️ **Travel**: Never miss your connections or destinations again\n- 🏃 **Sports**: Wake-up calls for your checkpoints during long runs\n\n## ✨ Features\n\n### 🎛️ Alarm Management\n- **Intuitive Creation**: Simple interface with interactive OpenStreetMap\n- **Complete Customization**: Name, position, activation radius (10m - 1km)\n- **Flexible Options**: Sound, vibration, enable/disable\n- **Address Search**: Easily find your destinations\n\n### 📍 Geolocation Technology\n- **Continuous Monitoring**: Optimized background service\n- **GPS Precision**: Uses fine location services\n- **Power Efficient**: Intelligent battery management\n- **Offline Operation**: No internet needed once maps are downloaded\n\n### 🔔 Alert System\n- **Push Notifications**: Immediate and visible alerts\n- **Alarm Sound**: Loud and customizable ringtone\n- **Vibration**: Tactile wake-up even in silent mode\n- **Auto-Deactivation**: Alarm deactivates after triggering\n\n### 📱 Android Widget\n- **Home Screen Widget**: Quick view of active alarms directly on your home screen\n- **Real-time Updates**: Widget automatically refreshes when alarms change\n- **One-tap Access**: Direct launch to the main app from the widget\n- **Compact Display**: Shows essential information without cluttering your screen\n\n### 🔄 System Integration\n- **Auto-restart**: Automatically restarts monitoring after device reboot\n- **Background Persistence**: Maintains alarm monitoring even when app is closed\n- **System Broadcasts**: Efficient communication between app components\n- **Boot Receiver**: Seamlessly resumes active alarms after system restart\n\n## 🚀 Installation\n\n### Prerequisites\n- **Android 5.0** (API 21) or higher\n- **Internet connection** (to download maps)\n- **GPS** enabled on device\n\n### Installation Steps\n\n1. **Clone the project**\n   ```bash\n   git clone https://github.com/your-username/wakemeup.git\n   cd wakemeup\n   ```\n\n2. **Open in Android Studio**\n   - Open Android Studio\n   - File → Open → Select project folder\n\n3. **Build and install**\n   ```bash\n   ./gradlew assembleDebug\n   ./gradlew installDebug\n   ```\n\n**🎉 No additional configuration required!** The app uses OpenStreetMap which doesn't require an API key.\n\n## 🔧 Configuration\n\n### Required Permissions\n\nThe app automatically requests the following permissions:\n\n```xml\n\u003c!-- Geolocation --\u003e\n\u003cuses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\" /\u003e\n\u003cuses-permission android:name=\"android.permission.ACCESS_BACKGROUND_LOCATION\" /\u003e\n\n\u003c!-- Notifications and wake-up --\u003e\n\u003cuses-permission android:name=\"android.permission.POST_NOTIFICATIONS\" /\u003e\n\u003cuses-permission android:name=\"android.permission.WAKE_LOCK\" /\u003e\n\u003cuses-permission android:name=\"android.permission.VIBRATE\" /\u003e\n\n\u003c!-- Auto-restart after reboot --\u003e\n\u003cuses-permission android:name=\"android.permission.RECEIVE_BOOT_COMPLETED\" /\u003e\n\n\u003c!-- OpenStreetMap --\u003e\n\u003cuses-permission android:name=\"android.permission.INTERNET\" /\u003e\n\u003cuses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\" /\u003e\n\u003cuses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\" /\u003e\n```\n\n### Battery Optimization\n\nFor optimal operation, disable battery optimization for WakeMeUp:\n\n1. **Settings** → **Battery** → **Battery Optimization**\n2. Search for **WakeMeUp**\n3. Select **\"Don't optimize\"**\n\n### Widget Setup\n\nTo add the WakeMeUp widget to your home screen:\n\n1. **Long press** on your home screen\n2. Select **\"Widgets\"**\n3. Find **\"WakeMeUp\"** in the list\n4. **Drag and drop** to your desired location\n5. The widget will automatically show your active alarms\n\n## 📖 User Guide\n\n### 1. Create your first alarm\n\n1. **Open the app** and tap the **[+]** button\n2. **Name your alarm** (e.g., \"Châtelet Stop\")\n3. **Set the position**:\n   - 📍 Use your current location\n   - 🔍 Search for an address\n   - 🗺️ Click directly on the map\n4. **Configure the activation radius** (recommended: 100-200m)\n5. **Enable sound and/or vibration**\n6. **Save**\n\n### 2. Use the alarm\n\n1. **Activate the alarm** in the main list\n2. **Start your journey** - the app monitors your position in the background\n3. **Get alerted** automatically when you approach the destination\n4. **Wake up** thanks to sound and vibration\n\n### 3. Advanced Management\n\n- **✏️ Edit**: Click \"Edit\" to change settings\n- **🔄 Enable/Disable**: Use the switch to temporarily enable/disable\n- **🗑️ Delete**: Click \"Delete\" to permanently remove\n- **📱 Widget**: Monitor active alarms directly from your home screen\n\n## 🏗️ Architecture\n\n### Project Structure\n\n```\napp/\n├── 📱 MainActivity.kt          # Main screen\n├── ✏️ AlarmEditorActivity.kt   # Alarm creation/modification\n├── 📍 LocationService.kt       # Geolocation service\n├── 💾 AlarmRepository.kt       # Data management\n├── 📋 AlarmAdapter.kt          # List display\n├── 🏠 LocationAlarm.kt         # Data model\n├── 🎛️ MainViewModel.kt        # Business logic\n├── 📱 WakeMeUpWidget.kt        # Home screen widget\n├── 🔄 BootReceiver.kt          # Auto-restart after reboot\n└── 🔐 PermissionManager.kt     # Permission management\n```\n\n### Technologies Used\n\n- **Language**: Kotlin\n- **Architecture**: MVVM (Model-View-ViewModel)\n- **Geolocation**: Google Play Services Location\n- **Maps**: OpenStreetMap with osmdroid\n- **Storage**: SharedPreferences\n- **Interface**: Material Design Components\n- **Services**: Foreground Service for background operation\n- **Widgets**: Android App Widget framework\n- **System Integration**: Broadcast Receivers\n\n### Key Components\n\n| Component | Role | Technology |\n|-----------|------|-------------|\n| `LocationService` | Background GPS monitoring | FusedLocationProviderClient |\n| `AlarmRepository` | Data persistence | SharedPreferences |\n| `MainActivity` | Main interface | RecyclerView + LiveData |\n| `AlarmEditorActivity` | Alarm configuration | OpenStreetMap |\n| `WakeMeUpWidget` | Home screen widget | AppWidgetProvider |\n| `BootReceiver` | Auto-restart on boot | BroadcastReceiver |\n\n## 🔒 Privacy\n\n- **Local Data**: All data is stored locally on your device\n- **No Server**: No data is sent to external servers\n- **GPS Only**: Only GPS location is used, no other personal data\n- **Transparent**: Open source code, auditable\n\n## 🐛 Troubleshooting\n\n### Alarm doesn't trigger\n\n- ✅ Check that the alarm is **enabled** (green switch)\n- ✅ Confirm that **location permissions** are granted\n- ✅ Disable **battery optimization** for the app\n- ✅ Verify that **GPS is enabled** on the device\n- ✅ Ensure you're within the **defined zone** (configured radius)\n\n### App closes in background\n\n- ✅ Disable **battery optimization** for WakeMeUp\n- ✅ Add the app to **protected applications** (manufacturer dependent)\n- ✅ Check in **Settings** → **Apps** → **Special Permissions**\n\n### Widget not updating\n\n- ✅ Ensure the widget has been **added to home screen**\n- ✅ Check that the app has **notification permissions**\n- ✅ Try **removing and re-adding** the widget\n- ✅ Verify that **background app refresh** is enabled\n\n### Alarms don't restart after reboot\n\n- ✅ Grant **\"Auto-start\"** permission (manufacturer dependent)\n- ✅ Ensure **RECEIVE_BOOT_COMPLETED** permission is granted\n- ✅ Check that active alarms exist before restart\n- ✅ Disable **deep sleep mode** for the app\n\n### Inaccurate GPS\n\n- ✅ Enable **high-precision location**\n- ✅ Be in an **open environment** (avoid tunnels/buildings)\n- ✅ Increase the **activation radius** if necessary\n\n## 🤝 Contributing\n\nContributions are welcome! To contribute:\n\n1. **Fork** the project\n2. Create a **feature branch** (`git checkout -b feature/new-feature`)\n3. **Commit** your changes (`git commit -m 'Add new feature'`)\n4. **Push** to the branch (`git push origin feature/new-feature`)\n5. Open a **Pull Request**\n\n### Improvement Ideas\n\n- 🌙 **Dark mode** for the interface\n- 📊 **Usage statistics** for alarms\n- 🎵 **Custom sounds** for alarms\n- 🌐 **Multi-language support**\n- ⏰ **Combined alarms** (time + location)\n- 📈 **Advanced widget features** (progress bars, distance indicators)\n- 🔔 **Smart notifications** based on user patterns\n- 🗺️ **Offline maps** for better performance\n\n## 📄 License\n\nThis project is under MIT License. See the [LICENSE](LICENSE) file for more details.\n\n## 👨‍💻 Developer\n\nDeveloped with ❤️ to make travel more peaceful.\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n**⭐ Don't hesitate to star this project if it helps you! ⭐**\n\n*WakeMeUp - Because your destination matters more than time*\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finkflow59%2Fwakemeup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finkflow59%2Fwakemeup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finkflow59%2Fwakemeup/lists"}