Skip to main content

Daily-friendly MiniMax batch TTS CLI

Project description

🎙️ Voice Dashboard

A practical MiniMax batch Text-to-Speech CLI for daily workflows.

Version Python License CLI

🌍 English | 🇹🇼 繁體中文

FeaturesQuick StartCommon OptionsDocumentation

✨ Features

  • Plain-text paragraph splitting by empty lines, generating one MP3 per segment.
  • Three input sources (choose one):
    • File path: ttsrun <file.txt>
    • Standard input: ttsrun --stdin
    • Clipboard on supported systems: ttsrun --clipboard
  • Optional merge: only merges when --merge is provided.
  • Output control for automation and scripting:
    • --quiet
    • --verbose
    • --json-summary
  • Output artifacts for traceability:
    • manifest.json
    • errors.jsonl

🚀 Quick Start

1) Set API key

export MINIMAX_API_KEY="your_new_key"

2) Install

For regular local use from source:

python3 -m pip install .

Once the package is published to PyPI, prefer pipx for CLI-style installation:

pipx install voice-dashboard

If you explicitly want the package in an existing Python environment:

python3 -m pip install voice-dashboard

Homebrew install is also available:

brew install leonwong282/tap/voice-dashboard

For contributor setup, use the development guide and editable install instead.

3) Run

# File input
ttsrun examples/sample.txt

# Stdin input
pbpaste | ttsrun --stdin

# Merge only when you need a combined output
pbpaste | ttsrun --stdin --merge

⚙️ Common Options

  • --output-dir <dir>: write outputs to a fixed directory.
  • --force-output-dir: allow reusing a non-empty --output-dir.
  • --output-root <dir>: set the default output root.
  • --name <label>: customize job folder suffix.
  • --merge: merge all successful segments and remove segment files.
  • --open: open output directory after completion.
  • --config <path>: use a specific config file.
  • --request-timeout <seconds> / --max-retries <count>: tune MiniMax request boundaries.
  • --version: print the installed CLI version.
  • doctor: inspect config, API key, and optional dependencies.
  • config path: print the resolved config path.
  • config show: print the effective config as JSON.
  • config example: print a sample config JSON.
  • config init: write an example config file.
  • --quiet / --verbose: control progress output on stderr.
  • --json-summary: print the final manifest summary as JSON.

If an explicit --output-dir already exists and is not empty, ttsrun stops by default instead of silently mixing runs. Use --force-output-dir only when overwriting generated files is intentional.

Preferred management commands:

ttsrun doctor
ttsrun config path
ttsrun config show
ttsrun config init

ttsrun run <input_path> is also supported as an explicit batch subcommand. The older management flags remain available as a deprecated compatibility layer.

📖 Documentation

(back to top)

📄 License

This project is licensed under the GPL-3.0 License - see the LICENSE file for details.

👥 Author

Leon Wong - leonwong282

🙏 Acknowledgments

📞 Support


⭐ Star this repository if it helped you!

Made with ❤️ by Leon

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

voice_dashboard-0.7.2.tar.gz (37.1 kB view details)

Uploaded Source

Built Distribution

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

voice_dashboard-0.7.2-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

Details for the file voice_dashboard-0.7.2.tar.gz.

File metadata

  • Download URL: voice_dashboard-0.7.2.tar.gz
  • Upload date:
  • Size: 37.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for voice_dashboard-0.7.2.tar.gz
Algorithm Hash digest
SHA256 68530e6d7e5d1e3eb17e66bac84925050a789eb33a78767b502b98416d2f6cc6
MD5 c8b24bffb2693834bccef2e15d151a87
BLAKE2b-256 356f3203320e328966d1da64552677cbbbe547255beb413377717c9ed226e6f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for voice_dashboard-0.7.2.tar.gz:

Publisher: release.yml on leonwong282/voice-dashboard

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file voice_dashboard-0.7.2-py3-none-any.whl.

File metadata

File hashes

Hashes for voice_dashboard-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 69969c876b990df5b3b5d6e985f630e6248f263c95715635b640dab64ac41265
MD5 755b1ddc09d6f1bc7f2994b8381682fc
BLAKE2b-256 e693b57b3a1ad2f029cf856155703026df8210f1e734b02b7f928e19225fdf50

See more details on using hashes here.

Provenance

The following attestation bundles were made for voice_dashboard-0.7.2-py3-none-any.whl:

Publisher: release.yml on leonwong282/voice-dashboard

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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