Skip to main content

Convert Ebooks to Audiobooks with [custom] voice samples

Project description

Kenkui

Kenkui is basically a fancy wrapper for Kyutai's pocket-tts, with support for ebook parsing. It is multithreaded, and runs faster than any other tool I've used, so I figured I'd start a project to make it easier to use.

Quick Start

uv tool install kenkui
kenkui <your ebook name>.epub

Usage

You can pass a file or directory into kenkui, and it will search directories recursively for .epub files and convert them to m4b files.

Use --voice to specify the voice you want to use.

Use --list-voices to see all of the voices available.

Use --select-chapters and --select-books to specify which chapters or books you want to use.

To test out the default voices, go to kyutai's official website to try them out.

Notes

At this time we do not plan on supporting mp3, not because it's hard, but because m4b is a wonderful format. There is also currently not support for ebook formats other than epub. I'm sure it'll get added in the future.

For similar reasons, currently only pocket-tts is supported as the tts provider. It's the smallest, fastest, and most feature complete at the moment.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kenkui-0.2.0.tar.gz (39.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kenkui-0.2.0-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

Details for the file kenkui-0.2.0.tar.gz.

File metadata

  • Download URL: kenkui-0.2.0.tar.gz
  • Upload date:
  • Size: 39.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for kenkui-0.2.0.tar.gz
Algorithm Hash digest
SHA256 015aa6b2444646cd8c81c5d189cdf53a3f141fbb872a496019562fab413b6bc7
MD5 ff10fe3f4036dd6906b2727d5ff61a63
BLAKE2b-256 ab1e2b0f02d17c012591c6ad863d74cc3c14df5bb241dbd380e0f3fb558060bf

See more details on using hashes here.

File details

Details for the file kenkui-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: kenkui-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 27.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for kenkui-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ac1e4f892503c07fbe770aa4e0296bc9cf8035be0810e1b2017063f41fce890
MD5 c26817fe5bdf7463ad6cd91c15ad5926
BLAKE2b-256 9b64db744f1d940adf33da73987218efd38c4deaffbcb13db9ced01bc835db85

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page