supermemoryai / supermemory

Build your own second brain with supermemory. It's a ChatGPT for your bookmarks. Import tweets or save websites and content using the chrome extension.
https://supermemory.ai
MIT License
7.13k stars 685 forks source link

feat: text to speech on answers #198

Closed krakenftw closed 3 months ago

krakenftw commented 3 months ago

feat: Add Text-to-Speech Functionality for Chat Answers

Overview

This pull request introduces text-to-speech functionality for chat answers, allowing users to hear the AI's responses read aloud. #197

Changes

✨ Generated with love by Kaizen ❤️

Original Description added tts using the `SpeechSynthesis` API. other changes are for formatting, prettier
kaizen-bot[bot] commented 3 months ago

Code Review

All Clear: This PR is ready to merge! 👍

✨ Generated with love by Kaizen ❤️

Useful Commands
Dhravya commented 3 months ago

Thanks @krakenftw ! great PR

krakenftw commented 3 months ago

Thanks! currently it shows the speak icon while its still speaking, so it queues up the audio. should i implement a hook that gives us isSpeaking state and we can disable the speaker icon while its speaking.

Dhravya commented 3 months ago

Yeah and a way to stop /pause would be great