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

@mcptoolshop/audiobooker

v2.1.1

Published

Convert EPUB/TXT/PDF/DOCX books into multi-voice narrated audiobooks (M4B/MP3). npx wrapper for the audiobooker-ai Python CLI.

Readme

这是用于 audiobooker-ai(Python)的 npx 包装器。它在首次运行时会创建一个私有 Python 环境,从 PyPI 安装指定版本的软件包,并运行实际的命令行界面——无需手动使用 pip,也不会更改您的系统 Python。

试用一下

npx @mcptoolshop/audiobooker --help

或者全局安装:

npm install -g @mcptoolshop/audiobooker

首次运行时,会在您的用户数据目录下(~/.local/share/audiobooker,或 Windows 上的 %LOCALAPPDATA%\audiobooker)设置一个受管理的虚拟环境,并安装 audiobooker-ai。此后每次运行都会立即启动。

需要在 PATH 中包含 Python 3.10+(包装器会查找 python3/py)。如果缺少,包装器会准确地告诉您如何为您的操作系统安装它。

快速入门

# One command: parse -> auto-cast voices -> compile -> render
npx @mcptoolshop/audiobooker make mybook.epub --acx

# Or the staged workflow, with control at each step
npx @mcptoolshop/audiobooker new mybook.epub
npx @mcptoolshop/audiobooker cast --interactive
npx @mcptoolshop/audiobooker compile
npx @mcptoolshop/audiobooker render --format m4b

音频渲染(语音合成)

解析、角色分配、编译和审核流程都可以直接使用。音频渲染需要 TTS 引擎,该引擎会引入更多的依赖项——在您准备好时启用:

AUDIOBOOKER_INSTALL_EXTRAS=render npx @mcptoolshop/audiobooker render

渲染还需要 FFmpeg 在 PATH 中,用于 M4B/MP3 的组装(winget install ffmpeg/brew install ffmpeg/apt install ffmpeg)。运行 audiobooker diagnose 以检查您的设置。

它的作用

  • 多声音角色分配,提供可解释的、排序后的语音建议;audiobooker audition <character> 允许您在确定之前对候选声音进行 A/B 测试。
  • 对话检测 + 说话者归属(可选 BookNLP 共指)、情感推断和可重用的发音词典。
  • 渲染前审核:导出可供人工编辑的脚本,修复归属信息,重新导入——没有任何内容会被静默更改。
  • ACX / Audible 母带处理render --acx 加上 master-check 会报告响度、峰值和噪声底噪是否通过测试(PASS/FAIL)。
  • 格式:M4B(章节标记 + 内嵌封面 + 系列元数据)、MP3、Opus、FLAC;按章节导出;零售示例片段。
  • 7 种语言配置文件(英语/法语/德语/西班牙语/日语/意大利语/葡萄牙语)和一个用于设置和忘记默认值的每个书籍的配置文件。

环境变量

| 变量 | 效果 | |---|---| | AUDIOBOOKER_INSTALL_EXTRAS=render | 包含语音引擎来配置受管理的虚拟环境(用于渲染) | | AUDIOBOOKER_FORCE_REINSTALL=1 | 从头开始重建受管理的虚拟环境 | | AUDIOBOOKER_BOOTSTRAP_ROOT=<dir> | 覆盖受管理的虚拟环境的存储位置 |

是否使用 pip?

pipx install audiobooker-ai            # isolated CLI install
pip install "audiobooker-ai[render]"   # with the voice engine

链接

许可证

MIT © mcp-tool-shop