-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
32 lines (22 loc) · 1.07 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
IRC-LiveBlog
The idea of this project is to allow a webpage to be updated
in realtime with the contents of an IRC channel.
The original inspiration was the LOPSA-Live meetings of the
League of Professional System Administrators (http://lopsa.org)
The key files are irc.php, which includes the code for connecting
to IRC, creating the AMQP exchange, and sending IRC updates to it.
Also necessary is filewriter.php, which reads the queue and
creates an array, then writes JSON output to the flat file, which
is eventually fed into the browser by the target.html page.
Requirements
------------
Net_SmartPHP (http://pear.php.net/package/Net_SmartIRC/)
AMQP Broker (I used RabbitMQ (http://www.rabbitmq.com/))
amqp library in PECL (http://pecl.php.net/package/amqp)
Installation
------------
Basically, move target.html wherever you want, adjust it to
point to wherever you want the json output file to live, and
that's about it, other than running irc.php prior to filewriter.php
so that the exchange can be created.
This software is very...fresh. Forgive it of its weaknesses.