Gathering detailed insights and metrics for aws-tts
Gathering detailed insights and metrics for aws-tts
Gathering detailed insights and metrics for aws-tts
Gathering detailed insights and metrics for aws-tts
tts-cli
Command-line tool to convert text to speech
scv-tts
SuttaCentral Voice Text-to-Speech Library
gatsby-mdx-tts
Adds speech output to your Gatsby site using Amazon Polly.
@gsa-tts/forms-infra-aws-cdk
This package implements an AWS CDK project, including a build process to compile a Cloudformation template.
npm install aws-tts
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
Apache-2.0 License
95 Stars
400 Commits
17 Forks
6 Watchers
3 Branches
2 Contributors
Updated on Apr 23, 2025
Latest Version
1.5.0
Package Id
aws-tts@1.5.0
Unpacked Size
129.64 kB
Size
39.68 kB
File Count
14
NPM Version
6.0.1
Node Version
10.0.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Command-line tool to convert a text file of any size to speech using the AWS Polly API.
You can then install the package globally:
$ npm install aws-tts -g
You'll also need to get your AWS access keys and configure your machine with your credentials.
$ aws-tts [inputfile] outputfile [options]
Example:
# Using a text file as the input, changing the default voice, and specifying the AWS keys.
$ aws-tts test.txt test.mp3 --voice Brian --access-key ABCDEFG --secret-key hwl500CZygitV91n
# Passing a string of text as the input.
$ echo "Hello world! How are you?" | aws-tts test.mp3
Standard arguments:
inputfile
is the text file you want to convert to speech. It should be encoded as UTF-8. If excluded, aws-tts will read in the text from stdin
.outfile
is the filename to save the audio to.Options:
--access-key KEY
-- AWS access key ID--ffmpeg BINARY
-- Path to the ffmpeg binary (defaults to the one in PATH)--format FORMAT
-- Target audio format (mp3
, ogg_vorbis
, or pcm
) (default mp3
)--lexicon NAME
-- Apply a stored pronunciation lexicon. Can be specified multiple times.--region REGION
-- AWS region to send requests to (default us-east-1
)--sample-rate RATE
-- Audio frequency, in hertz. See the API docs for valid values.--secret-key KEY
-- AWS secret access key--throttle SIZE
-- Number of simultaneous requests allowed against the AWS API (default 5
)--type TYPE
-- Type of input text (text
or ssml
) (default text
)--voice VOICE
-- Voice to use for the speech (default Joanna
). See the API docs for the full list of voices. You can also test out the voices in the AWS console.~/.aws/credentials
.node --version
on the command line should give a version of v6.0.0 or higher.ffmpeg -version
on the command line should give you the version information.aws sts get-caller-identity
should return your user info.export DEBUG=*
first (Linux or Mac) to turn on debugging output. On Windows you'll need to use set DEBUG=*
(command prompt) or $env:DEBUG = "*"
(PowerShell).Pull requests and suggestions are welcome. Create a new issue to report a bug or suggest a new feature.
Please add tests and maintain the existing styling when adding and updating the code. Run npm run lint
to lint the code.
Copyright 2017 Eric Heikes.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
This project is not affiliated with Amazon.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
4 existing vulnerabilities detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 4
Details
Reason
3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2
Reason
Found 0/13 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More