Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yhkaplan/translatebot
A simple SlackBot that translates English text to Japanese and any other language to English.
https://github.com/yhkaplan/translatebot
Last synced: about 1 month ago
JSON representation
A simple SlackBot that translates English text to Japanese and any other language to English.
- Host: GitHub
- URL: https://github.com/yhkaplan/translatebot
- Owner: yhkaplan
- Created: 2018-03-24T15:10:00.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-28T03:58:05.000Z (almost 7 years ago)
- Last Synced: 2024-11-06T05:42:19.881Z (3 months ago)
- Language: Go
- Homepage:
- Size: 4.31 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TranslateBot
A simple SlackBot that translates English text to Japanese and any other language to English.## How to deploy
#### Assumptions
You are building the bot an a Raspberry Pi or similar ARM device. If not, you must make minor changes to the Dockerfile.
1. `$ docker build -t translatebot .`
2. `$ docker run -d -e SLACK_TOKEN=xoxb-your-slack-token -e TRANSLATE_API_KEY=your-google-translate-api-key translatebot`
* Add `--restart always` to the docker run command to make the container reboot after restarts