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

dhee-runner-tts

v0.1.0

Published

Text-to-speech runner driving a ComfyUI TTS workflow (Qwen3-TTS / VibeVoice) on a local GPU.

Readme

dhee-runner-tts

Text-to-speech runner driving a ComfyUI TTS workflow (Qwen3-TTS / VibeVoice) on a local GPU.

A Dhee runner exposing the tool comfy.tts. Built against @dheeai/runner-sdk only (the runner firewall) and discovered by the engine via the dhee-runner-* npm convention.

Build

pnpm install && pnpm build

ComfyUI workflow

This runner drives any ComfyUI text-to-speech workflow. Drop your exported API-format workflow JSON in workflows/ (the package ships workflows/qwen3_narration.json — a single-voice Qwen3-TTS narrator built on FB_Qwen3TTSVoiceDesign → SaveAudio). The runner is workflow-agnostic — you do NOT edit source. Instead, the bundle node's config names which node/field receives each input:

  • textNodeId / textField — where the narration text is injected (required)
  • speakerNodeId / speakerField — optional speaker/voice name
  • voiceNodeId / voiceField — optional: an uploaded reference-voice file
  • fields — arbitrary static overrides keyed by node id then field (e.g. a Qwen3 voice instruct description, or a seed for a consistent narrator)

The workflow MUST end in a SaveAudio (or VHS audio save) node so Comfy emits an audio output. The endpoint is resolved by the engine via resolveEndpointUrlCOMFY_MODE=local (default) forces ENDPOINT_self_local / COMFYUI_BASE_URL.

Output contract

On success the runner writes the audio file and reports metadata.durationSeconds (parsed from the WAV header). Downstream nodes — notably the LTX director — read that duration to size video to the narration.

Use in a bundle

// bundle.json
"dependencies": {
  "runners":        { "comfy.tts": ">=0.1.0" },
  "runnerPackages": { "comfy.tts": "dhee-runner-tts" }
}

Then reference it from a node:

{
  "id": "segment_audio",
  "runner": {
    "tool": "comfy.tts",
    "config": {
      "workflowPath": "workflows/qwen3_narration.json",
      "outputPath": "audio/segment_1.wav",
      "endpoint": "self.local",
      "textNodeId": "1",
      "textField": "text",
      "textInput": "segment_narration",
      "fields": { "1": { "instruct": "A warm documentary narrator", "seed": 42 } }
    }
  }
}

Voice setup (optional, multi-speaker)

workflows/qwen3_narration.json needs no pre-saved speaker — instruct describes the voice inline. For multi-speaker dialogue, the bundle also ships qwen3_voice_design.json (design + save named speaker voices once) and qwen3_dialogue.json (FB_Qwen3TTSDialogueInference over a role bank). Point textNodeId at the dialogue node (script field) and pre-run the voice-design graph to populate the speaker store.