Skip to content

SpeechGPT is a web application that enables you to converse with ChatGPT.

License

Notifications You must be signed in to change notification settings

shfc/speechgpt

 
 

Repository files navigation

SpeechGPT

Website[中文]

SpeechGPT Website Demo

Introduction

SpeechGPT is a web application that enables you to converse with ChatGPT.
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

Screenshot 1 Screenshot 2 Screenshot 3

Tutorial

  1. Set the OpenAI API Key
    • 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

  1. Install dependencies
yarn
  1. Start development server
yarn dev
  1. Build for production
yarn build

Code formatting(Using Prettier)

yarn format

Build and Run With Docker

  1. Build the image.
docker build -t speechgpt .
  1. Run the container.
docker run -d -p 8080:80 --name=speechgpt speechgpt
  1. Visit http:https://localhost:8080/.
  2. Enjoy!

License

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

About

SpeechGPT is a web application that enables you to converse with ChatGPT.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • TypeScript 96.7%
  • CSS 2.6%
  • Other 0.7%