Subj : Re: I have an Idea
To : echicken
From : Fireball
Date : Thu Feb 07 2013 09:34 pm
> Re: Re: I have an Idea
> By: Fireball to echicken on Thu Feb 07 2013 18:09:38
>
> Fi> Very good point! There is a javascript jabber library already out
> Fi> there;
https://github.com/sstrigler.
>
> I'll take a look at that. Depending on what it was written for, it may or
> may not translate well for our purposes.
>
> Fi> The problem I see with a client/client is there needs to be a server
> Fi> somewhere in there. Connecting directly to google's servers requires a
> Fi> google account for each bbs user. Now if one could figure out how to
> Fi> setup a jabber server with google talk access (not hard to do really),
> Fi> and import the users from sbbs so they could each use it to connect to
> Fi> the service via
[email protected], that'd be cool. Then the paging could be
> Fi> bidirectional.
>
> There are a few possibilities:
>
> Create a Jabber server for Synchronet, with the ability to federate with
> other (including Synchronet) Jabber servers. Your various IM clients could
> connect to this server. It would just use your existing user DB. There
> could maybe be some sort of interBBS contact list population.
>
I read that since JSON doesn't support namespaces, the XMPP protocol would be
pretty complex, if not impossible, to implement for it. Another option would
be to make a plugin for something like ejabberd to hit the sbbs user database
for authentication.
> Just use Google Talk, with one account for your BBS. When a user "pages"
> you on the BBS, this account logs in and sends you a message, eg.
> "<username> is paging you for chat." You'd just need to read that message
> to know who is using your BBS' Jabber account at a given time. Granted if
> more than one person paged you at once, this could get confusing.
>
Possible, but meh. I'd just as soon have different chat windows for different
users.
> Some sort of magical gating between your BBS' existing IRC server and your
> IM protocol of choice.
>
Interesting thought. It might blur the lines a little much for my tastes.
> For direct user to user interBBS paging, there are other possibilities and
> the whole Jabber thing isn't entirely necessary, not that it wouldn't work.
> MCMLXXIX and I have some JSON-service stuff in place on our systems for
> this, and it works nicely.
>
There is already a interBBS IM chat, just not a paging system. Could it be
possible to modify the existing service to a) allow for an external client to
connect and wait for pages b) allow for an initiation of text chat via that
client?
I know a little about python (it's been a long time since I messed with it)
and almost nothing about javascript. It would be nice to see some support for
python in sbbs as well (even if via a 'shim'). It's not near as hard to learn
and also very powerful. :)
Fireball
---
� Synchronet � Fireball Express!!! BBS -
http://fireballex.com telnet://fireballex.com