Learn how to build a simple text-to-speech voice app for the web using the Web Speech API.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
.dockerignore
.gitignore
Dockerfile
LICENSE
README.md
package-lock.json
package.json
server.js

README.md

Text-to-Speech Demo

You can checkout the full article on Scotch: Building Text-to-Speech Apps for the Web.

This project contains a demo source code showing how to build a simple text-to-speech voice app for the web using the Web Speech API.

Here is a screenshot of the application demo(without the sound):

Demo Application

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. Before you begin, make sure you have npm and node installed on your system.

Run the following commands to get started.

npm install
npm start

The app will run on port 5000 by default. If you would prefer another port, you can specify it in the server.js file. Look for the following line in the file and replace 5000 with your desired port.

const PORT = process.env.PORT || 5000;