Skip to content
This repository was archived by the owner on Oct 1, 2020. It is now read-only.

A static site demonstrating real-time audio transcription via Amazon Transcribe over a WebSocket.

License

Notifications You must be signed in to change notification settings

amazon-archives/amazon-transcribe-websocket-static

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6a0b97f · Jun 3, 2020

History

49 Commits
Jul 24, 2019
Apr 10, 2020
Jul 27, 2019
Jul 26, 2019
Jul 24, 2019
Jul 24, 2019
Jul 24, 2019
Jul 24, 2019
Jul 26, 2019
Oct 25, 2019
Jun 3, 2020
Jun 3, 2020
Jul 24, 2019
Jul 26, 2019

Amazon Transcribe Websocket Static

Try it out

A static site demonstrating real-time audio transcription via Amazon Transcribe over a WebSocket.

This demo app uses browser microphone input and client-side JavaScript to demonstrate the real-time streaming audio transcription capability of Amazon Transcribe using WebSockets.

Check out the Amazon Transcribe WebSocket docs.

Building and Deploying

amplifybutton

Even though this is a static site consisting only of HTML, CSS, and client-side JavaScript, there is a build step required. Some of the modules used were originally made for server-side code and do not work natively in the browser.

We use browserify to enable browser support for the JavaScript modules we require().

  1. Clone the repo
  2. run npm install
  3. run npm run-script build to generate dist/main.js.

Once you've bundled the JavaScript, all you need is a webserver. For example, from your project directory:

npm install --global local-web-server
ws

Credits

This project is based on code written by Karan Grover from the Amazon Transcribe team, who did the hard work (audio encoding, event stream marshalling).

License

This library is licensed under the Apache 2.0 License.

About

A static site demonstrating real-time audio transcription via Amazon Transcribe over a WebSocket.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published