Skip to content

TTS Engine Plugin System (Storage & Retrieval) #116

Description

@senigami

Goal: Modularize TTS engines (like XTTS and Voxtral) so they can be discovered on GitHub and installed/updated through the [Audiobook Studio](https://github.com/senigami/audiobook-studio) UI.

Description:
Transition from hardcoded engine wrappers to a dynamic plugin architecture similar to Stable Diffusion WebUI.

Key Requirements:

  • Plugin Index: Create a central plugins.json (hosted on GitHub Pages or a Gist) that maps engine names to their repository URLs.
  • Discovery Logic: * Primary: Fetch the central index.
    • Secondary: Use GitHub Search API to find repos with the topic audiobook-studio-tts.
  • Installation Manager:
    • Functionality to git clone or pip install a repository into a dedicated extensions/ or plugins/ folder.
    • Automatic environment check: Ensure the plugin's requirements (e.g., requirements-xtts.txt) are installed into the worker's venv.
  • Retrieval UI: A "Marketplace" tab in Settings where users can see "Installed" vs. "Available" engines with "Install/Update/Remove" buttons.
  • Plugin Spec: Define a manifest.json for engine authors to specify engine type (Local vs. Cloud) and entry points for the orchestrator.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions