Skip to main content

叨逼叨 - 跨平台本地语音输入工具(中英日韩粤,Qwen3-ASR ONNX 本地推理)

Project description

中文 | English

叨逼叨 (Daobidao)

Build codecov PyPI

跨平台本地语音输入工具 —— 按住快捷键说话,松开后自动识别并输入到当前窗口。完全离线,无需联网。

基于 Qwen3-ASR + onnxruntime 推理,支持中/英/日/韩/粤等多语种,自带标点和大小写。支持 macOSLinux (X11)

安装

curl -LsSf https://raw.githubusercontent.com/pkulijing/daobidao/master/install.sh | sh

脚本自动安装所有依赖、下载模型(~990 MB),装完即用。重复执行安全。

手动安装

macOS:

brew install portaudio
uv tool install daobidao
daobidao --init   # 下载模型 + 安装 .app bundle

首次运行需在「系统设置 > 隐私与安全性」中授予辅助功能麦克风权限。

Linux (Ubuntu 24.04+ / Debian 13+):

sudo apt install xdotool xclip pulseaudio-utils libportaudio2 \
                 libgirepository-2.0-dev libcairo2-dev gir1.2-gtk-3.0 \
                 gir1.2-ayatanaappindicator3-0.1
sudo usermod -aG input $USER && newgrp input
uv tool install daobidao
daobidao --init   # 下载模型

从源码:

git clone https://github.com/pkulijing/daobidao && cd daobidao
bash scripts/setup.sh
uv run daobidao

使用

  1. 启动后按住快捷键开始录音(macOS 默认右 Command,Linux 默认右 Ctrl)
  2. 说话,松开快捷键
  3. 识别结果自动输入到光标位置
daobidao -k KEY_FN        # 自定义快捷键
daobidao --help           # 更多选项

启动后自动打开浏览器设置页,也可通过系统托盘访问。支持在设置页切换模型大小(0.6B / 1.7B)、快捷键、界面语言等。

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

daobidao-1.0.3.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

daobidao-1.0.3-py3-none-any.whl (202.1 kB view details)

Uploaded Python 3

File details

Details for the file daobidao-1.0.3.tar.gz.

File metadata

  • Download URL: daobidao-1.0.3.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for daobidao-1.0.3.tar.gz
Algorithm Hash digest
SHA256 38e754a922a6f1db5ae25a18c6e035f0fe8bcebdab27d5eb62647d0b48d11cac
MD5 b1b07b3d3b6c3e065d84ae4e968be735
BLAKE2b-256 173365cb0e51aadbc603e3e2abc80eac99cc4daad47e02106e0bda1981c2d373

See more details on using hashes here.

Provenance

The following attestation bundles were made for daobidao-1.0.3.tar.gz:

Publisher: release.yml on pkulijing/daobidao

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file daobidao-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: daobidao-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 202.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for daobidao-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 77f1e34c36f24f929c060e74b635f5388d0a8d64b2c060647c00c5422214f170
MD5 911631f6878bc3b3c7c20ce1837ec1d5
BLAKE2b-256 7491b0557804b3764c2f639756802cdefa1edf38c07628737bceb839ffe7b13c

See more details on using hashes here.

Provenance

The following attestation bundles were made for daobidao-1.0.3-py3-none-any.whl:

Publisher: release.yml on pkulijing/daobidao

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page