Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/casaper/kraftwerk-speak-server
https://github.com/casaper/kraftwerk-speak-server
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/casaper/kraftwerk-speak-server
- Owner: casaper
- Created: 2023-03-11T23:08:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-07T16:57:29.000Z (about 1 year ago)
- Last Synced: 2024-10-03T17:43:21.660Z (about 1 month ago)
- Language: TypeScript
- Size: 603 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kraftwerk Speak Server
## Setup
You need Google Application Default Credentials (ADC) to authenticate with `@google-cloud/text-to-speech`. See the [GoogleCloud documentation about this](https://cloud.google.com/text-to-speech/docs/libraries?hl=en#client-libraries-install-nodejs)
In the end you'll get a JSON file from Google to which you needd to set a environment variable `GOOGLE_APPLICATION_CREDENTIALS` with absolute path to the ADC file.
### Redis for caching
The server caches the responses with redis. To have a local instance running, you can just start one with docker-compose:
```sh
$ docker-compose up -d
```### Install node dependencies with pnpm
```sh
$ pnpm install
$ pnpm run speak-server:serve:dev
```