SYSTRAN Translation & Dictionary Commands for HipChat
Create custom commands to handle translation and dictionary lookup in your HipChat channels.
You can create custom commands to handle translation and dictionary lookup in your HipChat channels with SYSTRAN Platform.
Prerequisites and configuration
SYSTRAN Platform API Key
Translations and dictionary lookup are performed with the SYSTRAN Platform REST Translation API and REST Resource Management API. To use it, you need to get a valid API key from SYSTRAN Platform here.
Then set it in the systranApiKey
variable in systran-hipchat-commands.js
.
Redis server
A Redis server is required to run the Add-On server
Start the add-on server
$ npm start
Register the add-on in HipChat
To register your add-on, navigate to the rooms administration page at https://.hipchat.com/rooms (or whatever url your private server is running at, if appropriate). Then select one of your rooms in the list. In the following page, select Integrations in the sidebar, and then click the "Install an integration from a descriptor URL" and set the "Descriptor URL" to <your add-on server url>/addon/capabilities
ngrok
ngrok can be a useful tool to simplify your development cycle. More details are available at the following page: https://bitbucket.org/atlassianlabs/ac-koa-hipchat/wiki/Getting_Started