Skip to content

Dragomand is a per-user Linux daemon that gives desktop applications fully offline machine translation over D-Bus. It runs Mozilla's Bergamot/Marian translation models locally, the ones behind Firefox Translations, and manages which models are installed and which stay loaded in memory.

$ dragomanctl translate -f bg -t en "Добро утро. Как си днес?"
Good morning. How are you today?

The first call downloads the model from Mozilla (verified by SHA-256) and starts the daemon through D-Bus activation. Everything afterwards is fully offline, and the daemon exits again when idle.

The Daemon

The existing Linux options are either standalone applications or translation tied to a single host such as Firefox. Dragomand is one shared service instead:

Currently implemented

Version 0.1.0: the daemon with D-Bus API v1, the dragomanctl command-line client, install-on-demand model downloads, LRU keep-warm with memory-pressure eviction, KRunner and GNOME Shell search integration, a LibreOffice extension and a KTextEditor (Kate) plugin. Bulgarian and English form the first pair working end to end; every pair Mozilla publishes is in scope.

Get started: Install · Integrations · Documentation