https://github.com/thadeu/serverless-aws-polly-synthesize-speech
🗣 Using AWS Polly SynthesizeSpeech Neural Voice
https://github.com/thadeu/serverless-aws-polly-synthesize-speech
Last synced: 5 months ago
JSON representation
🗣 Using AWS Polly SynthesizeSpeech Neural Voice
- Host: GitHub
- URL: https://github.com/thadeu/serverless-aws-polly-synthesize-speech
- Owner: thadeu
- License: mit
- Created: 2022-05-26T13:46:09.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-04T12:13:41.000Z (over 3 years ago)
- Last Synced: 2025-02-02T13:27:27.211Z (over 1 year ago)
- Language: TypeScript
- Size: 477 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Serverless AWS Polly Synthesize Speech
This project uses an AWS Polly to convert text into mp3.
## Resources dependencies
- Serverless 3.x
- Node.js >= 14.17
- AWS Polly
- Typescript
- Crypto#randomUUID
- [Lambda Function URL](https://www.serverless.com/blog/aws-lambda-function-urls-with-serverless-framework)
## Developer Dependencies
- Webpack + ESBuild compiler
- Prettier
- ESLint
- FNM to manager node.js versions
- EditorConfig
## How to use?
First, configure your AWS Account and then running `yarn install` to install dependencies. Next, make deploy using Serverless Application as `npx sls deploy -s dev` for example.
A Lambda Function URL will generate, and access url `https://{url}/?text=hello world`. After convert text, file will downloaded automatically.
# Contributing
Once you've made your great commits (include tests, please):
1. Fork this repository
2. Create a topic branch - `git checkout -b my_branch`
3. Push to your branch - `git push origin my_branch`
4. Create a pull request
That's it!
Please respect the indentation rules and code style. And use 2 spaces, not tabs. And don't touch the version thing or distribution files; this will be made when a new version is going to be released.
## License
The Serverless and associated scripts and documentation in this project are released under the [MIT License](LICENSE).