Giter Site home page Giter Site logo

ejabberd_mod_offline_post's Introduction

mod_offline_post

Send a push notification to a webservice when there's a message being sent to offline users. Supports groupchat and chat.

Install

Tested with ejabberd 20.04:

git clone <URL of this git repo>
# copy the source code folder to the module sources folder of your ejabberd
# installation (may be different on your machine - see CONTRIB_MODULES_PATH in /etc/ejaberd/ejabberdctl.cfg)
sudo mkdir -p /var/lib/ejabberd/.ejabberd-modules/sources/mod_offline_post
sudo cp -R <name of this repo>/*.spec <name of this repo>/src /var/lib/ejabberd/.ejabberd-modules/sources/mod_offline_post
# if done right ejabberdctl will list mod_offline_post as available module
ejabberdctl modules_available
# automatically compile and install mod_offline_post
ejabberdctl module_install mod_offline_post

Usage

Add in ejabberd.yaml

modules:
  mod_offline_post:
    post_url: "http://..."
    auth_token: "AUTHENTICATION_TOKEN"

Credits

Forked from ejabberd_mod by Nuno Horta and mod_interact by Adam Duke

ejabberd_mod_offline_post's People

Contributors

nunohorta avatar akick avatar izandromm avatar joao-machado-diamond avatar eric-mendoza avatar btlogy avatar

Stargazers

 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.