{"id":29873110,"url":"https://github.com/krosskinetic/notisentry-smart-dnd","last_synced_at":"2025-07-30T22:16:01.342Z","repository":{"id":305068554,"uuid":"1021825058","full_name":"KrossKinetic/NotiSentry-Smart-DND","owner":"KrossKinetic","description":"NotiSentry is a WIP modern Android application designed to help users reclaim their focus by intelligently managing, filtering, and summarizing notifications. ","archived":false,"fork":false,"pushed_at":"2025-07-27T02:13:44.000Z","size":162,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-27T02:45:53.907Z","etag":null,"topics":["ai","android","jetpack-compose","kotlin","llama3","material-3-expressive","ml","on-device-ai","on-device-ml","privacy"],"latest_commit_sha":null,"homepage":"","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/KrossKinetic.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}},"created_at":"2025-07-18T02:31:09.000Z","updated_at":"2025-07-27T02:13:48.000Z","dependencies_parsed_at":"2025-07-18T06:49:22.124Z","dependency_job_id":"8b27eaea-8322-4f39-9b13-87113b6fb16d","html_url":"https://github.com/KrossKinetic/NotiSentry-Smart-DND","commit_stats":null,"previous_names":["krosskinetic/notisentry-smart-dnd"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KrossKinetic/NotiSentry-Smart-DND","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KrossKinetic%2FNotiSentry-Smart-DND","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KrossKinetic%2FNotiSentry-Smart-DND/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KrossKinetic%2FNotiSentry-Smart-DND/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KrossKinetic%2FNotiSentry-Smart-DND/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KrossKinetic","download_url":"https://codeload.github.com/KrossKinetic/NotiSentry-Smart-DND/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KrossKinetic%2FNotiSentry-Smart-DND/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267951695,"owners_count":24171080,"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-07-30T02:00:09.044Z","response_time":70,"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":["ai","android","jetpack-compose","kotlin","llama3","material-3-expressive","ml","on-device-ai","on-device-ml","privacy"],"created_at":"2025-07-30T22:15:55.626Z","updated_at":"2025-07-30T22:16:01.048Z","avatar_url":"https://github.com/KrossKinetic.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NotiSentry\n\nNotiSentry is a WIP modern Android application designed to help users reclaim their focus by intelligently managing, filtering, and summarizing notifications. Built with the latest Android technologies, this app provides a robust solution to notification overload. Below are the intended specifications for the app.\n\nI originally planned to use Gemini Nano for its on-device capabilities, but due to the lack of a Pixel 9 series device for testing and to leverage the advantages of cloud infrastructure, I've opted for a more open and scalable solution with **Firebase** and **Gemini-Flash-2.5**. This allows for broader device support and enhanced capabilities.\n\n---\n## ✨ Features\n\n* **Focus Mode**: A strict whitelisting system where users can select specific apps they want to receive notifications from. All other notifications are silently blocked and saved.\n* **Intelligent Summarization**: Utilizes cloud-based AI (**Gemini-Flash-2.5** via **Firebase Functions**) to generate concise, bullet-pointed summaries of all blocked notifications.\n* **Organized Summary View**: Blocked notification summaries are neatly categorized by day (\"Today,\" \"Yesterday,\" and \"Archives\") in an expandable list for easy viewing.\n* **Persistent History**: All blocked notifications and generated summaries are saved persistently on the device using a Room database, and optionally synchronized with **Firebase Firestore** for cloud backup and multi-device access.\n* **Modern, Clean UI**: Built entirely with Jetpack Compose and Material 3 Expressive design principles for a beautiful and intuitive user experience.\n* **Scalable and Feature-Rich**: Leveraging cloud-based infrastructure offers several pros:\n    * **Enhanced AI Capabilities**: Access to more powerful and up-to-date AI models like Gemini-Flash-2.5 without relying on device-specific hardware.\n    * **Reduced On-Device Footprint**: Offloading heavy AI processing and data storage to the cloud can reduce the app's size and resource consumption on the user's device.\n    * **Easier Updates and Maintenance**: AI model updates and bug fixes can be deployed to the cloud without requiring app updates.\n    * **Analytics and Insights**: Firebase provides robust analytics tools to understand app usage and performance.\n\n---\n## 🏛️ Architecture\n\nNotiSentry is built using a modern, scalable, and testable architecture based on Google's official recommendations, now extended to integrate with Firebase services. It follows a unidirectional data flow pattern, with the Repository acting as the single source of truth for all application data, potentially pulling from both local and cloud sources.\n```\n+----------------+      +------------------+      +------------------+      +---------+\n|                |      |                  |      |                  |      |         |\n|  Android OS    |-----\u003e| NotiSentryService|-----\u003e|   Application    |-----\u003e|  Room   |\n| (Notifications)|      |    (Worker)      |      |   Repository     |      | Database|\n|                |      |                  |      | (Source of Truth)|      | \u0026       |\n+----------------+      +------------------+      |                  |\u003c-----|DataStore|\n                                                  +--------^---------+      +---------+\n                                                           |\n                                                           | (Collects Flows)\n                                                           |\n                                                  +--------v----------+       + ------------------ +\n                                                  |                   | ----\u003e |       Firebase     |\n                                                  |   AppViewModel    |       |  (Gemini-2.5-Flash)|\n                                                  | (UI State Holder) | \u003c-----|                    |\n                                                  +--------^----------+       |                    |\n                                                           |                  + -------------------+\n                                                           | (Sends Events Up,\n                                                           |  Receives State Down)\n                                                           |\n                                                  +--------v---------+\n                                                  |                  |\n                                                  |   Compose UI     |\n                                                  |   (The Screen)   |\n                                                  +------------------+\n\n```\n---\n## 🛠️ Tech Stack \u0026 Key Libraries\n\n* **UI**: 100% [Jetpack Compose](https://developer.android.com/jetpack/compose) with Material 3 components.\n* **Architecture**: MVVM (Model-View-ViewModel) with a Repository pattern.\n* **Asynchronicity**: [Kotlin Coroutines](https://kotlinlang.org/docs/coroutines-overview.html) and [Flow](https://kotlinlang.org/docs/flow.html) for managing background tasks and reactive data streams.\n* **Dependency Injection**: [Hilt](https://dagger.dev/hilt/) for managing dependencies and creating a scalable, testable codebase.\n* **Database**: [Room](https://developer.android.com/jetpack/androidx/releases/room) for persistent, on-device storage of notifications and summaries.\n* **Cloud Database \u0026 Backend**: [Firebase Firestore](https://firebase.google.com/docs/firestore) for optional cloud synchronization of data.\n* **Cloud Functions \u0026 AI**: [Firebase Functions](https://firebase.google.com/docs/functions) to host backend logic and integrate with **Gemini-Flash-2.5** for intelligent summarization.\n* **Navigation**: [Jetpack Navigation Compose](https://developer.android.com/jetpack/compose/navigation) for navigating between screens.\n* **Settings**: [Jetpack DataStore](https://developer.android.com/jetpack/androidx/releases/datastore) for persistently storing simple user preferences.\n* **Background Service**: `NotificationListenerService` to capture system-wide notifications.\n\n---\n## 🚀 Setup \u0026 Configuration\n\n1.  **Clone the repository.**\n2.  **Open in Android Studio.**\n3.  **Set up Firebase Project:**\n    * Create a new Firebase project in the [Firebase Console](https://console.firebase.google.com/).\n    * Add an Android app to your Firebase project and follow the instructions to download `google-services.json` and place it in your app module directory.\n    * Enable **Firestore** and **Cloud Functions** in your Firebase project.\n    * Configure Firebase Functions with the necessary API keys for Gemini-Flash-2.5.\n4.  **Build the project:** Gradle will automatically download and sync all the necessary dependencies.\n5.  **Run the app:** On an emulator or physical device.\n6.  **Grant Permission:** On first launch, the app will guide you to the system settings to grant \"Notification Access,\" which is required for the core functionality.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrosskinetic%2Fnotisentry-smart-dnd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrosskinetic%2Fnotisentry-smart-dnd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrosskinetic%2Fnotisentry-smart-dnd/lists"}