开发者

running my own jabber/xmpp server [closed]

开发者 https://www.devze.com 2022-12-25 01:58 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. 开发者_如何学Go

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 8 years ago.

Improve this question
  1. Can I make my own jabber server.So that if I run my website xyz then people should be be able to get their jabber id from my website by registering on my website.
  2. Is there any open source implementation of jabber server that I can use?


I use Openfire to run my Jabber server and am quite happy with it. Probably higher-overhead than some of the other options (jabberd, ejabberd, etc.), but it's easy to install and has a great web-based admin UI.

As far as adding users via a web application - I don't know how you would go about doing that with Openfire, but it should be possible. It can plug in to many databases, and you might be able to give your web application an admin account that it can use to create users.

Alternatively, the Jabber/XMPP protocol supports creating a new account when you first connect to a server, if that's good enough for you. OpenFire supports that feature (as do most Jabber servers, I believe).

Update: The User Service Plugin for Openfire exposes an HTTP API for performing user administration actions. That's probably exactly what you need.


Can i make my own jabber server.So that if i run my website xyz then people should be be able to get theri jabber id from my website by registering on my website.

It depends on what kind of hosting you have. I think you should at least have VPS hosting to install the software. Basic hosting for a couple of bucks does not allow you to run jabber server.

Is there any open source implementation of jabber server that i can use?

I myself really like lua's prosody. It is easy to install / configure


You might like ejabberd, it is fairly friendly to new users:

http://www.process-one.net/en/ejabberd/


For you first question: You might want to look at the XEP-0077 extension for in-band registration. http://xmpp.org/extensions/xep-0077.html#intro

What language are you coding in? You might want to check and see if that language has a XMPP library that can handle this extension.


I've tried most of them and can agree on ejabberd. The only problem is that in order to change it, you need to program in Erlang. Openfire looks great, but I could not get the certificate to load properly: there is a bug with the implementation, so TLS will not work. I couldn't get Soapbox to access a local MySQL database, so that was out too.

As for client-side, you can use Miranda.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号