forked from raycast/extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- chore: apply changes from Raycast collaborator (raycast#28) - fix: check file exists before cleanup (raycast#27) - fix: show error toast for invalid ElevenLabs API key (raycast#26) - refactor: use auto-generated Raycast preference types (raycast#25) - docs: move images to images/ folder (raycast#24) - docs: update README (raycast#23) - docs: add changelog (raycast#22) - feat: add Node.js version management and CI unit testing workflow (raycast#21) - security: bump cross-spawn to 7.0.6 (raycast#20) - fix: removes refs to default hotkey (raycast#19) - fix: refactor into separate files (raycast#18) - fix: add more comments (raycast#17) - fix: add unit tests (raycast#16) - fix: refactor into AudioManager (raycast#15) - fix: remove \'play-sound\' dependency (raycast#14) - Revert "fix: refactor into separate files (raycast#10)" (raycast#13) - Revert "fix: add more README instructions (raycast#11)" (raycast#12) - fix: add more README instructions (raycast#11) - fix: refactor into separate files (raycast#10) - feat: rename extension to \'ElevenLabs TTS\' (raycast#9) - fix: update extension icon (raycast#8) - fix: run prettier (raycast#7) - fix: pin dependencies (raycast#6) - fix: add more comments (raycast#5) - fix: add more logging and error handling (raycast#4) - fix: use websockets for faster TTS streaming (raycast#3) - fix: add toasts for UI feedback (raycast#2) - feat: use elevenlabs for TTS since it\'s better (raycast#1) - initial commit
- Loading branch information
1 parent
e7f67c3
commit 42bb85d
Showing
23 changed files
with
6,150 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"root": true, | ||
"extends": ["@raycast"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
|
||
# Raycast specific files | ||
raycast-env.d.ts | ||
.raycast-swift-build | ||
.swiftpm | ||
compiled_raycast_swift | ||
|
||
# misc | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
21.7.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"printWidth": 120, | ||
"singleQuote": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Raycast ElevenLabs TTS Changelog | ||
|
||
## 1.0.0 - 2024-12-21 | ||
|
||
### Added | ||
- Text-to-speech conversion using ElevenLabs API | ||
- Support for multiple premium AI voices | ||
- Voice customization with stability and similarity boost settings | ||
- Automatic playback control (stop/start) | ||
- Progress feedback with word count and text preview | ||
- Error handling with user-friendly messages | ||
- Automatic cleanup of temporary audio files | ||
|
||
### Features | ||
- Speak selected text from any application | ||
- Configure voice settings through preferences | ||
- Stop playback by running command again | ||
- Support for long-form text | ||
- Real-time audio streaming | ||
|
||
### Technical | ||
- WebSocket-based streaming for efficient audio delivery | ||
- Temporary file management for audio chunks | ||
- Event-based architecture for audio processing | ||
- Comprehensive error handling and user feedback | ||
- Unit tests for core functionality |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# ElevenLabs TTS for Raycast | ||
|
||
🎙️ Transform any text into natural-sounding speech instantly with ElevenLabs' premium AI voices - right from your Raycast! | ||
|
||
[Watch Demo](https://www.loom.com/share/d340fc09e88c47f1a032c0da291f3cc3) | ||
|
||
 | ||
 | ||
|
||
## ✨ Features | ||
|
||
- 🚀 Instant text-to-speech conversion with a simple keyboard shortcut | ||
- 🎭 20+ premium AI voices with unique personalities and accents | ||
- 🎛️ Fine-tune voice stability and clarity to match your needs | ||
- 🔊 Real-time streaming playback | ||
- ⚡️ Zero configuration needed - just add your API key and go! | ||
|
||
## 🚀 Quick Start | ||
|
||
1. Install from Raycast Store | ||
2. Add your ElevenLabs API key ([Get one here](https://elevenlabs.io)) | ||
3. Set up your preferred hotkey in Raycast (⌘ + ,) | ||
4. Pick your favorite voice and start speaking! | ||
|
||
## 📋 Requirements | ||
|
||
- Raycast v1.50.0+ | ||
- ElevenLabs API key | ||
- macOS 10.15+ | ||
|
||
## Usage | ||
|
||
1. Select any text in any application | ||
2. Press your configured hotkey (e.g., ⌘ + Shift + S) | ||
3. The selected text will be read aloud | ||
4. Press the same hotkey again to stop playback at any time | ||
|
||
💡 **Important**: By default, no hotkey is assigned. You'll need to: | ||
|
||
1. Open Raycast Settings (⌘ + ,) | ||
2. Go to Extensions | ||
3. Find "Speak Selected Text" | ||
4. Click "Add Hotkey" to set your preferred keyboard shortcut | ||
|
||
## ⚙️ Advanced Settings | ||
|
||
- **Stability** (0.0 - 1.0): Controls voice consistency. Higher values make the voice more stable but potentially less expressive. | ||
- **Similarity Boost** (0.0 - 1.0): Adjusts how closely the output matches the original voice. Higher values increase similarity but may impact performance. | ||
|
||
## 💡 Pro Tips | ||
|
||
- Use shorter text segments for faster response times | ||
- Experiment with different stability settings for each voice to find your perfect balance | ||
- The extension works with any text-based application including browsers, editors, and documents | ||
|
||
## 🔍 Troubleshooting | ||
|
||
- If no sound plays, check your API key and internet connection | ||
- Ensure you have sufficient credits in your ElevenLabs account | ||
- For long texts, consider breaking them into smaller segments | ||
|
||
## 🤝 Contributing | ||
|
||
Found a bug or have a feature request? Please open an issue on GitHub! | ||
|
||
## 📝 License | ||
|
||
MIT License - feel free to use and modify as needed. | ||
|
||
## 🙏 Credits | ||
|
||
- [ElevenLabs](https://elevenlabs.io) for their amazing Text-to-Speech API | ||
- [Raycast](https://raycast.com) for the excellent extension platform |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.57 MB
extensions/elevenlabs-tts/images/readme/elevenlabs-settings-screen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"preset": "ts-jest", | ||
"testEnvironment": "node", | ||
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"] | ||
} |
Oops, something went wrong.