Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/driftt/babel-bot

A bot to automatically translate conversations.
https://github.com/driftt/babel-bot

Last synced: about 1 month ago
JSON representation

A bot to automatically translate conversations.

Awesome Lists containing this project

README

        


babel bot

Babel-Bot
---
Example Project: Conversation Translation bot for Drift.

Note this project is no longer actively maintained.

Requires a Google API key with access to the Google Cloud Transation service. You can create one from here: https://cloud.google.com/translate/.

You can find your Drift OAuth Access token by following the quick start here.

Once you create the Drift app, you should set the `new_message` and `button_action` webhooks and point to your deployed Heroku (or other service) instance of the babel-bot server with endpoint `/api`.

## Deploying to Heroku

### CLI install

1. `heroku create`

2. `git push heroku master`

3. `heroku addons:create heroku-postgresql:hobby-dev`

4. `heroku config:set BOT_API_TOKEN={OAuth Access token}`

5. `heroku config:set GOOGLE_API_KEY={Google Api Key}`

### GUI install

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/Driftt/babel-bot)