https://github.com/nexmo-community/hanami_vapi_tts
A sample Voice API text-to-speech app using the Hanami Ruby web framework
https://github.com/nexmo-community/hanami_vapi_tts
hanami nexmo ruby tts tts-api voice-api vonage
Last synced: 6 months ago
JSON representation
A sample Voice API text-to-speech app using the Hanami Ruby web framework
- Host: GitHub
- URL: https://github.com/nexmo-community/hanami_vapi_tts
- Owner: nexmo-community
- License: mit
- Created: 2021-01-28T13:26:14.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-28T13:52:39.000Z (over 4 years ago)
- Last Synced: 2025-02-10T09:42:00.757Z (8 months ago)
- Topics: hanami, nexmo, ruby, tts, tts-api, voice-api, vonage
- Language: Ruby
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Vonage Voice API TTS on Hanami
Create text-to-speech phone calls with the Vonage Voice API and the Vonage Ruby SDK on Hanami.
## Prerequisites
This project requires the following:
* Ruby
* Hanami
* A Vonage Account
* A Vonage Phone Number## Installation
To install the application:
* Clone this repository locally
* Run `bundle install` to install the dependencies
* Run `bundle exec hanami db prepare` to set up the database
* Run `bundle exec rake db:seed` to seed the database with language options## Usage
To run the telephone game do the following:
* Rename `.env.sample` to `.env` and insert your Vonage API credentials, along with your Vonage phone number
* Download your `private.key` for your Vonage Voice application from the [Vonage API Dashboard](https://dashboard.nexmo.com)
* Start your Hanami server by running `bundle exec hanami server` from the command line
* Visit your website at `http://localhost:200` and fill out the form to create your first tex-to-speech phone call## License
This project is under the [MIT License](LICENSE).