[Freedombox-discuss] chat over websockets

Melvin Carvalho melvincarvalho at gmail.com
Fri Jan 4 17:03:23 UTC 2013


On 4 January 2013 17:48, Jonas Smedegaard <dr at jones.dk> wrote:

> Quoting Melvin Carvalho (2013-01-04 16:32:12)
> > I came across this nice tutorial that shows you how to run chat over
> > websockets
> >
> > [1]http://martinsikora.com/nodejs-and-websocket-simple-chat-tutorial
> >
> > I added this to my freedombox in about 30 minutes including installing
> > nodejs, opening ports, adding WebID integration
> >
> > Presently, it's one big chat room, but I may add multiple channels,
> > encryption, an nicer UI and other good stuff
>
> Sounds quite interesting!
>
> Sounds like next step would be to distill which Nodejs libraries are
> missing in Debian unstable, and file RFP or ITP bugreports for them.
>
> Hint: When reportbug asks you for eventual additional email address to
> include into the bugreport, I suggest to include this email address:
>
> Debian Javascript Maintainers <
> pkg-javascript-devel at lists.alioth.debian.org>
>
> That way (assuming you file an RFP bugreport) you raise awareness of
> that bugreport among those generally interested in maintaining
> Javascript projects for Debian.
>

Thanks for the tips!

I changed the code to support multiple chat rooms as follows

- ServerAlias *.host  -- in apache conf

- change the variable history to be history[origin]

- change the variable clietns to be clients[origin]

Is working really quite nicely.  I havent baked in encryption, but it could
be easily added via AES say and a bookmarklet or greasemonkey script...


>
>
> Regards,
>
>  - Jonas
>
> Member of the javascript team, and eagerly awaiting suggestions for
> libraries needed for semantic chat tools!
>
> --
>  * Jonas Smedegaard - idealist & Internet-arkitekt
>  * Tlf.: +45 40843136  Website: http://dr.jones.dk/
>
>  [x] quote me freely  [ ] ask before reusing  [ ] keep private
>
> _______________________________________________
> Freedombox-discuss mailing list
> Freedombox-discuss at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/freedombox-discuss/attachments/20130104/eef61adb/attachment-0001.html>


More information about the Freedombox-discuss mailing list