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

Uploaded Python 3

File details

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

File metadata

  • Download URL: voice_dashboard-0.1.0.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.1.0.tar.gz
Algorithm Hash digest
SHA256 56179851d14d55a056daad6c75bcdc842274b5d9390c9a47b230246ea97cf815
MD5 c483ec79fa6762eaacc84b10861dac64
BLAKE2b-256 b6ffd9a91d60590628f4ba2b68bad0a9bac274fc50222a8dccc5a1eabcc1e84c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for voice_dashboard-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0fefaf4f58d72a8e9a13c4720594fda020ec66a4155824d332461353a51ce258
MD5 e878114cf954f68f261d0f790c062acb
BLAKE2b-256 4d0858a46b7ef867fe93f48f193b4bffa9d1d4a04da309a3b45013213e7f616e

See more details on using hashes here.

Provenance

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