|
1 هفته پیش | |
---|---|---|
.github | 4 سال پیش | |
dist | 2 سال پیش | |
logo | 4 سال پیش | |
packages | 1 هفته پیش | |
.eslintrc.json | 5 سال پیش | |
.gitignore | 5 سال پیش | |
.nvmrc | 2 سال پیش | |
LICENSE.txt | 7 سال پیش | |
Makefile | 4 سال پیش | |
README.md | 2 سال پیش | |
_config.yml | 5 سال پیش | |
favicon.ico | 5 سال پیش | |
index.html | 2 سال پیش | |
lerna.json | 5 سال پیش | |
package-lock.json | 2 سال پیش | |
package.json | 2 سال پیش | |
serviceworker.js | 4 سال پیش |
This repo contains community contributed plugins, not included in the core of Converse.js.
To see a demo of all the plugins working, click here
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 my-sexy-plugin
Where my-sexy-plugin
should be replaced with the name of your plugin.
Simple raise a PR with your new plugin. Please make sure you do the following first
Before a plugin can be used, it needs to be whitelisted when you call converse.initialize
.
converse.initialize({
whitelisted_plugins: ['my-sexy-plugin'],
});
We've started using Lerna to manage the plugin packages.
For older plugins, the following needs to be done:
./packages/
directory@converse-plugins/name