# Repository Briefing: davimatosms/Arara-voice
> Source: https://repoforai.com/repo/davimatosms/Arara-voice (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/davimatosms/Arara-voice
- **Official Docs / Website**: https://arara-voice.vercel.app
- **Category**: Voice, Vision & Video (语音 / 视觉 / 视频生成)
- **Primary Language**: Java
- **License**: MIT
- **Engineering Health**: A+ (88/100 · Maintenance 35/35 · Adoption 13/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.6.0 (2026-12-01) — https://github.com/davimatosms/Arara-voice/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: Local AI, Self-Hosted, GPU
- **Momentum**: 198 ★ total (+0 24h / +15 7d) · 24 forks
- **Topics**: `ai-agents`, `brasil`, `brazilian-portuguese`, `claude-code`, `dictation`, `java`, `macos`, `offline`, `open-source`, `portuguese`, `privacy`, `pt-br`
- **When to Use**: Best for: People dictating Brazilian Portuguese prompts, messages, or notes across desktop apps who want offline recognition and can prepare models and permissions on each workstation. Skip if: You need a server-side transcription API, shared deployment across users without per-workstation setup, or signed installers that can roll out without manual approval.

## Overview
```text
### Architecture & Core Mechanics
Arara is a Java desktop dictation app with two Gradle modules. `core` handles microphone capture, transcription, global shortcuts, cursor-targeted paste, history, and the dictionary. `app` provides the Swing interface with FlatLaf. The native integration stack includes JNativeHook 2.2.2 for global input handling and whisper-jni 1.7.1 for running Whisper through whisper.cpp and ggml. The Fast preset uses a separate inference stack: sherpa-onnx 2.0.3 with ONNX Runtime.

The runtime flow is microphone capture, local recognition with an on-screen preview, then a single paste into the focused application. The preview distinguishes provisional text from confirmed segments. Paste is the integration boundary: Arara can feed an editor, terminal, or coding agent without an app-specific connector, but it does not submit the prompt or invoke the agent on the user's behalf.

### Key Capabilities & Differentiators
The Whisper presets are Light (`base`, a 148 MB download), Balanced (`small`), and Accurate (`large-v3-turbo`, the default). Whisper can optionally use Vulkan acceleration. Version 0.6.0 adds Fast as a distinct model choice: NVIDIA Parakeet TDT 0.6B v3, downloaded when first selected, in INT8 ONNX form. Project testing found accuracy comparable to the Accurate preset on short utterances; that result does not establish the same behavior on long dictation or specialist vocabulary.

The default Ctrl+Shift+Space shortcut starts listening and, when pressed again, finishes and pastes; Esc cancels. The Brazilian Portuguese workflow includes a dictionary for names, acronyms, and other frequently misrecognized terms, plus local dictation history. Guided setup exercises the microphone and shortcut and walks the user through a first dictation.

### Trade-offs & Limitations
Compared with cloud dictation, Arara keeps audio and recognition local, with no account or telemetry, but shifts model downloads, storage, and inference load to the workstation. Compared with standalone whisper.cpp, it adds the daily-use desktop workflow rather than a general-purpose transcription service. Choose a model using actual Brazilian Portuguese samples: short commands, longer prompts, and technical terms may favor different presets. Measure time from stopping speech to pasted text on representative hardware; Vulkan is optional, and no fixed RAM or VRAM budget can be inferred from the model download size.

Paste-based integration requires no target-app connector, but the target must accept paste and the default shortcut can collide with an app binding. Local history also leaves text on disk, so offline inference does not mean no local data footprint. The app's MIT license does not replace bundled dependency or model terms: redistribution needs to account for JNativeHook's LGPL-3.0 terms and Parakeet's CC-BY-4.0 attribution, alongside the other third-party notices.

### Hardware & Deployment Guide
This is a per-workstation install, not a hosted inference service. The Windows installer is per-user and does not require administrator rights, but it is unsigned and can trigger SmartScreen. macOS provides separate Apple Silicon and Intel DMGs without an Apple Developer ID signature; onboarding must account for the first-open restriction and Microphone and Accessibility permissions. Version 0.5.0 introduced a stable Linux x86_64 AppImage with Wayland fixes for the pop-up, shortcut, and Esc handling, along with terminal paste improvements.

For source builds, use JDK 21 and `./gradlew :app:run`. The `:app:instalador` task requires Inno Setup 6.7+ for Windows packaging; `:app:dmg` runs on a Mac. Model acquisition requires network access before offline use. The app can check `versao.json` for updates, and accepted installer downloads are checked against SHA-256; that integrity check is separate from OS code signing. Version 0.6.0 extends the local runtime choices with Parakeet rather than adding a hosted backend.
```

## Key Capabilities
```text
- Desktop stack: Gradle separates the dictation backend in `core` from the Swing and FlatLaf interface in `app`.
- Whisper engine: whisper-jni 1.7.1 bridges to whisper.cpp; presets include 148 MB base, small, and default large-v3-turbo, with optional Vulkan acceleration.
- Fast preset: v0.6.0 adds NVIDIA Parakeet TDT 0.6B v3 in INT8 ONNX form via sherpa-onnx 2.0.3 and ONNX Runtime.
- Input workflow: A configurable global shortcut starts or finishes dictation; the pop-up distinguishes provisional from confirmed text before a single paste.
- Local data: Audio and transcripts are not sent to a service; history stays on-device, and update checks are optional.
- Linux milestone: v0.5.0 ships a stable x86_64 AppImage with fixes for Wayland shortcuts, cancellation, and pop-up behavior, plus terminal paste improvements.
```

## Quick Start / Clone
```bash
./gradlew :app:run          # roda o app
./gradlew :app:instalador   # instalador do Windows (precisa do Inno Setup 6.7+)
./gradlew :app:dmg          # .dmg do macOS (num Mac)
```
