2012-05-05 13:47:40 +00:00
|
|
|
Poezio plugins
|
|
|
|
==============
|
|
|
|
|
|
|
|
Starting from the 0.7.5 version, poezio supports plugins.
|
|
|
|
Here is a quick howto and a plugin index.
|
|
|
|
|
|
|
|
|
|
|
|
Setting up plugins
|
|
|
|
------------------
|
|
|
|
Poezio seeks the plugins in the _~/.local/share/poezio/plugins/_ dir (more
|
|
|
|
generally, the _$XDG_DATA_HOME/poezio/plugins/_ dir), but that can be changed
|
|
|
|
by setting the _plugins_dir_ option in the
|
|
|
|
link:../configure.html[configuration file] to the directory where you want to
|
|
|
|
put your plugins.
|
|
|
|
|
2012-10-23 01:02:01 +00:00
|
|
|
This means that if you want to use a plugin, you have to copy it (the .py file or the directory) into _plugins_dir_.
|
|
|
|
|
2012-05-05 13:47:40 +00:00
|
|
|
|
|
|
|
Plugins autostart
|
|
|
|
-----------------
|
|
|
|
Use the _plugins_autoload_ option (from the
|
|
|
|
link:../configure.html[configuration file]) to select which plugins should be
|
|
|
|
loaded on startup. The value is a list of plugin names separated by spaces,
|
|
|
|
e.g.
|
|
|
|
|
|
|
|
.plugins_autoload example
|
|
|
|
---------
|
|
|
|
plugins_autoload = "gpg tell exec"
|
|
|
|
---------
|
|
|
|
|
|
|
|
Plugins configuration
|
|
|
|
---------------------
|
|
|
|
Most plugins will manage their configuration internally, and you do not (and
|
|
|
|
should not) have to edit it, but some (e.g. mpd_client or gpg) require manual
|
|
|
|
editing (the _/set_ command can be used, but it is not pleasant to set
|
|
|
|
multiple values with it).
|
|
|
|
|
|
|
|
The plugin configuration directory is located in _~/.config/poezio/plugins/_
|
|
|
|
(or _$XDG_CONFIG_HOME/poezio/plugins/_) and the file related to a specific
|
|
|
|
plugin is named _plugin_name.cfg_. The configuration options should usually be
|
|
|
|
inside a section named after the plugin (sections are delimited with _[]_).
|
|
|
|
|
|
|
|
.section example
|
|
|
|
--------------
|
|
|
|
[plugin_name]
|
|
|
|
key = value
|
|
|
|
other_key = other_value
|
|
|
|
--------------
|
|
|
|
|
|
|
|
|
|
|
|
Plugins index
|
|
|
|
-------------
|
|
|
|
|
|
|
|
[horizontal]
|
2012-05-05 17:51:48 +00:00
|
|
|
*Admin*:: link:admin.html[Room administration plugin]
|
2012-05-05 13:47:40 +00:00
|
|
|
|
|
|
|
Creates convenient aliases for MUC administration.
|
|
|
|
|
2012-05-05 17:51:48 +00:00
|
|
|
*Alias*:: link:alias.html[Custom aliases plugin]
|
|
|
|
|
|
|
|
Allows you to create your own aliases.
|
|
|
|
|
|
|
|
*Amsg*:: link:amsg.html[Message broadcast plugin]
|
2012-05-05 13:47:40 +00:00
|
|
|
|
|
|
|
Allows a message to be broadcasted on all the rooms your arein.
|
|
|
|
Caution: do not overuse.
|
|
|
|
|
2012-05-05 17:51:48 +00:00
|
|
|
*Day Change*:: link:day_change.html[Day change plugin]
|
2012-05-05 13:47:40 +00:00
|
|
|
|
|
|
|
Logs the day change inside the buffers, to keep track of the days when
|
|
|
|
backlogging.
|
|
|
|
|
2012-12-26 16:58:16 +00:00
|
|
|
*Display corrections*:: link:display_corrections.html[Display corrections
|
|
|
|
plugin]
|
|
|
|
|
|
|
|
Lists old versions of a corrected message.
|
|
|
|
|
2012-05-05 17:51:48 +00:00
|
|
|
*Exec*:: link:exec.html[System command plugin]
|
2012-05-05 13:47:40 +00:00
|
|
|
|
|
|
|
Runs a system command an optionally sends the output as a message.
|
|
|
|
|
2012-05-05 17:51:48 +00:00
|
|
|
*Figlet*:: link:figlet.html[Figlet plugin]
|
2012-05-05 13:47:40 +00:00
|
|
|
|
|
|
|
Ascii-art writing (requires the _figlet_ package on your system).
|
|
|
|
|
|
|
|
*GPG*:: link:gpg.html[GnuPG plugin]
|
|
|
|
|
|
|
|
Allows encrypted exchanges and presence signing using GnuPG.
|
|
|
|
|
|
|
|
*IQ Show*:: IQ showing plugin
|
|
|
|
|
|
|
|
Shows the received IQs, for debugging purposes.
|
|
|
|
|
2012-05-06 17:36:59 +00:00
|
|
|
*Link*:: link:link.html[Link opener plugin]
|
2012-05-05 13:47:40 +00:00
|
|
|
|
|
|
|
Opens links in a web browser, locally or remotely using a FIFO and SSH.
|
|
|
|
|
2012-05-05 17:51:48 +00:00
|
|
|
*MPD Client*:: link:mpd_client.html[MPD client plugin]
|
2012-05-05 13:47:40 +00:00
|
|
|
|
|
|
|
Sends the current song (and optionally the progress inside the song) to
|
|
|
|
the current (chat) tab.
|
|
|
|
|
|
|
|
*OTR*:: link:otr.html[Off-The-Record plugin]
|
|
|
|
|
|
|
|
Allows encrypted and deniable exchanges using OTR.
|
|
|
|
|
2012-05-06 20:09:27 +00:00
|
|
|
*PacoKick*:: link:pacokick.html[Random kick plugin]
|
2012-05-05 13:47:40 +00:00
|
|
|
|
|
|
|
Kicks a random user in the room.
|
|
|
|
|
2012-05-06 20:09:27 +00:00
|
|
|
*Ping*:: link:ping.html[XMPP Ping plugin]
|
2012-05-05 13:47:40 +00:00
|
|
|
|
|
|
|
Sends a ping probe to an entity (XEP-0199)
|
|
|
|
|
2012-05-06 20:09:27 +00:00
|
|
|
*Quote*:: link:quote.html[Quoting plugin]
|
2012-05-05 13:47:40 +00:00
|
|
|
|
|
|
|
Adds a /quote command to quote a message at HH:MM:SS and put it in the
|
|
|
|
input (to prevent painful copy/pastes).
|
|
|
|
|
2012-05-05 17:51:48 +00:00
|
|
|
*Rainbow*:: link:rainbow.html[Rainbow plugin]
|
2012-05-05 13:47:40 +00:00
|
|
|
|
|
|
|
Sends your messages in rainbow colors using XHTML-IM.
|
|
|
|
|
2012-05-06 20:09:27 +00:00
|
|
|
*Reminder*:: link:reminder.html[Reminder plugin]
|
2012-05-05 13:47:40 +00:00
|
|
|
|
|
|
|
Reminds you to do something every now and then.
|
|
|
|
|
2012-05-06 20:09:27 +00:00
|
|
|
*Screen Detach*:: link:screen_detach.html[Screen status plugin]
|
2012-05-05 13:47:40 +00:00
|
|
|
|
|
|
|
Changes your status to _away_ if the screen poezio is in is detached.
|
|
|
|
|
2012-05-05 16:31:33 +00:00
|
|
|
*Simple notify*:: link:simple_notify.html[Simple notification plugin]
|
|
|
|
|
|
|
|
Sends a notification with a command of your choice on (non-MUC) messages.
|
|
|
|
|
2012-05-06 20:09:27 +00:00
|
|
|
*Status*:: link:status.html[Status aliases plugin]
|
2012-05-05 13:47:40 +00:00
|
|
|
|
|
|
|
Adds convenient aliases to /status (/away, etc).
|
|
|
|
|
2012-05-06 20:09:27 +00:00
|
|
|
*Tell*:: link:tell.html[Automated delayed messages plugin]
|
2012-05-05 13:47:40 +00:00
|
|
|
|
|
|
|
Tells a message to a nick when he connects to a MUC.
|
|
|
|
|
2012-05-06 20:09:27 +00:00
|
|
|
*Uptime*:: link:uptime.html[Uptime plugin]
|
2012-05-05 13:47:40 +00:00
|
|
|
|
|
|
|
Gets the uptime of a XMPP server or a component.
|
|
|
|
|
2012-07-07 03:12:48 +00:00
|
|
|
*Replace*:: link:replace.html[Replace plugin]
|
2012-05-05 13:47:40 +00:00
|
|
|
|
2012-07-07 03:12:48 +00:00
|
|
|
Replace some patterns in your messages.
|
2012-12-17 04:04:17 +00:00
|
|
|
|
2012-12-17 12:51:28 +00:00
|
|
|
*Time Marker*:: link:time_marker.html[Time marker plugin]
|
2012-12-17 04:04:17 +00:00
|
|
|
|
|
|
|
Display the time between two messages.
|
|
|
|
|