Skip to content

Releases

Gloss v2.4.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 17:55

What's New in Gloss v2.4.0

Cold-Start & Memory Optimizations (No Model Pruning)

  • Binary tokenizer snapshot (tokenizer.glossbin): Parses tokenizer.json once and persists a compact binary snapshot on first load, cutting subsequent host-JVM tokenizer loads from 281 ms to 56 ms (~5.0× faster).
  • Measured ONNX Runtime session tuning: Passes file paths directly for OS mmap, disables CPU arena pre-allocation, memory pattern optimization, and weight prepacking, uses NO_OPT, and sets 2 intra-op threads—cutting host-JVM cold encoder + decoder session load time from 644 ms to 78 ms (~8.3× faster) (276 ms end-to-end warm-cache load in NllbEngineIntegrationTest).
  • Concurrent encoder & tokenizer initialization: Overlaps tokenizer loading with encoder_model_quantized.onnx session creation.
  • Lifecycle-aware loading & 90s idle eviction: Replaces heavy work in GlossApplication.onCreate() with a fast disk check (ModelState.IdleDownloaded), starts async warm-up in MainActivity.onStart(), evicts native encoder/decoder sessions after 90 seconds in the background (keeping the tokenizer warm and seamlessly reloading on demand), and releases memory on system onTrimMemory.
  • Cold-start telemetry: Displays Last cold start timing inside the App & Offline Model sheet.

In-Place Update Ready

  • Signed with the persistent Gloss release keystore (versionCode = 6, versionName = 2.4.0). Existing v2.3.0 installs will detect this release in the App & Offline Model sheet and update cleanly in-place.

Gloss v2.3.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 15:05

Gloss v2.3.0 — Persistent Release Signing, In-App Updater & GitHub Stats

What's New

  • Persistent Release Keystore: Every GitHub Release APK from v2.3.0 onward is signed with a permanent release certificate so future updates install in-place without uninstalling or losing your 658 MB offline model, phrase history, or widgets.
  • In-App GitHub Self-Updater: Checks GitHub Releases once every 24 hours when online (plus a manual Check updates button inside the Status Pill sheet), shows an update banner when a newer release exists, downloads the APK with progress, and launches Android's native installer.
  • GitHub Download Stats: Displays total GitHub APK downloads and latest release downloads inside the App & Offline Model sheet (cached for offline viewing), alongside live Shields.io download badges in README.md.

Installation

One-time switch from v2.2.0 or earlier: Because older CI builds used an ephemeral debug key, please uninstall v2.2.0 (or earlier) once before installing gloss_v2.3.0.apk. Every update after v2.3.0 will install cleanly in-place!

Gloss v2.2.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 10:41

Gloss v2.2.0 — Custom App Icon, Home Screen Widgets & HF Tracking

What's New

  • Custom App Icon: Replaced the default Android icon with a minimal obsidian (#0B0E14), indigo (#7C73FF), and teal (#3FD9C9) Gloss icon across adaptive (drawable-nodpi/ic_launcher_foreground.webp) and legacy mipmap densities (mdpi–xxxhdpi).
  • Home Screen Widgets: Quick Translate (4×1) and Recent Phrases (4×2) widgets with instant swap, clipboard paste & translate, and tap-to-study phrase restoration.
  • Hugging Face Download Tracking: Added config.json to ADPer/nllb-200-distilled-600M-mobile (rev c998583de40ac4331dce8e8d7254d4456696133a).

Installation

Download gloss_v2.2.0.apk below and install over v2.0.0/v2.1.0 (existing offline model files stay valid with zero re-download).

Gloss v2.1.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 10:30

Gloss v2.1.0 — Home Screen Widgets & HF Download Tracking

What's New

  • Google Translate–Style Home Screen Widgets:
    • Quick Translate (4×1): Shows your current language pair with an instant Swap button, a Tap to translate offline… bar, a Paste & Translate shortcut, and a Recent Phrases shortcut.
    • Recent Phrases (4×2): Displays your last 3 offline translations directly on the home screen; tap any phrase to open it in Gloss and tap individual words.
  • Hugging Face Download Tracking: Added config.json to ADPer/nllb-200-distilled-600M-mobile (rev c998583de40ac4331dce8e8d7254d4456696133a) and updated ModelManager to fetch it on download so Hugging Face tracks model downloads. Existing v2.0.0 model files on your phone stay valid with zero re-download required.

Installation

Download gloss_v2.1.0.apk below and install over v2.0.0 (or fresh on Android 7.0+).

Gloss v2.0.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 09:48

Gloss v2.0.0 — Offline NLLB-200 Translator

What's New

  • 202 Languages Fully Offline: Replaced ML Kit with NLLB-200-distilled-600M (INT8 mobile ONNX via onnxruntime-android:1.32.0, ~658 MB one-time download, ~1.4 GB peak RAM).
  • Modern Jetpack Compose + Material 3 UI: Redesigned with Obsidian Dark & Paper Light themes, searchable 202-language picker (with Recent & Popular chips), instant animated swap, offline Android Text-to-Speech, and local phrase history.
  • Duolingo-Style Tap-a-Word: Tap any word in either your input sentence or the translated output to inspect its individual meaning in an inline gloss card.
  • Pinned Model Mirror: Downloads SHA-256-verified, resumable weights from ADPer/nllb-200-distilled-600M-mobile (rev 7339939c0b80d2228236f9111c0de1bd22d03b11) so access is never lost.

Installation

  1. Download gloss_v2.0.0.apk below and install it on Android 7.0+ (minSdk 24, arm64-v8a / armeabi-v7a).
  2. Open Gloss and tap Download to pull the one-time offline translation pack (~628 MiB / 658 MB).
  3. Once verified, everything translates and glosses 100% offline.

Model Attribution & License

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 28 Jul 10:49
Feat: apk name