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.0.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.0-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: voice_dashboard-0.7.0.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.0.tar.gz
Algorithm Hash digest
SHA256 e6c051e64b2a12015f21dd41dc99955240463f917fbff95eb0b93a1da4e56ec1
MD5 db6a08405ba51bb5e1d49b4a0e0e44be
BLAKE2b-256 4741f82345db198328999f6b45b2f006b4fc12e8a3c11128b1201c4abc944c5d

See more details on using hashes here.

Provenance

The following attestation bundles were made for voice_dashboard-0.7.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for voice_dashboard-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 db0fc65b103b3d07030b80d8f848760054f1d3839e44233129f9a342a8786c9b
MD5 ed26a11b4a0d651b2691f452ee0132dd
BLAKE2b-256 acaaf4178a2d7e1d0b06852cf7793701fce7d4284633fef4cf3d594a84504c99

See more details on using hashes here.

Provenance

The following attestation bundles were made for voice_dashboard-0.7.0-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