alexyoung / ircd.js

A Node ircd (IRC daemon)
GNU General Public License v3.0
528 stars 90 forks source link

ircd -> socket.io -> php-based chat #81

Closed IngwiePhoenix closed 10 years ago

IngwiePhoenix commented 10 years ago

Hey. I am just asking for some advice here:

My site runs an instance of AJAX-Chat and its a dedicated server to which I have root access. So, I want to implement a bridge between the chats:

My goal: when someone connects to the IRC daemon, it joins the socket.io stream and issues chatsrv-receive when somebody sends a message from their client to the demon and also sends new messages that were written in the chat to the irc clients.

Is this posible with ircd?

Kind regards, Ingwie.

sespindola commented 10 years ago

Hi, You would have to use an irc client library in php to talk to ircd.js, since it doesn't have websockets support.

You could check https://github.com/thedjpetersen/subway for inspiration.

Regards, Sebastian.

Zayelion commented 10 years ago

Is there a technical reason why it doesn't seems like an extremely strange thing not to have considering the project is written in JavaScript.

neiltron commented 10 years ago

Along with Subway, you could also checkout https://github.com/erming/shout for ideas on implementing your web client.