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

koishi-plugin-fishaudio-vits

v1.0.5

Published

Text-to-speech via Fish Audio API

Downloads

54

Readme

koishi-plugin-fishaudio-vits

npm

通过 Fish Audio API 进行文本转语音,支持 Koishi VITS 服务接口。

功能特性

  • 🎵 支持 Fish Audio 的高质量 TTS 服务
  • 🔧 完全兼容 Koishi VITS 服务接口
  • 🌐 支持代理连接
  • ⚙️ 灵活的配置选项
  • 📝 支持多种模型选择

安装

npm install koishi-plugin-fishaudio-vits

配置

在 Koishi 控制台中配置以下参数:

  • api_key: Fish Audio API 密钥(必填)
  • model: 使用的 TTS 模型名称,如 s1speech-1.6(默认:s1)
  • command: 自定义指令列表
  • vits_service_speaker: VITS 服务的默认说话人 ID
  • proxy_agent: SOCKS5 代理地址(可选)

使用方法

基础用法

// 使用默认指令
/say 你好,这是一个测试消息

作为 VITS 服务

插件实现了 VITS 服务接口,可以被其他插件调用:

// 在其他插件中使用
const result = await ctx.vits.say({
  input: "你好,世界!",
  // 其他选项...
});

API 密钥获取

  1. 访问 Fish Audio
  2. 注册并获取 API 密钥
  3. 在插件配置中填入密钥

许可证

MIT License

更新日志

1.0.0

  • 初始版本发布
  • 支持 Fish Audio TTS API
  • 实现 VITS 服务接口
  • 支持代理连接