twilio-conversations.js allows you to add multi-party voice and video communications to your web apps. For more information, see the Quickstart and Guides.
Releases of twilio-conversations.js are hosted on a CDN, and you can include these directly in your web app using a <script> tag. If you include twilio-conversations.js this way, then you must also include the twilio-common.js dependency.
<script src="//media.twiliocdn.com/sdk/js/common/v0.1/twilio-common.min.js"></script>
<script src="//media.twiliocdn.com/sdk/js/conversations/v0.13/twilio-conversations.min.js"></script>
You can also include twilio-conversations.js with either npm or bower. Including twilio-conversations.js this way allows you to integrate flexibly with build systems like Browserify and webpack.
With npm:
npm install twilio-conversations --save
With bower:
bower install twilio-conversations --save
Fork and clone the repository. Then, install dependencies with
npm install
npm install gulp -g
Part of the build process involves running integration tests against Twilio. In order to run these, you will need a Twilio account and you will need to set the following environment variables:
ACCOUNT_SID
AUTH_TOKEN
SIGNING_KEY_SID
SIGNING_KEY_SECRET
CONFIGURATION_PROFILE_SID
Alternatively, you can skip the integration tests by setting SKIP_INTEGRATION
to "true". Then, run
gulp
The builds and docs will be placed in the dist/
directory.
Bug fixes welcome! If you're not familiar with the GitHub pull request/contribution process, [this is a nice tutorial] (https://gun.io/blog/how-to-github-fork-branch-and-pull-request/).