VoiceStudio is the open-source, fully-local ElevenLabs alternative — voice cloning, voice design, video dubbing, dictation, transcription & audiobook creation in 646 languages.
Python aiaudiobookcudadubbingelevenlabs-alternativehuggingfacelocal-firstmlxomnivoice-studiospeech-to-texttext-to-speechtranscriptiontranslatettsvoice-aivoice-cloningvoice-generationvoicestudioworkflow
#!/usr/bin/env node
import waitOn from 'wait-on';
import { DEFAULT_BACKEND_PORT, DEFAULT_WEB_PORT } from '../config/app-config.mjs';
const target = process.argv[2];
const definitions = {
api: {
resource: `http-get://localhost:${DEFAULT_BACKEND_PORT}/system/info`,
timeout: 300_000,
},
web: { resource: `http://localhost:${DEFAULT_WEB_PORT}`, timeout: 120_000 },
};
const selected = definitions[target];
if (!selected) throw new TypeError('Usage: node scripts/wait-app-port.mjs <api|web>');
await waitOn({ resources: [selected.resource], timeout: selected.timeout });