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

Uploaded Python 3

File details

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

File metadata

  • Download URL: voice_dashboard-0.7.1.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.1.tar.gz
Algorithm Hash digest
SHA256 5e86e18b3d7947d5b211bc0b21fa2924ebb768e17140619d14d871c8a8398555
MD5 7d00e8b44c5814815a302f1c8d0f5e4f
BLAKE2b-256 ace324d20b894eebdcd5d89f3f67b8f1fcc5140aeec4bf1632619abad77c9de6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for voice_dashboard-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1c56aeafb449adceacd7d3bd598c376e2e8ef52575e87c5cb102560cadd2f4ae
MD5 f403eebfc3a0fac2bfde8ad47a5aa6b3
BLAKE2b-256 ff72ca0dc03a6a46ee94d98f551ff455a237e42ce32c5511bdf4059aaa608e5d

See more details on using hashes here.

Provenance

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