danopia / bubblegum

HTML5 communications system; znc on drugs
5 stars 1 forks source link

IRC interface #2

Open duckinator opened 11 years ago

duckinator commented 11 years ago

Quick idea for using bubblegum as a "normal" IRC server:

Initial connection

Enabling IRCv3 CAPs

All CAP requests must be done before logging in, followed by a CAP END -- also before logging in.

The server CAP.

Client:

CAP REQ :server

Server, if it supports this CAP:

CAP * ACK :server

This enables the SERVER command, which is explained later.

Logging into your bubblegum account

Once you've finished any CAP requests, you can authenticate by doing the following -- with "password" being your bubblegum password, and "username" being your bubblegum username:

PASS password
NICK username

After that, if the server CAP was not enabled you must send the following -- with "server-ident" being bubblegum's ID for the server:

USER server-ident * * :*
duckinator commented 11 years ago

Example client connection: https://gist.github.com/3530686

(So I don't lose that link)

danopia commented 11 years ago

Got any more spec?

duckinator commented 11 years ago

Not right now. I won't be able to help with much of the actual programming for the next week or two, but I'll try to finish up the spec at least.

danopia commented 11 years ago

Thanks, I don't care muhc you code, but having a spec written lets me do some code at least :)

Thanks, -- Daniel Lamando dan@danopia.net http://danopia.net/

On Thu, Sep 6, 2012 at 3:23 PM, Nick Markwell notifications@github.comwrote:

Not right now. I won't be able to help with much of the actual programming for the next week or two, but I'll try to finish up the spec at least.

— Reply to this email directly or view it on GitHubhttps://github.com/danopia/bubblegum/issues/2#issuecomment-8331784.