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.1.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.1-py3-none-any.whl (189.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: daobidao-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 dfb8b7e5b67788aa38ecf1db3302aa1ec78a6fe2c55e8e5b65da36ca65766600
MD5 f09254c2b1fa178b7b34a9721bc6d7a2
BLAKE2b-256 fff1b4afdf7d0afd154d9626bcbe739800c49b2a79382686f0df5fe112b6e1f5

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: daobidao-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 189.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5a28b3936b9d841318a2b0e4a5e599ce72889e651a5604ab55f824a72bafb711
MD5 eb6129389c282cfbd030b8e8c6a3e3c7
BLAKE2b-256 fd1f54009cd7a5542db4a61e5825ba00e86daa54ec4ae1cf99b60cea187f3079

See more details on using hashes here.

Provenance

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