App::Alice(3pm) | User Contributed Perl Documentation | App::Alice(3pm) |
App::Alice - an Altogether Lovely Internet Chatting Experience
arthur:~ leedo$ alice Location: http://localhost:8080/
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.
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.
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 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!
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 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.
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.
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', },
/wc and /part are aliases for /close
/query is an alias for /msg
/raw is an alias for /quote
e.g. * lee hits clint with a large trout
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.
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.
Copyright 2010 by Lee Aylward <leedo@cpan.org>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2018-05-07 | perl v5.26.2 |