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 support is planned but not published yet. The intended path is documented in docs/HOMEBREW.md.

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.
  • --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.
  • --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.

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.4.2.tar.gz (32.5 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.4.2-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: voice_dashboard-0.4.2.tar.gz
  • Upload date:
  • Size: 32.5 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.4.2.tar.gz
Algorithm Hash digest
SHA256 8d35818c6eb7fd9e445d0b7040e81f2530b3594ad109a04f97f2b8e5af852e37
MD5 6b4c1c636cc5dc7fc6201ad294c0e350
BLAKE2b-256 a4dac7dd57ee94b8d7cf5ac43478099679ed841457d832e4ddf6e48c4f3b35c5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for voice_dashboard-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e96a82d01587c4b3378ce264020d94fd30fdc9a080698c0035c70bcecf1ce643
MD5 0c8f1d3d74a20e732c0063735b02a07e
BLAKE2b-256 ceb987a69cc0dbfbc1b746ad522d0c6b662c8ad382d4551b923a10a4315807eb

See more details on using hashes here.

Provenance

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