Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amazon-archives/amazon-transcribe-websocket-static
A static site demonstrating real-time audio transcription via Amazon Transcribe over a WebSocket.
https://github.com/amazon-archives/amazon-transcribe-websocket-static
amazon-transcribe-api amazon-web-services audio-transcription aws
Last synced: about 1 month ago
JSON representation
A static site demonstrating real-time audio transcription via Amazon Transcribe over a WebSocket.
- Host: GitHub
- URL: https://github.com/amazon-archives/amazon-transcribe-websocket-static
- Owner: amazon-archives
- License: apache-2.0
- Archived: true
- Created: 2019-07-24T17:56:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-23T15:25:57.000Z (about 4 years ago)
- Last Synced: 2024-07-31T08:16:05.491Z (4 months ago)
- Topics: amazon-transcribe-api, amazon-web-services, audio-transcription, aws
- Language: JavaScript
- Size: 195 KB
- Stars: 201
- Watchers: 9
- Forks: 465
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome - amazon-archives/amazon-transcribe-websocket-static - A static site demonstrating real-time audio transcription via Amazon Transcribe over a WebSocket. (JavaScript)
README
## Amazon Transcribe Websocket Static
[Try it out](https://transcribe-websockets.go-aws.com/)
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](https://aws.amazon.com/transcribe/) using WebSockets.
Check out the [Amazon Transcribe WebSocket docs](https://docs.aws.amazon.com/transcribe/latest/dg/websocket.html).
## Building and Deploying
[![amplifybutton](https://oneclick.amplifyapp.com/button.svg)](https://console.aws.amazon.com/amplify/home#/deploy?repo=https://github.com/aws-samples/amazon-transcribe-websocket-static)
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](https://github.com/browserify/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.