lobe-tts
π€ Lobe TTS - A high-quality & reliable TTS/STT library for Server and Browser
File Explorer
- createStaticStyles_migration_guide.md
- 1_bug_report.yml
- 2_feature_request.yml
- 3_question.yml
- 4_other.md
- issue-auto-comments.yml
- issue-check-inactive.yml
- issue-close-require.yml
- pkg.pr.new.yml
- release.yml
- test.yml
- PULL_REQUEST_TEMPLATE.md
- commit-msg
- pre-commit
- edge-speech.ts
- microsoft-speech.ts
- openai-stt.ts
- openai-tts.ts
- edge-speech-tts.md
- edge-speech-tts.zh-CN.md
- microsoft-speech-tts.md
- microsoft-speech-tts.zh-CN.md
- openai-tts.md
- openai-tts.zh-CN.md
- changelog.md
- index.md
- index.tsx
- STT.tsx
- TTS.tsx
- EdgeSpeechTTS.ts
- MicrosoftTTS.ts
- OpenAITTS.ts
- cors.ts
- robots.txt
- api.ts
- polyfill.ts
- locales.ts
- styleList.ts
- voiceList.ts
- createEdgeSpeech.ts
- edgeVoiceList.ts
- index.ts
- options.ts
- createMicrosoftSpeech.ts
- index.ts
- voiceList.ts
- index.ts
- index.ts
- voiceList.ts
- index.ts
- options.ts
- voiceList.ts
- arrayBufferConvert.ts
- audioBufferToBlob.ts
- cleanContent.ts
- genSendContent.ts
- genSSML.ts
- getHeadersAndData.ts
- getRecordMineType.ts
- getSHA256.ts
- getVoiceList.ts
- playAudioBlob.ts
- secondsToMinutesAndSeconds.ts
- splitTextIntoSegments.ts
- index.ts
- VoiceList.ts
- api.ts
- leva.ts
- index.tsx
- index.md
- index.tsx
- index.tsx
- index.md
- index.tsx
- Visualizer.tsx
- useAudioPlayer.ts
- useAudioVisualizer.ts
- useBlobUrl.ts
- useStreamAudioPlayer.ts
- index.tsx
- index.md
- index.ts
- index.tsx
- index.md
- index.ts
- index.tsx
- index.md
- index.ts
- AutoStop.tsx
- index.tsx
- index.md
- index.ts
- useOpenAISTTAutoStop.ts
- useOpenAISTTCore.ts
- useOpenAISTTInteractive.ts
- useOpenAISTTRecorder.ts
- index.tsx
- index.md
- index.ts
- AutoStop.tsx
- index.tsx
- index.md
- index.ts
- useSpeechRecognitionAutoStop.ts
- useSpeechRecognitionCore.ts
- useSpeechRecognitionInteractive.ts
- index.tsx
- index.md
- index.ts
- index.ts
- index.ts
- createOpenaiAudioSpeech.ts
- createOpenaiAudioTranscriptions.ts
- index.ts
- index.ts
- .gitkeep
- .bunfig.toml
- .changelogrc.js
- .commitlintrc.js
- .dumirc.ts
- .editorconfig
- .eslintignore
- .eslintrc.js
- .gitignore
- .i18nrc.js
- .npmrc
- .prettierignore
- .prettierrc.js
- .releaserc.js
- .remarkrc.js
- .stylelintrc.js
- CHANGELOG.md
- clean-package.config.js
- LICENSE
- package.json
- README.md
- renovate.json
- tsconfig.json
- tsdown.config.ts
- vercel.json
- vitest.config.ts
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
bun add
View Details βΌ
bun add
Add and install new dependencies to the current project.
bun {{[a|add]}} {{package}}
Install a single package:
bun {{[a|add]}} {{package1 package2 ...}}
Install multiple packages:
bun {{[a|add]}} {{git_url}}
Install from a Git repository:
bun install
View Details βΌ
bun install
Install JavaScript dependencies for a project from `package.json`.
bun {{[i|install]}}
Install all dependencies listed in `package.json`:
bun {{[i|install]}} {{package_name}}@{{version}}
Install a single package (this is an alias for `bun add`):
bun {{[i|install]}} {{[-g|--global]}} {{package_name}}
Install a package globally:
bun
View Details βΌ
bun
JavaScript runtime and toolkit.
Includes a bundler, a test runner, and a package manager.
bun init
Create a new Bun project in the current directory:
bun run {{path/to/file|script_name}}
Run a JavaScript file or a `package.json` script:
bun test
Run unit tests:
git clone
View Details βΌ
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
pnpm
View Details βΌ
pnpm
Fast, disk space efficient package manager for Node.js.
Manage Node.js projects and their module dependencies.
pnpm init
Create a `package.json` file:
pnpm {{[i|install]}}
Download all the packages listed as dependencies in `package.json`:
pnpm add {{module_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
