https://github.com/thesurlydev/transcriptions-play
Proof of concept using Bash and the AWS CLI to record, upload, transcribe and download transcriptions.
https://github.com/thesurlydev/transcriptions-play
Last synced: about 1 year ago
JSON representation
Proof of concept using Bash and the AWS CLI to record, upload, transcribe and download transcriptions.
- Host: GitHub
- URL: https://github.com/thesurlydev/transcriptions-play
- Owner: thesurlydev
- Created: 2022-02-21T15:47:09.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-21T15:55:25.000Z (over 4 years ago)
- Last Synced: 2025-02-06T18:52:24.091Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Transcriptions Play
Proof of concept using Bash and the AWS CLI to record, upload, transcribe and download transcriptions.
## Prerequisites
Tested on Ubuntu 20.10 only.
* [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)
* Two buckets created in AWS S3. Defined as variables in the script.
* [arecord](https://linux.die.net/man/1/arecord) installed and configured to work with your microphone.
## Usage
To begin recording, run the following command:
```shell
./rat.sh
```
Ctrl-C to stop recording.
When the recording is stopped, the following steps occur:
1. The recording file is uploaded to AWS S3.
2. A transcription job is created.
3. The script loops until the transcription job is complete.
4. The transcription job is downloaded from AWS S3 as a JSON file.
5. The JSON file is parsed and the transcription is displayed as text.