28 lines
333 B
Markdown
28 lines
333 B
Markdown
# speak
|
|
|
|
Like macOS `say`, but using an ElevenLabs voice.
|
|
|
|
## Setup
|
|
|
|
Add your ElevenLabs credentials to `~/.env`:
|
|
|
|
```
|
|
ELEVENLABS_API_KEY=your_key
|
|
ELEVENLABS_VOICE_ID=your_voice_id
|
|
```
|
|
|
|
## Usage
|
|
|
|
Run directly:
|
|
|
|
```sh
|
|
bun run index.ts Hey there cowboy.
|
|
```
|
|
|
|
Install globally:
|
|
|
|
```sh
|
|
bun link
|
|
speak "Oh my, well hey there partner"
|
|
```
|