summaryrefslogtreecommitdiff
path: root/doc/en/plugins/index.txt
blob: a6ce119115c40ed56a87c9b19d8ae3f1ceea18e4 (plain)
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
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.


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]
*Admin*:: link:admin.html[Room administration plugin]

    Creates convenient aliases for MUC administration.

*Alias*:: link:alias.html[Custom aliases plugin]

    Allows you to create your own aliases.

*Amsg*:: link:amsg.html[Message broadcast plugin]

    Allows a message to be broadcasted on all the rooms your arein.
    Caution: do not overuse.

*Day Change*:: link:day_change.html[Day change plugin]

    Logs the day change inside the buffers, to keep track of the days when
    backlogging.

*Exec*:: link:exec.html[System command plugin]

    Runs a system command an optionally sends the output as a message.

*Figlet*:: link:figlet.html[Figlet plugin]

    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.

*Link*:: link:link.html[Link opener plugin]

    Opens links in a web browser, locally or remotely using a FIFO and SSH.

*MPD Client*:: link:mpd_client.html[MPD client plugin]

    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.

*PacoKick*:: Random kick plugin

    Kicks a random user in the room.

*Ping*:: XMPP Ping

    Sends a ping probe to an entity (XEP-0199)

*Quote*:: Quoting plugin

    Adds a /quote command to quote a message at HH:MM:SS and put it in the
    input (to prevent painful copy/pastes).

*Rainbow*:: link:rainbow.html[Rainbow plugin]

    Sends your messages in rainbow colors using XHTML-IM.

*Reminder*:: Reminder plugin

    Reminds you to do something every now and then.

*Screen Detach*:: Screen status plugin

    Changes your status to _away_ if the screen poezio is in is detached.

*Simple notify*:: link:simple_notify.html[Simple notification plugin]

    Sends a notification with a command of your choice on (non-MUC) messages.

*Status*:: Status aliases

    Adds convenient aliases to /status (/away, etc).

*Tell*:: Automatic delayed messages

    Tells a message to a nick when he connects to a MUC.

*Translate*:: Translation plugin

    Translates everything that is said in the poezio room into english (useful
    for non-french speakers). Can of course be tweaked to apply to other rooms.

*Uptime*:: Uptime plugin

    Gets the uptime of a XMPP server or a component.