Skip to content
Projects

About

Myna is a lightweight speech-to-text application for Ubuntu Desktop.

Other Projects

How these counts are measured

Measured star growth

in 24h
+1
in 7 days
+9
in 15 days
+18
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Myna Logo Myna

[!WARNING] Myna and several of its features are in heavy development. We are actively refining our core concepts, protocols, and specifications, and will likely introduce major breaking changes prior to a stable release. Early testing and feedback is highly appreciated!

Offline speech-to-text for Ubuntu Desktop. Press a key, speak, and the transcript is injected into the focused application. Nothing leaves the machine: inference runs in strictly confined local models deployed as snaps.

The project is named for the Myna, a bird that listens to and reproduces human speech with striking clarity.

Install

There's a GUI installer intended for end-users. It's available in a PPA,

# TODO: publish to the Ubuntu archive when stable
sudo add-apt-repository ppa:canonical-desktop-team/myna
sudo apt install myna-config

Then open Myna Settings: it installs the models and the desktop pieces Myna needs, and binds the dictation key.

To build the latest package locally, run make build-deb followed by sudo apt install ./target/deb/*/myna-config_*.deb.

To build the latest binary locally,

# edit ...
workshop exec myna -- bash -lc 'cd /project/client && cargo build --release --locked'
./client/target/release/myna-config

Desktops

Desktop Releases Notes
Ubuntu (GNOME, Wayland) 24.04 and later The pill is a GNOME Shell extension Settings enables.
Xubuntu (Xfce, X11) 24.04 Settings makes IBus (which myna-config recommends) the input method, effective at next login.
Kubuntu (KDE Plasma 6, Wayland) 26.04 and later Settings makes IBus (which myna-config recommends) KWin's input method, effective at once.

Myna types through IBus only. On Plasma, fcitx5 as the input method is not supported yet: Settings says so and leaves it in place. Plasma on X11 is best effort; Plasma 5 (Kubuntu 24.04) is not supported.

Develop

This repository is written to be explored with a coding agent. Point one at the tree and ask. AGENTS.md is the entry point: it lays out the architecture and indexes the .kb/ knowledge documents, and every subsystem carries its own AGENTS.md.

The manual development loop is,

# make changes ...
# start a backend
(cd server && uv run myna-server --adapter whisper --model base --socket /tmp/myna.sock) &
# start a client
cd client && cargo run --bin myna-testbed -- --socket /tmp/myna.sock --mic
# repeat ...

For text injected into the focused app, run the myna-desktop daemon instead; see client/README.md.

Acknowledgements

  • Antonio Zugaldia of SpeedOfSound, for early design discussions and advice.
  • Kieirra, author of Murmure, for their advice on GitHub Discussions and for the ideas and code Myna ported: the Parakeet backend's chunked-commit loop and adaptive VAD follow Murmure's, and the parakeet snap ships Murmure's int8 ONNX bundle.

License

AGPL-3.0-or-later. See LICENSE.

Explore related projects

Loading…