Code Monkey home page Code Monkey logo

feta-chat-web-ui's Introduction

Converse.js Community Plugins

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

Creating a plugin

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.

Adding a plugin to the repo here for general use

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 index.html, add your plugin to the index page. Comit your changes and make sure it works from the demo web site at https://conversejs.github.io/community-plugins/.

Enabling a plugin in Converse

Before a plugin can be used, it needs to be whitelisted when you call converse.initialize.

converse.initialize({
    whitelisted_plugins: ['my-sexy-plugin'],
});

TODO: Moving plugins to Lerna

We've started using Lerna to manage the plugin packages.

For older plugins, the following needs to be done:

  • Move it to the ./packages/ directory
  • Add a package.json and give it a name in the form @converse-plugins/name

feta-chat-web-ui's People

Contributors

deleolajide avatar jcbrand avatar dependabot-preview[bot] avatar chaoskid42 avatar dependabot[bot] avatar jarobase avatar ibygsd avatar supun19 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.