Coder Social home page Coder Social logo

hqcircles / onpremise-loadable-modules Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mesibo/onpremise-loadable-modules

0.0 0.0 0.0 12.36 MB

Mesibo On-Premise Loadable Modules

Makefile 0.07% C 4.29% JavaScript 0.82% C++ 94.77% Python 0.04%

onpremise-loadable-modules's Introduction

Loadable Modules - Add your own custom features to Mesibo

This repository contains the Sample Loadable Modules that you can use as a reference, to quickly see Mesibo Modules in action!

The complete documentation for Mesibo Modules is available here

List of Sample Modules

  • Skeleton Barebones version of a Mesibo Module that explains the usage of different aspects of the module, various callback functions, callable functions, and utilities.

  • Filter Filter module to monitor and moderate all the messages between your users (for example, to drop messages containing profanity)

  • Translate Translator module to translate each message before sending it to destination. Sample translate Module uses Google Translate for translation.

  • Chatbot Chatbot module to analyze messages using various AI and machine learning tools like Tensorflow, Dialogflow, etc. and send an automatic reply. Sample Chatbot Module uses Dialogflow

  • FCGI FCGI module to interface with a messaging backend and run scripts on your web server.

  • V8 V8 Module to load and call functions in ECMAScript. Sample V8 Module uses the embeddable JS Engine V8

Compiling Modules

To compile a Mesibo module, go to module directory and run make from the module directory.

sudo make

On the successful build of your module, verify that the target path should contain your shared library. Example, /usr/lib64/mesibo/mesibo_mod_<module name>.so

Loading Modules

To load a Mesibo module provide the configuration in /etc/mesibo/mesibo.conf. You can copy the configuration from sample.conf provided in each repo, into /etc/mesibo/mesibo.conf and modify values accordingly.

Mount the directory /path/to/mesibo_mod_<module name>.so containing your module(.so file) while running the mesibo container. For example, if the module is located at /usr/lib64/mesibo/

sudo docker run  -v /certs:/certs -v  /usr/lib64/mesibo/:/usr/lib64/mesibo/ \
         -v /etc/mesibo:/etc/mesibo -net host -d mesibo/mesibo <app token> 

Refer Mesibo Modules Documentation for more details.

onpremise-loadable-modules's People

Contributors

mesibo 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.