{"id":32751691,"url":"https://github.com/liboyang0112/smac","last_synced_at":"2026-05-09T02:04:04.412Z","repository":{"id":322189990,"uuid":"1088471975","full_name":"liboyang0112/smac","owner":"liboyang0112","description":"A Simple MQTT Android Client. Simple to use: Fill in host, user and password, and press connect. ","archived":false,"fork":false,"pushed_at":"2025-11-03T03:47:26.000Z","size":150,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-03T05:26:53.959Z","etag":null,"topics":["android","client","mqtt"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liboyang0112.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-11-03T02:19:40.000Z","updated_at":"2025-11-03T03:48:02.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/liboyang0112/smac","commit_stats":null,"previous_names":["liboyang0112/smac"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/liboyang0112/smac","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liboyang0112%2Fsmac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liboyang0112%2Fsmac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liboyang0112%2Fsmac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liboyang0112%2Fsmac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liboyang0112","download_url":"https://codeload.github.com/liboyang0112/smac/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liboyang0112%2Fsmac/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":282549030,"owners_count":26687870,"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-11-03T02:00:05.676Z","response_time":108,"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":["android","client","mqtt"],"created_at":"2025-11-04T00:00:39.809Z","updated_at":"2025-11-04T00:02:34.103Z","avatar_url":"https://github.com/liboyang0112.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MQTT Notifier for Android\n\n![SMAC Demo](assets/demo.jpg)\n\nhttps://github.com/liboyang0112/smac.git\n\nA lightweight foreground service-based Android app that listens to MQTT messages and shows instant notifications. Perfect for home automation alerts, IoT monitoring, or remote logging and debugging.\n\nBuilt with Kotlin, `MqttAndroidClient`, and foreground services to ensure reliable delivery — even when the app is in the background.\n\n\u003e ✅ Releases are tested on Redmi K50.\n\n---\n\n## 🚀 Features\n\n- 🔔 Real-time MQTT message notifications\n- 🔐 Supports username/password authentication\n- 📱 Persistent foreground service (won’t die in background)\n- 🔊 High-priority notifications with vibration\n- 🎯 Auto-reconnects on network loss\n- 🧩 Clean Kotlin + Coroutines architecture\n- 💡 Toggles connect/disconnect from UI\n- 🔄 Survives app restarts (`START_STICKY`)\n\n---\n\n## 📷 How It Works\n\n1. App connects to your MQTT broker (e.g., Mosquitto, EMQX, HiveMQ).\n2. Subscribes to a topic like `notifications/warning`.\n3. When a message arrives, it shows a default-priority notification.\n4. Runs in foreground with persistent notification to avoid being killed.\n\n---\n\n## 📄 License \u0026 Ownership\n\nThis project is © 2025 Boyang Li.\nAll rights reserved except as granted under the [Mozilla Public License 2.0 (MPL-2.0)](LICENSE).\n\n- ✅ You are free to use, modify, and distribute this app.\n- 🔒 Modifications to original files must remain open under MPL-2.0.\n- 🚫 Do not repackage and sell this app as your own product.\n- 🙏 Please credit the original author if used in public projects.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliboyang0112%2Fsmac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliboyang0112%2Fsmac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliboyang0112%2Fsmac/lists"}