Home

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

πŸ“Έ 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

  1. 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.
  2. 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.
  3. 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

🚒 Deployment

Deploying with Vercel

Deploy with Vercel

Deploying with Docker

  1. Pull the Docker image:arm64.
docker pull hahahumble/speechgpt
  1. Run the Docker container.
docker run -d -p 8080:8080 --name speechgpt hahahumble/speechgpt
  1. Visit http://localhost:8080/ to access the application.

Building and running the Docker image

  1. Build the Docker image.
docker build -t speechgpt:arm64 -f Dockerfile .
  1. Run the Docker container.
docker run -d -p 8080:8080 --name=speechgpt speechgpt
  1. Visit http://localhost:8080/ to access the application.

πŸ“„ License

This project is licensed under the terms of the MIT license.