BarkTalk is a ChatGPT-powered voice assistant that uses Google Text-to-Speech (TTS) and Speech-to-Text (STT) to enable natural language conversation with users in multiple languages. The app is written in Python and runs on your local machine or server. You can use BarkTalk to perform various tasks, such as playing music, searching the web, getting the weather forecast, setting reminders, and more.
To use BarkTalk, you'll need to follow these steps:
- Clone this repository to your local machine.
- Install the required Python packages by running
pip install -r requirements.txt
. - Create a Google Cloud account and enable the Text-to-Speech and Speech-to-Text APIs.
- Set up authentication by creating a service account key and exporting the key as an environment variable:
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/key.json"
. - Run
python barktalk.py
to start the voice assistant.
Once you've installed and set up BarkTalk, you can use it by speaking to it in natural language. Here are some examples of what you can do:
- "What's the weather like today?"
- "Play some music by Adele."
- "Search for the best pizza places near me."
- "Set a reminder for 3 PM to call Mom."
BarkTalk supports multiple languages, so you can speak to it in any language that Google TTS and STT support. To change the language, modify the LANGUAGE_CODE
variable in barktalk.py
.
If you'd like to contribute to BarkTalk, please follow these guidelines:
- Fork thisrepository and clone it to your local machine.
- Create a new branch for your feature or bug fix.
- Make your changes and test them thoroughly.
- Write tests for your changes and make sure they pass.
- Submit a pull request with a clear description of your changes and why they're necessary.
BarkTalk is licensed under the MIT License. See LICENSE
for more information.
BarkTalk was created by msadeqsirjani using the following libraries and APIs:
If you have any questions or feedback about BarkTalk, please feel free to contact me at [email protected].