{"id":51548978,"url":"https://github.com/mtib/android-local-transcribe","last_synced_at":"2026-07-09T22:00:15.614Z","repository":{"id":370160428,"uuid":"1292145503","full_name":"mtib/android-local-transcribe","owner":"mtib","description":"Fully on-device Android speech-to-text (bundled Parakeet-TDT v3 via sherpa-onnx) with a minimal recorder UI and an Android Auto live waveform + transcript. No INTERNET permission.","archived":false,"fork":false,"pushed_at":"2026-07-08T11:26:46.000Z","size":594,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-08T12:12:48.666Z","etag":null,"topics":["android","local","transcript"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":false,"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/mtib.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-07T10:19:55.000Z","updated_at":"2026-07-08T11:26:52.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mtib/android-local-transcribe","commit_stats":null,"previous_names":["mtib/android-local-transcribe"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/mtib/android-local-transcribe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtib%2Fandroid-local-transcribe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtib%2Fandroid-local-transcribe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtib%2Fandroid-local-transcribe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtib%2Fandroid-local-transcribe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtib","download_url":"https://codeload.github.com/mtib/android-local-transcribe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtib%2Fandroid-local-transcribe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35313756,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-09T02:00:07.329Z","response_time":57,"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","local","transcript"],"created_at":"2026-07-09T22:00:14.522Z","updated_at":"2026-07-09T22:00:15.528Z","avatar_url":"https://github.com/mtib.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Local Transcribe\n\nA pure-native Android app for **fully on-device** speech-to-text. Record a session, get a live\ntranscript as you speak, and export the audio and/or text — with **no network access whatsoever**.\nThe Parakeet-TDT v3 model is bundled inside the APK and runs locally through\n[sherpa-onnx](https://github.com/k2-fsa/sherpa-onnx). There is no cloud, no account, no telemetry,\nand the app does not even hold the `INTERNET` permission.\n\n## Screenshots\n\n\u003cp\u003e\n  \u003cimg src=\"docs/screenshots/recordings-list.jpg\" width=\"280\" alt=\"Recordings list\" /\u003e\n  \u003cimg src=\"docs/screenshots/playback.jpg\" width=\"280\" alt=\"Playback with scrubber and transcript\" /\u003e\n\u003c/p\u003e\n\n## Features\n\n- **Minimal UI**: one \"New recording\" button and a list of past recordings.\n- **Live transcription** while recording (voice-activity waveform + scrolling transcript).\n- **Multilingual** transcription (Parakeet-TDT v3 covers 25 European languages; it transcribes the\n  spoken language as-is — no translation).\n- **Playback with a scrubber**: play a recording, drag the playhead to seek.\n- **Export / share** a recording's audio (WAV), text, or both, via the Android share sheet.\n- **Recording keeps running in the background**: a foreground service with a Stop action and live\n  status in the notification, so a recording survives the screen turning off or another app taking\n  over (e.g. while the phone is projecting to a car).\n- **100% offline \u0026 private**: models bundled, no `INTERNET` permission, `allowBackup=\"false\"`.\n\n## How it works\n\n| Concern | Implementation |\n|---|---|\n| ASR model | Parakeet-TDT-0.6b-v3 INT8 (`nemo_transducer`), bundled in `assets/models/parakeet/` |\n| Segmentation | Silero VAD (`assets/models/vad/silero_vad.onnx`) drives live segment boundaries |\n| Runtime | `sherpa-onnx` 1.13.3 (`OfflineRecognizer` + `Vad`) via the prebuilt AAR in `app/libs/` |\n| Capture | `AudioRecord` (`VOICE_RECOGNITION`, pinned to the built-in mic) in a foreground service, 16 kHz mono PCM16 |\n| Storage | `filesDir/recordings/\u003cid\u003e/{audio.wav, transcript.txt, meta.json}` |\n| Core | `RecordingController` + `TranscriptionEngine` drive capture, transcription, and persistence |\n\nOn first launch the ~640 MB model is extracted once from the APK to internal storage so onnxruntime\ncan memory-map it. Expect ~1.4 GB of on-device storage (APK + extracted model).\n\n## Build\n\nRequirements: JDK 17, Android SDK (compileSdk 35). The Parakeet model (~640 MB) and the sherpa-onnx\nAAR are **not** committed to git — fetch them once after cloning:\n\n```bash\n./scripts/fetch-assets.sh         # downloads the AAR + Parakeet + Silero VAD into place\n```\n\nThen build:\n\n```bash\n./gradlew :app:assembleDebug      # debug APK\n./gradlew :app:assembleRelease    # release APK (signed with the debug keystore for sideloading)\n```\n\nAPKs land in `app/build/outputs/apk/`. The `arm64-v8a` release APK is the recommended one for phones.\n\n### Releases (CI)\n\nPushing a `v*` tag runs `.github/workflows/release.yml`, which fetches the assets, builds the\nrelease APKs, and publishes a GitHub release with the arm64 and universal APKs attached:\n\n```bash\ngit tag v1.0.5 \u0026\u0026 git push origin v1.0.5\n```\n\nTo keep CI-built releases installable as in-place updates (same signing key as local builds), set a\n`DEBUG_KEYSTORE_BASE64` repo secret to the base64 of your `~/.android/debug.keystore`. Without it, CI\ngenerates a fresh debug key and a new install is required.\n\n## Install\n\n1. Download the APK to the device and open it; allow installing from unknown sources.\n2. Launch **Local Transcribe**, grant the microphone permission, tap **New recording**.\n   (The first recording pauses briefly on \"Loading model…\" while the model is prepared.)\n\nWhile recording, you can leave the app or turn the screen off — capture continues in a foreground\nservice. Pull down the notification to see the elapsed time and live transcript, and to Stop.\n\n## Privacy\n\nAudio and transcripts never leave the device. The app declares no `INTERNET` permission, so network\negress is impossible at the OS level, and `allowBackup` is disabled so transcripts are not swept into\ncloud backups. Permissions used: `RECORD_AUDIO`, foreground-service (microphone), notifications, and\n`WAKE_LOCK` (to keep capturing reliably while the screen is off).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtib%2Fandroid-local-transcribe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtib%2Fandroid-local-transcribe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtib%2Fandroid-local-transcribe/lists"}