2026-06-23 06:40:11 +03:30
2026-06-23 06:40:11 +03:30
2026-06-23 06:40:11 +03:30
2026-06-23 06:40:11 +03:30
2026-06-23 00:21:51 +03:30
2026-06-23 06:40:11 +03:30
2026-06-23 00:21:51 +03:30
2026-06-22 23:28:36 +03:30
2026-06-22 23:28:36 +03:30
2026-06-22 23:28:36 +03:30
2026-06-23 06:40:11 +03:30
2026-06-22 23:28:36 +03:30

Remaining

Remaining is an Android quota tracker for Iranian mobile and internet services. It stores account credentials locally, refreshes usage data in the background, and presents quota, expiry, refresh, and risk signals in the app and home-screen widgets.

Features

  • Tracks MCI, Jahan Nama / Webotel, and TCI Internet accounts.
  • Shows remaining traffic, package details, expiry risk, stale refreshes, captcha needs, and authentication errors.
  • Supports manual refresh, configurable background refresh intervals, low-data alerts, and app-wide theme settings.
  • Includes multiple home-screen widgets for account spotlight, provider mix, watchlist, refresh timeline, compact signal, and account matrix views.
  • Encrypts saved passwords, tokens, cookies, and session payloads with Android Keystore-backed AES-GCM.

This project is not affiliated with MCI, TCI, Jahan Nama, Webotel, or their parent companies.

Requirements

  • Android Studio or the Android SDK command line tools.
  • JDK 17 or newer.
  • Android SDK platform for compile SDK 37.

Build

From the repository root:

./gradlew :app:assembleDebug

Run local unit tests:

./gradlew :app:testDebugUnitTest

Run Android lint:

./gradlew :app:lintDebug

The first build may download Gradle, Android Gradle Plugin, Kotlin, Compose, Room, WorkManager, OkHttp, jsoup, and test dependencies.

Project Structure

  • app/src/main/java/net/rodakot/remaining/connectors: provider-specific network clients and parsers.
  • app/src/main/java/net/rodakot/remaining/data: Room entities, DAO, settings, and account repository.
  • app/src/main/java/net/rodakot/remaining/refresh: WorkManager scheduling and notifications.
  • app/src/main/java/net/rodakot/remaining/security: local credential encryption.
  • app/src/main/java/net/rodakot/remaining/ui: Compose app, screens, theme, and UI helpers.
  • app/src/main/java/net/rodakot/remaining/widget: AppWidget providers, renderers, and widget configuration.
  • docs: observed provider API notes used by the connectors.

Privacy And Security

  • Credentials and session artifacts are stored only on the device and encrypted through Android Keystore.
  • App backup is disabled in the manifest, and backup/data-extraction rules exclude app data.
  • Do not commit local.properties, keystores, signing configs, real account credentials, API tokens, or generated build output.
  • The provider API documentation contains placeholders only. Replace examples with sanitized values if you update those docs.

Publishing Checklist

Before pushing this repository publicly:

  • Choose a license and add a LICENSE file if you want others to reuse or contribute to the code.
  • Review package name, app name, icon, and screenshots for your intended public identity.
  • Keep release signing material outside Git and document release signing separately if needed.
  • Run ./gradlew :app:testDebugUnitTest :app:lintDebug :app:assembleDebug.
S
Description
remaining service tracker
Readme
222 KiB
0 Stars 1 Watchers 0 Forks
Languages
Kotlin 100%