modernxmpp / easy-xmpp-invitation

Easy XMPP Invitation Landing Page
MIT License
41 stars 19 forks source link

Easy XMPP Invitation Landing Page

This is an XMPP invitation landing page that client developers or XMPP server admins can host on their servers. It allows users to send XMPP invitations (contacts or chat rooms) to people who do not have an XMPP client yet. This is part of the Easy XMPP initiative to improve the "first contact" experience.

For the JID romeo@montague.lit, it will create the following page (live example):

Romeo has invited you to chat

Add Romeo to your contact list by clicking the following link:

[ Add Romeo ]

If this link does not work, you need to install and configure an XMPP client, and visit this page again afterwards.

[snipped client list and disclaimer]

The project's official hosted landing page is at xmpp.link.

Principal operation

Design decisions

Setup

The following steps are needed to get started:

  1. Create a copy of config.js.dist in the same directory, rename it to config.js and adjust it to your needs
  2. Open index.html in your web browser
  3. Append # and the JID you want to create the invitation for to the URL

TODO

Inspiration

This project was inspired by mod_invite and Conversations' contact sharing page.

License

This code is licensed under the MIT License.