{"id":50042174,"url":"https://github.com/driversti/speedy","last_synced_at":"2026-05-21T03:35:09.355Z","repository":{"id":352873557,"uuid":"1217002967","full_name":"driversti/speedy","owner":"driversti","description":"Minimal open-source Android network speed monitor — live upload/download in the status bar. Kotlin + Jetpack Compose + Hilt, zero trackers.","archived":false,"fork":false,"pushed_at":"2026-04-21T13:07:00.000Z","size":182,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-21T15:05:59.604Z","etag":null,"topics":["android","coroutines","datastore","foreground-service","hilt","jetpack-compose","kotlin","material-you","material3","network-monitor","network-speed","privacy-friendly","speed-meter","status-bar"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/driversti.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":"2026-04-21T12:56:06.000Z","updated_at":"2026-04-21T13:07:04.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/driversti/speedy","commit_stats":null,"previous_names":["driversti/speedy"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/driversti/speedy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driversti%2Fspeedy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driversti%2Fspeedy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driversti%2Fspeedy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driversti%2Fspeedy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/driversti","download_url":"https://codeload.github.com/driversti/speedy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driversti%2Fspeedy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33287533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T02:57:32.698Z","status":"ssl_error","status_checked_at":"2026-05-21T02:57:31.990Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","coroutines","datastore","foreground-service","hilt","jetpack-compose","kotlin","material-you","material3","network-monitor","network-speed","privacy-friendly","speed-meter","status-bar"],"created_at":"2026-05-21T03:35:06.086Z","updated_at":"2026-05-21T03:35:09.350Z","avatar_url":"https://github.com/driversti.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Speedy\n\nA minimal Android network speed monitor that shows your live upload and\ndownload speed directly in the status bar.\n\nWritten from scratch in modern Kotlin with Jetpack Compose — no trackers,\nno ads, no analytics.\n\n![Dashboard](docs/screenshots/dashboard-active.png)\n\n## Features\n\n- **Status-bar icon** — upload on top, download below, updated every second.\n- **Drift-corrected sampling** — uses the real elapsed time between ticks, not\n  an assumed 1 s, so jitter doesn't distort the reading.\n- **Scaled units** — `bps → Kbps → Mbps → Gbps`, integers everywhere except\n  sub-10 Gbps (1 decimal, e.g. `1.2G`).\n- **Battery-aware** — pauses sampling while the screen is off; resumes\n  instantly on screen-on.\n- **Network-aware** — hides the icon when there's no transport (airplane\n  mode / no connectivity); comes back automatically.\n- **Boot-persistent** — remembers whether you had it enabled and restarts\n  after reboot (waits for the first unlock; not `directBootAware`).\n- **Dashboard** — Material 3, dynamic Material You colors, live speed\n  mirrored from the service.\n- **Privacy-first** — zero third-party SDKs. No analytics, no crash reporting.\n\n## Tech stack\n\n- **Language:** Kotlin 2.1\n- **UI:** Jetpack Compose + Material 3\n- **DI:** Dagger Hilt\n- **Async:** Coroutines + StateFlow\n- **Storage:** Jetpack DataStore (Preferences)\n- **Build:** Gradle 8.11 + AGP 8.8 + KSP\n- **Android:** `minSdk 26`, `targetSdk 35`, `compileSdk 36`\n\n## Architecture\n\nThree-layer split, single-module:\n\n```\ndomain/   Pure Kotlin — SpeedCalculator (drift-corrected delta),\n          SpeedFormatter (unit thresholds), ServiceState, SpeedSample.\n\ndata/     SettingsRepository (DataStore), SpeedStateHolder (shared @Singleton\n          StateFlow — the bridge between the service and the UI).\n\nservice/  SpeedMonitorService (FOREGROUND_SERVICE_TYPE_SPECIAL_USE),\n          SpeedIconRenderer (reused 96×96 ALPHA_8 Bitmap, redrawn every tick),\n          NotificationFactory, BootReceiver.\n\nui/       MainActivity, DashboardScreen, DashboardViewModel, PermissionChecker.\n```\n\nThe single `SpeedStateHolder` is what lets the Dashboard and the service\nshare the exact same stream of samples — the service writes, the ViewModel\nreads, Hilt's `@Singleton` guarantees the identity.\n\n## Building\n\n```sh\ngit clone https://github.com/driversti/speedy.git\ncd speedy\n./gradlew :app:assembleDebug\n```\n\nOr open in Android Studio — `Sync Project with Gradle Files`.\n\n\u003e Gradle is pinned to JDK 21 via `gradle.properties`\n\u003e (`org.gradle.java.home=…/21.0.10-tem`). Remove or adjust that line to match\n\u003e your local JDK if needed — AGP 8.8 doesn't support JDK 25.\n\n## Running the tests\n\n```sh\n./gradlew :app:testDebugUnitTest\n```\n\nCovers `SpeedFormatter` thresholds/rounding and `SpeedCalculator`\nfirst-tick / overflow / drift / reset edge cases.\n\n## Known limitations\n\n- **Status bar placement:** the icon lives in the left-side notification\n  area, not next to wifi/battery. Those slots are System UI territory and\n  no public Android API allows third-party apps to place icons there.\n- **Notification shown at all:** requires `POST_NOTIFICATIONS` on\n  Android 13+ and the channel importance to be at least Low. The Dashboard\n  guides you through both.\n- **Bitmap size bumped:** the original spec asked for 48×48 ALPHA_8. On\n  high-density Pixel devices the system resizer drops it rather than\n  upscaling — `SpeedIconRenderer` uses 96×96 instead so the icon actually\n  renders.\n\n## License\n\nLicensed under the [Apache License, Version 2.0](LICENSE). © 2026 Yurii Chekhotskyi.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdriversti%2Fspeedy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdriversti%2Fspeedy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdriversti%2Fspeedy/lists"}