Awesome
<p align="center"> <a href="https://speechgpt.app"><img height="80px" src="./assets/speechgpt-icon-text.svg" alt="SpeechGPT" /></a> </p> <p align="center"> <a href="https://speechgpt.app/">Website</a> β’ <a href="https://github.com/hahahumble/speechgpt/blob/main/docs/README.zh.md">[δΈζ]</a> </p> <p align="center"> <img src="./assets/demo-en.png" alt="SpeechGPT Website Demo" width="900" /> </p>π Introduction
SpeechGPT is a web application that enables you to converse with ChatGPT.</br> You can utilize this app to improve your language speaking skills or simply have fun chatting with ChatGPT.
π Features
- π Open source and free: Anyone can use, modify it without cost.
- π Privacy First: All data is stored locally.
- π± Mobile friendly: Designed to be accessible and usable on mobile devices.
- π Support for multiple languages: Supports over 100 languages.
- π Speech Recognition: Includes both built-in speech recognition and integration with Azure Speech Services.
- π Speech Synthesis: Includes built-in speech synthesis, as well as integration with Amazon Polly and Azure Speech Services.
πΈ Screenshots
<table> <tr> <td><img src="./assets/screenshots/screenshot-1-en.png" width="360px" alt="Screenshot 1"></td> <td><img src="./assets/screenshots/screenshot-2-en.png" width="360px" alt="Screenshot 2"></td> <td><img src="./assets/screenshots/screenshot-3-en.png" width="360px" alt="Screenshot 3"></td> </tr> </table>π Tutorial
- Set the OpenAI API Key <br/>
- Go to Settings and navigate to the Chat section.
- Set the OpenAI API Key.
- If you don't have an OpenAI API Key, follow this tutorial on how to get an OpenAI API Key.
- Set up Azure Speech Services (optional)
- Go to Settings and navigate to the Synthesis section.
- Change the Speech Synthesis Service to Azure TTS.
- Set the Azure Region and Azure Access Key.
- Set up Amazon Polly (optional)
- Go to Settings and navigate to the Synthesis section.
- Change the Speech Synthesis Service to Amazon Polly.
- Set the AWS Region, AWS Access Key ID, and Secret Access Key (the Access Key should have the AmazonPollyFullAccess policy).
- If you don't have an AWS Access Key, follow this tutorial on how to create an IAM user in AWS.
π» Development Guide and Changelog
- For more information on setting up your development environment, please see our Development Guide.
- To view the project's history of notable changes, please check the Changelog.
π’ Deployment
Deploying with Vercel
Deploying with Docker
- Pull the Docker image:arm64.
docker pull hahahumble/speechgpt
- Run the Docker container.
docker run -d -p 8080:8080 --name speechgpt hahahumble/speechgpt
- Visit
http://localhost:8080/
to access the application.
Building and running the Docker image
- Build the Docker image.
docker build -t speechgpt:arm64 -f Dockerfile .
- Run the Docker container.
docker run -d -p 8080:8080 --name=speechgpt speechgpt
- Visit
http://localhost:8080/
to access the application.
π License
This project is licensed under the terms of the MIT license.