This repo contains community contributed plugins, not included in the core of Converse.js.
To create a new plugin, use generator-converse, which is a Yeoman generator.
Install Yeoman and the generator:
npm install -g yo generator-conversejs
Then, to create a new plugin, run the following:
$ yo conversejs converse-pluginname
Where pluginname
should be the name of your plugin.
Simple raise a PR with your new plugin. Please make sure you do the following first
- Create a subfolder for your plugin and copy all your files in there. Please include a screenshot of the plugin working in converse.
- Edit demo.html, add your plugin to the demo page and make sure it works.