/usr/share/perl5/App/Alice.pod is in alice 0.19-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 | =pod
=head1 NAME
App::Alice - an Altogether Lovely Internet Chatting Experience
=head1 SYNPOSIS
arthur:~ leedo$ alice
Location: http://localhost:8080/
=head1 DESCRIPTION
Alice is an IRC client that is viewed in the web browser. Alice
runs in the background maintaining connections and collecting
messages. When a browser connects, it will display the 100 most
recent messages for each channel, and update with any new messages
as they arrive.
Alice also logs messages to an SQLite database. These logs are
searchable through the web interface.
=head1 USAGE
Installation will add a new `alice` command to start the alice
server. When the command is run it will start the daemon and print
the URL to load in your browser.
=head2 COMMANDLINE OPTIONS
=over 4
=item -d --debug
Print out additional debug information. Useful for development or
finding out if something is wrong.
=item -p --port
This will change the port that the HTTP server listens on. The
default port is 8080.
=item -a --address
This will change the IP address that the HTTP server listens on.
The default address is 127.0.0.1. That means alice only accepts
local connections by default. If you want to connect to alice
remotely you should change it to the IP you want to listen on, or
0.0.0.0 to listen on all addresses.
=back
=head1 CONFIGURATION
Most of alice can be configured through the web interface. There
are two windows that can be used to alter the configuration,
Connections and Preferences. To bring up either of these windows
click the gear icon in the bottom right hand corner of the page.
This B<should> bring up the new window. Some browsers (specifically
Chrome) will block this popup by default. If it doesn't appear make
sure that you allow popups!
=head2 CONNECTION WINDOW
The connection window is used to add or remove servers. It should be
familiar if you have ever used an IRC client (and I assume you have.)
The only difference of note is the "Avatar" field. In reality, this field
just sets the B<realname>. Alice abuses this field to get avatars for users.
If a user has an image URL or an email address as their realname, alice
will display the image next too their messages. This feature can be disabled
in the Preferences window.
=head2 PREFERENCES WINDOW
The Preferences window can be used to set configuration options that
are not connection specific. You can toggle the use of avatars, timestamps,
and notifications. You can also edit a list of highlightable terms.
=head2 HTTP AUTHENTICATION
Some configuration options do not have a UI yet. The most notable
of these options is HTTP authentication. If you would like to use
HTTP authentication, you will have to edit your configuration file
by hand. You can find this file at ~/.alice/config.
The config is simply a perl hash. So, if you are familiar with perl it
should not be too intimidating. If you do not know perl, sorry! :)
You will need to add "user" and "pass" values to the "auth" hash.
The resulting section of configuration might look like this:
'auth' => {
'user' => 'lee',
'pass' => 'mypassword',
},
=head1 COMMANDS
=over 4
=item /j[oin] [-network] $channel
Takes a channel name as an argument, and an optional network flag.
If no network flag is provided, it will use the network of the
current tab.
=item /close
Closes the current tab. If used in a channel it will also part the
channel.
B</wc> and B</part> are aliases for /close
=item /clear
This will clear the current tab's messages from your browser. It
will also clear the tab's message buffer so when you refresh your
browser the messages won't re-appear.
=item /msg [-network] <nick> [<msg>]
Takes a nick as an argument and an optional network flag. If no
network flag is provided, it will use the network of the current
tab. A third argument may be used for the message text. If no message
text is provided, a blank tab will be opened.
B</query> is an alias for /msg
=item /whois [-force] <nick>
Takes a nick as an argument and an optional force flag. This will
print some information about the supplied user. If the force flag
is provided, the information will be refreshed from the server.
=item /quote <command>
Sends a string as a raw message to the server.
B</raw> is an alias for /quote
=item /t[opic] [<topic>]
Takes an optional topic string. This will display the topic for the
current tab. If a string is supplied, it will attempt to update
the channel's topic. Only works in a channel.
=item /n[ames] [-avatars]
This will print a table of all of the nicks in the current tab. An
optional avatars flag can be provided to include avatars.
=item /me <action>
Sends a string as an action to the channel.
e.g. * lee hits clint with a large trout
=item /w[indow] <number>
Focus the provided tab number. Also accepts "next" or "prev". The
space after the w can be ommited (e.g. /w4 to focus window 4.)
=item /connect <network>
Connect to a network. The network must be the name of a server from
the Connections window. If you are already connected to the network
it will do nothing.
=item /disconnect <network>
Disconnect from a network. The network must be the name of a server
from the Connections window. This command will also stop any reconnect
timers for that network.
=item /ignore <nick>
Ignore any nick that matches the one provided. B<This applies across
all networks.>
=item /ignores
List all active ignored nicks.
=item /unignore <nick>
Unignore a nick.
=back
=head1 NOTIFICATIONS
If you get a message with your nick in the body while no browsers
are connected, a notification will be sent using either Growl (if
running on OS X) or libnotify (on Linux.)
You can add additional patterns to highlight in the Preferences
window.
If you are using Fluid.app (a SSB for OS X) or Chrome you can also
get notifications when the window is unfocused.
=head1 MOBILE INTERFACE
Alice has an iPhone style sheet, but it may work in other mobile
browsers as well. Any help or bug reports would be much appreciated.
=head1 COPYRIGHT
Copyright 2010 by Lee Aylward E<lt>leedo@cpan.orgE<gt>
This program is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
=cut
|