Skip to main content

中文 | English

叨逼叨 (Daobidao)

Build codecov PyPI

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

基于 Qwen3-ASR + onnxruntime 推理,支持中/英/日/韩/粤等多语种,自带标点和大小写。支持 macOS 和 Linux (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

Metadata

Release files for daobidao 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for daobidao 1.0.6
File Size Uploaded
daobidao-1.0.6.tar.gz 6.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for daobidao 1.0.6
File Interpreter ABI Platform
daobidao-1.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 MB

Release files / daobidao-1.0.6.tar.gz

Download URL daobidao-1.0.6.tar.gz
Size 6.6 MB
Tags Source
SHA-256 checksum
How to use checksums
b3004a569539a4d0539e5723c1b12625216d305e353e1089295b36bec76090d9
BLAKE2b-256 checksum
How to use checksums
2ced05d5b41eea5436a3dbb394345994a3796c7cdde3e1f52ddbed1a19da2ea1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 11, 2026.

Transparency log

Release files / daobidao-1.0.6-py3-none-any.whl

Download URL daobidao-1.0.6-py3-none-any.whl
Size 217.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d412af8f9ae893145b70aebe35f0b7f08afb35105265415850aa32136dafb3f4
BLAKE2b-256 checksum
How to use checksums
32673a0135bcd9dfd133e937c0dfb36872806683e89d6ca09aad55b5e1a7c6aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.6 This release

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page