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.5.tar.gz (6.6 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.5-py3-none-any.whl (204.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: daobidao-1.0.5.tar.gz
  • Upload date:
  • Size: 6.6 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.5.tar.gz
Algorithm Hash digest
SHA256 dcb197f41893dfe2e16aed7275cde80fb5fa67edf75e0ad350e36bd0f0ca732c
MD5 350cb0d89e09de525dcde99de88fdf36
BLAKE2b-256 307da412a467e7fae07d71d2af412c47fbbdca567f669afb7b47a06d2acab896

See more details on using hashes here.

Provenance

The following attestation bundles were made for daobidao-1.0.5.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.5-py3-none-any.whl.

File metadata

  • Download URL: daobidao-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 204.2 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 03a9c2123e3fb51844a8ef607e583ec260c2d1176c1866e88701eab6db609988
MD5 6d04be2e76e91eef7d44fd88e1e25357
BLAKE2b-256 9c44a89a01ab0dd037e95b895b4dd7c3e5e2d29c51d14f4a05faf5e7a7bd3f86

See more details on using hashes here.

Provenance

The following attestation bundles were made for daobidao-1.0.5-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