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

@goodandready/dsh-tts

v0.3.7

Published

Text-to-speech for DeepSeek Harness: speak agent replies in the Web UI with a provider fallback chain (OpenAI, ElevenLabs, Google, Azure, Groq, Deepgram, OpenRouter, Edge, Piper, eSpeak).

Readme

dsh-tts

Text-to-speech for the DeepSeek Harness Web GUI. When Speak agent replies is on, each finished assistant turn is synthesized on the host and played in the browser. API keys never reach the browser.

A later messenger hub can call the same host chain (POST /dsh-tts/speak or the speak_text tool). This package does not talk to Telegram itself.

Install

# From npm (after a GitHub/npm release):
dsh plugin --profile web add @goodandready/dsh-tts

# From a local checkout:
dsh plugin --profile web add file:/path/to/dsh-tts

Restart the Web UI, then hard-refresh the browser.

Configure

Settings -> Speech:

  • Speak agent replies -- off by default.
  • Provider chain -- pick a provider, paste its API key in that row, then Save (or leave the key field). The value is written to the host credentials store immediately and is never sent back to the browser. The row shows Configured / Not set. Leave the field blank to keep an existing key. Local providers (edge, piper, espeak) have no key field.
  • A provider without a credential is skipped, not fatal.
  • Piper / eSpeak / edge-tts binaries and the Piper model path.

Keys land in the same store the rest of DSH uses (credentials file, then the process environment). The plugin stores names, never values:

OPENAI_API_KEY
ELEVENLABS_API_KEY
GEMINI_API_KEY
AZURE_SPEECH_KEY
GROQ_API_KEY
DEEPGRAM_API_KEY
OPENROUTER_API_KEY

Put additional keys in the same pool (<PROVIDER>_API_KEY_2, ...) if you use a key-rotation plugin.

Providers

| Key | Service | Default model / voice | Credential | |---|---|---|---| | openai | OpenAI Audio Speech | gpt-4o-mini-tts / alloy | OPENAI_API_KEY | | elevenlabs | ElevenLabs | eleven_multilingual_v2 | ELEVENLABS_API_KEY | | google | Gemini TTS | gemini-2.5-flash-preview-tts / Kore | GEMINI_API_KEY | | azure | Azure Speech | neural voice + region | AZURE_SPEECH_KEY + region | | groq | Groq PlayAI | playai-tts | GROQ_API_KEY | | deepgram | Deepgram Aura | aura-asteria-en | DEEPGRAM_API_KEY | | openrouter | OpenRouter /audio/speech | openai/gpt-4o-mini-tts-2025-12-15 | OPENROUTER_API_KEY | | edge | Microsoft Edge Neural via edge-tts CLI | ru-RU-SvetlanaNeural | none | | piper | local Piper | path to an ONNX model | none | | espeak | eSpeak NG | voice ru | none |

Default chain: edgepiperespeak. Deepgram Aura does not list Russian; keep it below a Russian-capable voice if you speak Russian.

Free local / CLI providers

pip install edge-tts          # provides the `edge-tts` binary
# piper: install the Piper binary and point Settings at your .onnx model
sudo apt install espeak-ng    # or the equivalent package on your OS

Tool

speak_text(text) — synthesize with the same chain. The tool result is a short status line; it does not inject audio into the model history.

Routes

| Route | Purpose | |---|---| | GET /dsh-tts/status | chain and whether auto-speak is on | | GET or PUT /dsh-tts/config | settings plus configured/writable/ref per cloud provider. PUT may include keys; values are stored as credentials and never echoed. | | PUT or DELETE /dsh-tts/credential | writes or clears one host credential immediately | | GET /dsh-tts/pending?after= | audio produced for finished replies | | POST /dsh-tts/speak | {text} -> {ok, provider, mime, audioBase64} |

Requirements

  • DeepSeek Harness with the Web GUI
  • Node 20+
  • Optional: edge-tts, piper, espeak-ng for the free providers

License

MIT