Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
github.com/xshoji/google-cloud-text-to-speech-cli
Command line interface for google-cloud-text-to-speech-api.
Cloud Text-to-Speech Client Libraries | Cloud Text-to-Speech API | Google Cloud
https://cloud.google.com/text-to-speech/docs/reference/libraries?hl=ja
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/credential.json
Credential file of Google Service Account ( /path/to/credential.json ) is required. If you don't have account, you need create it.
Download latest application based on your platform.
Releases · xshoji/google-cloud-text-to-speech-cli
https://github.com/xshoji/google-cloud-text-to-speech-cli/releases
$ ./google-cloud-text-to-speech-cli --help
Usage:
google-cloud-text-to-speech-cli [OPTIONS]
Application Options:
-t, --text= [required] Text content.
-l, --language= LanguageCode. (default: en)
-g, --gender= SsmlGender. (default: FEMALE)
-v, --voice= Voice type ( see --listvoicetype ). (default: en-AU-Standard-A)
-s, --rate= SpeakingRate. [ 0.25 <= rate <= 4.0 ] (default: 1.0)
-p, --pitch= Pitch. [ -20.0 <= pitch <= 20.0 ] (default: 0.0)
-o, --output= Output file path. (default: out/output.mp3)
--listvoicetype Display voice types.
Help Options:
-h, --help Show this help message
$ ./google-cloud-text-to-speech-cli --text="Thank you download my apps. This is Command line interface for google-cloud-text-to-speech-api." --rate=1.5 --pitch=-5.0
dep ensure
dep ensure
googleapis/google-cloud-go: Google Cloud Client Libraries for Go.
https://github.com/googleapis/google-cloud-go
Service Account Key
Cloud Text-to-Speech Client Libraries | Cloud Text-to-Speech API | Google Cloud
https://cloud.google.com/text-to-speech/docs/reference/libraries?hl=ja
Then, download credential json.
2019/09/23 20:00:08 rpc error: code = PermissionDenied desc = Cloud Text-to-Speech API has not been used in project xxxxxx before or it is disabled. Enable it by visiting https://console.cloud.google.com/apis/api/texttospeech.googleapis.com/overview?project=xxxxx then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
And enable API account ( register your credit card info ).
サポートされているすべての音声の一覧表示 | Cloud Text-to-Speech Documentation | Google Cloud
https://cloud.google.com/text-to-speech/docs/list-voices?hl=ja
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.