When in a chatroom that has the integration installed, users can select the Post Code Snippet
action. When the user chooses to Post Snippet
, the following happens:
- The code is used to create a private GitHub Gist
- A notification in the chatroom is sent, notifying users of the new snippet
- Users can click on the notification, which will open a modal with the contents of the private Gist
Prerequisites
- Must be using a version of
node.js
> 5.0.0 - Must have Redis server running locally
- Clone the repository
- Run
npm install
in the root of the repo - Setup ngrok (or another local tunnel) to listen on port
3000
- Open
config.json
, and change thelocalBaseUrl
value to the hostname provided byngrok
- Run
npm start
, which will build all assets and start the Integration's server
- Open up one of your HipChat rooms in the
4.0.x
client, and clickConfigure Integrations
- Scroll to the bottom of the Integrations page that opened, and click
Install an integration from a descriptor URL
- Select the room(s) you wish to install this integration for
Coming Soon...