npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

dsh-qq-singing

v0.1.0

Published

Singing & voice tools for DSH + qq-bridge: point-song from OpenCpop, list/send SILK songs, TTS voice. 给 DSH 的唱歌与语音工具:OpenCpop 点歌、歌曲库/SILK 发送、TTS 语音条。

Readme

dsh-qq-singing

给 DeepSeek Harness 的唱歌与语音工具插件,配合本机 qq-bridge(QQ ↔ DSH 桥接 + RVC 翻唱流水线)使用。

注册的工具

| 工具 | 作用 | | --- | --- | | qq_sing | 从 OpenCpop 的 100 首歌里点一首唱(可指定歌名/编号,或 random: true 随机;clip 控制只唱前 N 秒) | | qq_sing_status | 查点歌任务进度 | | qq_opencpop_songs | 列出/搜索 OpenCpop 的 100 首可点曲目 | | qq_list_songs | 查看歌曲库(audio/songs/) | | qq_send_song | 把一首 .silk 当语音条发到会话 | | qq_say | TTS 语音条(≤200 字,可选情绪) |

点歌是异步的:qq_sing 立刻返回 jobId,qq-bridge 后台跑 UVR5/RVC,完成后自动把语音条发到会话。聊天里建议 clip: 45(约 1~2 分钟出结果);整首约 2~4 分钟。

安装

npm install -g dsh-qq-singing
# 或者在本机 DSH 环境中:
npm install dsh-qq-singing

插件通过 DSH bundle patch 自动注册(cordis.patch.yml)。也可以在 DSH profile 的 cordis.patch.yml 中手动加入:

- insert:
    - id: qq-singing
      name: dsh-qq-singing

前置条件

  1. qq-bridge 正在本机运行(默认 http://127.0.0.1:3100),且已装好唱歌流水线:
    • singing/ 下有 UVR5 + RVC 环境与模型
    • audio/songs/ 可写
    • singing/opencpop-songlist.json 存在(或用 dsh-singing-pipeline 初始化)
  2. 工具调用需要传 key(如 private:422208642)和 token(当前 QQ 会话的 agentToken,唤醒提示里有)。

配置(环境变量)

| 变量 | 默认 | 说明 | | --- | --- | --- | | DSH_QQ_SINGING_BRIDGE_URL | http://127.0.0.1:3100 | qq-bridge HTTP 地址 | | DSH_QQ_SINGING_CONSOLE_TOKEN | 空 | 桥接控制台令牌(桥接开启鉴权时必填) |

兼容旧变量名 DSH_QQ_BRIDGE_URL / DSH_QQ_BRIDGE_CONSOLE_TOKEN。

示例对话

  • 用户:「唱一个」 → AI 调 qq_sing {random:true, clip:45} → 回「好呀我去唱~」→ 1~2 分钟后桥接自动发语音条
  • 用户:「唱晴天」 → qq_sing {song:"晴天", clip:45}
  • 用户:「你会唱什么」 → qq_opencpop_songs
  • 用户:「把刚才那首发出来」 → qq_send_song {file:"oc-...silk"}

许可

MIT。OpenCpop 数据集的曲目用于研究/个人学习;动漫角色音色模型的角色 IP 归原权利人,请勿公开商用。