Build from source
Building Herga yourself is for working on it. To just use Herga, download the DMG.
Requirements
Section titled “Requirements”- An Apple Silicon Mac
- Xcode
- Bun, Rust and Python 3.12
- The Tauri prerequisites
Build and install
Section titled “Build and install”git clone https://github.com/mrgnhnt96/herga.gitcd herga./scripts/install.shThe script checks for everything the build needs and prints how to install anything missing. It then builds the app and installs it to /Applications/Herga.app. Run it again to pull the latest code and update. A first build needs about 15 GB of free space.
Every build is signed with the same identity, so updates keep your Microphone, Accessibility and Input Monitoring permissions. That identity is your Apple Development certificate if you have one. Otherwise the first install creates a self-signed “Herga Local Signing” certificate, and macOS asks for your password once to trust it.
Develop
Section titled “Develop”brew install justjust setup # Python environment and dependenciesjust dev # runs the backend and the desktop appRun just --list to see every command.
| Part | Built with |
|---|---|
| Desktop app | Tauri (Rust) |
| Hotkeys, audio, text insertion | Native Rust |
| Interface | React, TypeScript, Tailwind CSS |
| Local server | FastAPI (Python), bundled with the app |
| Speech and cleanup | Whisper and Qwen3 on MLX |
| Storage | SQLite |