Integrate Hubl.in with Slack.com
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
server
tasks
test
.gitignore
.gjslintrc
.jshintrc
Gruntfile-tests.js
Gruntfile.js
Procfile
README.md
app.json
index.js
package.json

README.md

Hubl.in Slack.com integration

Deploy

About

Provides nice way to create free videoconference on https://hubl.in, a free and open source videoconference service based on webRTC.

Howto

While waiting to have an official integration on Slack, you will need to manually create some integration steps on Slack and to run the current node-based stuff on a server or in the so-calles Cloud.

  1. Create an incoming webhook, cf https://.slack.com/services/new/incoming-webhook

  2. Deploy the current Express based server somewhere (You know, git clone, npm install, ...)

  3. Start the server

    SLACK_WEBHOOK=URLFROMStep1 node index.js

  4. Create a slash command integration on Slack, cf https://.slack.com/services/new/slash-commands

  • Tell slack the command name (/hublin seems a good candidate)
  • Tell slack where to send request ie where you server from step 3 is running. Append the /slash route to the URL.
  • Tell slack to use the GET method

Once all is set, you will be able to create new video conferences from Slack

/hublin MyConference

Will send you back a message with the conference link.

Deploy

Heroku

You can deploy on Heroku by using the Heroku button above or by using the Heroku client:

git clone [current repo]
cd [current repo]
heroku login
heroku create [name]
git push heroku master
heroku config:set SLACK_WEBHOOK=[URL from step 1]

Once set, update the URL for the slash command on Slack.com to fit the URL of your newly deployed app

https://[name].herokuapp.com/slash

License

MIT