Skip to content
项目

关于

Myna 是一款适用于 Ubuntu Desktop 的轻量级语音转文字应用。

其他项目

这些数字如何统计

实测星标增长

24小时
+1
7天
+9
15天
+18
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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.

探索相关项目

加载中…