Skip to content

AnthonyMyatt/IRC-2-HTTP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

+----------------------------------------------------------+
|  _____ _____   _____ ___  _    _ _______ _______ _____   |
| |_   _|  __ \ / ____|__ \| |  | |__   __|__   __|  __ \  |
|   | | | |__) | |       ) | |__| |  | |     | |  | |__) | |
|   | | |  _  /| |      / /|  __  |  | |     | |  |  ___/  |
|  _| |_| | \ \| |____ / /_| |  | |  | |     | |  | |      |
| |_____|_|  \_\\_____|____|_|  |_|  |_|     |_|  |_|      |
|                                                          |
+----------------------------------------------------------+
| Contents                                                 |
|   1. Introduction                                        |
|   2. License                                             |
|   3. File Structure                                      |
|   4. Installation                                        |
|      a) Proxy                                            |
|      b) Client                                           |
|   5. Configuration                                       |
|      a) Proxy                                            |
|      b) Client                                           |
+----------------------------------------------------------+
| 1. Intruduction                                          |
|                                                          |
| IRC-2-HTTP is made up of two components;                 |
|   Proxy: The server creates an IRC session for every     |
|          user connected to it. It will relay commands    |
|          it recognises to the IRC server, including the  |
|          raw command. It will also translate the         |
|          incoming messages it recognises to json         |
|          commands. The incoming messages that it doesn't |
|          recognise will be relayed to the client as raw  |
|          messages. (The server is single threaded)       |
|  Client: The client polls the server for new messages    |
|          and sends messages via json commands.           |
+----------------------------------------------------------+
| 2. License                                               |
|                                                          |
| Proxy  - copyright (c) 2011 - Khaled Hawas               |
| Client - copyright (c) 2011 - Anthony Myatt              |
|                                                          |
| Both are released under the GPL license. A copy of the   |
| license is included and can also be found at the gnu     |
| website (http://www.gnu.org/licenses/gpl.html).          |
+----------------------------------------------------------+
| 3. File Structure                                        |
|                                                          |
| Proxy                                                    |
|     |                                                    |
|     +-src     (main source)                              |
|     |                                                    |
|     +-socket  (c++ sockets source)                       |
|                                                          |
| Client                                                   |
|      |                                                   |
|      +-images                                            |
|      |                                                   |
|      +-scripts (required javascript files)               |
|      |                                                   |
|      +-css     (css style files)                         |
+----------------------------------------------------------+
| 4. Installation                                          |
|                                                          |
|    a) Proxy                                              |
|                                                          |
| i.   cd into the socket directory                        |
| ii.  run make                                            |
| iii. run make install                                    |
|                                                          |
|    b) Client                                             |
|                                                          |
| i. copy the contents of the client directory to your web |
|    servers public_html directory and make sure the files |
|    have the required permissions.                        |
+----------------------------------------------------------+
| 5. Configuration                                         |
|                                                          |
|    a) Proxy                                              |
|                                                          |
| The configuration file (irc2http.conf) has a few values  |
| that can be chaned; some of these must be changed before |
| irc2http will work.                                      |
|                                                          |
|    b) Client                                             |
|                                                          |
| Like the proxy there is a configuration file (config.js) |
| that has values that need to be changed before irc2http  |
| will work and others that can be adjusted if needed.     |
+----------------------------------------------------------+

About

IRC-2-HTTP is made up of a server (proxy) and a client. The client uses AJAX calls to interact with the proxy which keeps a connection open to an IRC server. This allows for great AJAX IRC clients.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors