Facebook chat clone

640 views
Skip to first unread message

Szymon Nowak

unread,
Aug 15, 2011, 4:55:02 PM8/15/11
to str...@googlegroups.com
Hi,

I've started working on Facebook chat clone using Strophe and Sproutcore 2. The repo is at https://github.com/szimek/xmpp-chat and I prepared a short screencast to show its current state http://screencast.com/t/4NmJsBccag0 

It's not very interesting from XMPP point of view at the moment, but I've got plans on using MUC for 1-to-1 chats, attaching to existing sessions etc. It was mainly written as a way to learn Sproutcore, but maybe somebody here will find it helpful anyway.

Cheers,
Szymon

Jack Moffitt

unread,
Feb 5, 2012, 6:27:12 PM2/5/12
to str...@googlegroups.com

Wow, this looks really good!

jack.

Dhaval

unread,
Aug 1, 2012, 3:32:05 PM8/1/12
to str...@googlegroups.com
how can i run this in local pc ?

Dhaval

unread,
Aug 1, 2012, 3:32:54 PM8/1/12
to str...@googlegroups.com
i have install openfire + iis 7

let me know how can i run this chat ?


On Tuesday, August 16, 2011 2:25:02 AM UTC+5:30, Szymon Nowak wrote:

Szymon Nowak

unread,
Aug 1, 2012, 4:07:04 PM8/1/12
to str...@googlegroups.com
Hi,

it's more or less described in the README (https://github.com/szimek/xmpp-chat#installation).

If you have openfire with BOSH extension already configured, you'll just need to install Node.js (http://nodejs.org) - I have no idea how it works on Windows :) Once you have Node.js installed, run "npm install" to install web/proxy server dependencies and then run "node server.js" to start it on localhost:9677.

Hope this helps,
Szymon

Jordan Lance

unread,
Sep 5, 2012, 6:54:26 PM9/5/12
to str...@googlegroups.com

Big thumbs up!

For a small app im writing this is exactly what I was looking for,
not that much of a node guru but more than good at jquery I could contribute to this project if you are interested.

There are some features that would be nice to implement but the basics like this is already very very cool! *respects*
Some things on my wishlist

- other using typing notification
- smiley support converting ;) :P etc to smiley iconset
- not able to add 
- a method to load in user avatar image resource from a certain location
- facebook like "search for users " see http://mini.jappix.com
- load avatars in friendlist also

Im not sure how far my personal wishlist matches your goals, I like the facebook basics but need some personal modifications like avatars
again big respects nice code clean for me as to learn a great start and save some time!  What license do you hook onto your project? I want to use it in non-commercial webapplication.

Greetings from holland, 
Jordan

Szymon Nowak

unread,
Sep 6, 2012, 1:18:48 PM9/6/12
to str...@googlegroups.com
Hi Jordan,


On Thursday, 6 September 2012 00:54:26 UTC+2, Jordan Lance wrote:

For a small app im writing this is exactly what I was looking for,
not that much of a node guru but more than good at jquery I could contribute to this project if you are interested.

Sure!
 

There are some features that would be nice to implement but the basics like this is already very very cool! *respects*
Some things on my wishlist

- other using typing notification

Not really sure what you mean by that. Show info when other user is typing?
 
- smiley support converting ;) :P etc to smiley iconset

Good idea. I'm just not sure if it should simply provide its own icon set and parse messages for strings like ":)" locally or maybe use some extension (e.g. XEP 0231)
 
- not able to add 

Something is probably missing here :)
 
- a method to load in user avatar image resource from a certain location

It might be good idea to use XMPP extension for that (e.g. XEP 0084 or 0153)
 
- facebook like "search for users " see http://mini.jappix.com

Sure.
 
- load avatars in friendlist also

Sure.
 

Im not sure how far my personal wishlist matches your goals, I like the facebook basics but need some personal modifications like avatars
again big respects nice code clean for me as to learn a great start and save some time!  What license do you hook onto your project? I want to use it in non-commercial webapplication.

Regarding the license - it uses MIT one and I've just added info about it to the readme file.

Personally I'd like to update the code to use EmberJS 1.0 (pre) to see how it has changed and what can it do now :) There are also some issues on GitHub with features that I wanted to implement (e.g. MUC for 1 to 1 chat, group chat, reopening tabs on page reload etc). Currently I don't have much time to work on it (although I really hope to find some time to update it to EmberJS 1.0), so feel free to contribute! :)
 

Greetings from holland, 
Jordan


Cheers,
Szymon

obruening

unread,
Oct 6, 2012, 5:35:33 AM10/6/12
to Strophe
looks great. what happens if the user refreshes the page? is the
connection then still available? this is the way facebook works. i
have no idea how they manage this problem.
Reply all
Reply to author
Forward
0 new messages