forked from nchowning/multinotify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
90 lines (74 loc) · 3.79 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
_ _ _ _ _ __
| | | (_) | | (_)/ _|
_ __ ___ _ _| | |_ _ _ __ ___ | |_ _| |_ _ _
| '_ ` _ \| | | | | __| | '_ \ / _ \| __| | _| | | |
| | | | | | |_| | | |_| | | | | (_) | |_| | | | |_| |
|_| |_| |_|\__,_|_|\__|_|_| |_|\___/ \__|_|_| \__, |
__/ |
|___/
***************************************************************
Description: A set of scripts (server, irssi client, desktop client) that work together to send and receive notifications from irssi.
http://prowlapp.com/
Version: 1.0
Author: Nathan Chowning (nathanchowning@me.com)
######
# The multinotify-irssi.pl script is based on my irssi-prowl-notifier script which is based on
# fnotify created by Thorsten Leemhuis
# http://www.leemhuis.info/files/fnotify/
######
_ _ ___ __ _ __ _ ___
| | | / __|/ _` |/ _` |/ _ \
| |_| \__ \ (_| | (_| | __/
\__,_|___/\__,_|\__, |\___|
__/ |
|___/
***************************************************************
This script requires the following perl modules:
Gtk2::Notify or Cocoa::Growl
WebService::Prowl (Not yet, but soon)
IO::Socket::SSL (Not yet, but soon)
SETTING UP THE SERVER:
-Edit multinotify-server.pl and add the listening IP address as well as the listening port
-The default number of connections is 5 you can change that by modifying the "Listen" value
-Be sure that you're not blocking access to the port that you decide to use
Once the server is setup, run it with the following command:
perl multinotify-server.pl
SETTING UP THE IRSSI CLIENT:
-Edit multinotify-irssi.pl to change $IPADDRESS and $PORT variable values to match the
values set in multinotify-server.pl
Once you've edited it, copy it to ~/.irssi/scripts/ and execute the following command inside
of irssi:
/script load multinotify-irssi.pl
SETTING UP THE DESKTOP CLIENT:
-Edit multinotify-client.pl to change $IPADDRESS and $PORT variable values to match the
values set in multinotify-server.pl
-You'll need to have Gtk2::Notify (Linux) or Cocoa::Growl (Mac) on the computer that
you'll be running this on
Once you've edited it, run it with:
perl multinotify-client.pl
_ _
| | | |
| |_ ___ __| | ___
| __/ _ \ / _` |/ _ \
| || (_) | (_| | (_) |
\__\___/ \__,_|\___/
***************************************************************
-Figure out what characters are causing random freezing and strip/escape them
-Fix the desktop client issue involving long periods of inactivity
-Use IO::Socket::SSL rather than IO::Socket::INET to secure the data
-Add support for snarl to the desktop client
-Add support to the server to automatically send missed notifications to prowl
_
| |
___| |__ __ _ _ __ __ _ ___ ___
/ __| '_ \ / _` | '_ \ / _` |/ _ | __|
| (__| | | | (_| | | | | (_| | __|__ \
\___|_| |_|\__,_|_| |_|\__, |\___|___/
__/ |
|___/
***************************************************************
VERSION 1.0:
-Removed use of IO::Select from the server in favor of creating a new thread for
receiving clients
-Updated the Desktop client to use Cocoa::Growl as opposed to Mac::Growl as
Mac::Growl does not play well with 64-bit OS X.