2014-02-20 00:32:25 +00:00
|
|
|
.. _plugins-doc:
|
|
|
|
|
2013-04-12 21:34:11 +00:00
|
|
|
Plugins
|
|
|
|
=======
|
|
|
|
|
|
|
|
Starting from the 0.7.5 version, poezio supports plugins.
|
|
|
|
Here is a quick howto and a plugin index.
|
|
|
|
|
|
|
|
|
|
|
|
Setting up plugins
|
|
|
|
------------------
|
|
|
|
|
2013-05-11 16:38:12 +00:00
|
|
|
|
2013-04-12 21:34:11 +00:00
|
|
|
Poezio seeks the plugins in the :file:`~/.local/share/poezio/plugins/` dir (more
|
|
|
|
generally, the :file:`$XDG_DATA_HOME/poezio/plugins/` dir), but that can be changed
|
|
|
|
by setting the :term:`plugins_dir` option to the directory where you want to
|
|
|
|
put your plugins.
|
|
|
|
|
2013-05-11 16:38:12 +00:00
|
|
|
By default, poezio will also seek the plugins in :file:`../plugins`, in the source
|
|
|
|
directory, in order to always load the latest versions. You should put a plugin
|
|
|
|
in :file:`$XDG_DATA_HOME/poezio/plugins` only if you have a custom version (that
|
|
|
|
will override the one in :file:`../plugins`), or if it is a plugin you made.
|
2013-04-12 21:34:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
Plugin autoload
|
|
|
|
---------------
|
|
|
|
|
2016-10-04 22:26:37 +00:00
|
|
|
Use the :term:`plugins_autoload` option to select which plugins should be
|
2013-04-12 21:34:11 +00:00
|
|
|
loaded on startup. The value is a list of plugin names separated by colons,
|
|
|
|
e.g.
|
|
|
|
|
|
|
|
.. code-block:: ini
|
|
|
|
|
2018-08-08 22:29:13 +00:00
|
|
|
plugins_autoload = tell:exec
|
2013-04-12 21:34:11 +00:00
|
|
|
|
2014-03-27 23:15:31 +00:00
|
|
|
Manual plugin load
|
|
|
|
------------------
|
|
|
|
|
|
|
|
Plugins can of course be loaded with the command :term:`/load` and unloaded
|
|
|
|
with the command :term:`/unload`.
|
|
|
|
|
2013-04-13 20:33:06 +00:00
|
|
|
.. _plugin-configuration:
|
|
|
|
|
2013-04-12 21:34:11 +00:00
|
|
|
Plugin configuration
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
Most plugins will manage their configuration internally, and you do not (and
|
2018-08-08 22:29:13 +00:00
|
|
|
should not) have to edit it, but some (e.g. mpd_client) require manual
|
2013-04-12 21:34:11 +00:00
|
|
|
editing (the :term:`/set` command can be used, but it is not pleasant to set
|
|
|
|
multiple values with it).
|
|
|
|
|
|
|
|
The plugin configuration directory is located in :file:`~/.config/poezio/plugins/`
|
|
|
|
(or :file:`$XDG_CONFIG_HOME/poezio/plugins/`) and the file related to a specific
|
|
|
|
plugin is named :file:`plugin_name.cfg`. The configuration options should usually be
|
|
|
|
inside a section named after the plugin (sections are delimited with ``[]``).
|
|
|
|
|
|
|
|
.. code-block:: ini
|
|
|
|
|
|
|
|
[plugin_name]
|
|
|
|
key = value
|
|
|
|
other_key = other_value
|
|
|
|
|
|
|
|
Plugin index
|
|
|
|
------------
|
|
|
|
|
|
|
|
.. glossary::
|
2013-04-13 20:33:06 +00:00
|
|
|
:sorted:
|
2013-04-12 21:34:11 +00:00
|
|
|
|
|
|
|
Admin
|
|
|
|
:ref:`Documentation <admin-plugin>`
|
|
|
|
|
2016-10-03 22:26:54 +00:00
|
|
|
Creates convenient aliases for chatroom administration.
|
2013-04-12 21:34:11 +00:00
|
|
|
|
|
|
|
Alias
|
2013-04-13 20:33:06 +00:00
|
|
|
:ref:`Documentation <alias-plugin>`
|
2013-04-12 21:34:11 +00:00
|
|
|
|
|
|
|
Allows you to create your own aliases.
|
|
|
|
|
|
|
|
Amsg
|
2013-04-13 20:33:06 +00:00
|
|
|
:ref:`Documentation <amsg-plugin>`
|
2013-04-12 21:34:11 +00:00
|
|
|
|
|
|
|
Allows a message to be broadcasted on all the rooms your are in.
|
|
|
|
Caution: do not overuse.
|
|
|
|
|
2014-12-09 00:13:14 +00:00
|
|
|
Close all
|
|
|
|
:ref:`Documentation <closeall-plugin>`
|
|
|
|
|
2016-10-03 22:40:56 +00:00
|
|
|
Close all tabs except chatrooms and the contact list.
|
2014-12-09 00:13:14 +00:00
|
|
|
|
2018-10-12 20:32:13 +00:00
|
|
|
Contact
|
|
|
|
:ref:`Documentation <contact-plugin>`
|
|
|
|
|
|
|
|
Do a disco#info query on the JID and display the contact
|
|
|
|
addresses.
|
|
|
|
|
2016-06-05 11:48:04 +00:00
|
|
|
CSI
|
|
|
|
:ref:`Documentation <csi-plugin>`
|
|
|
|
|
|
|
|
Set the client state indication manually.
|
|
|
|
|
2015-05-11 21:35:47 +00:00
|
|
|
Cyber
|
|
|
|
:ref:`Documentation <cyber-plugin>`
|
|
|
|
|
|
|
|
Add a cybertouch to your messages.
|
|
|
|
|
2013-04-12 21:34:11 +00:00
|
|
|
Day Change
|
2013-04-13 20:33:06 +00:00
|
|
|
:ref:`Documentation <daychange-plugin>`
|
2013-04-12 21:34:11 +00:00
|
|
|
|
|
|
|
Logs the day change inside the buffers, to keep track of the days when
|
|
|
|
backlogging.
|
|
|
|
|
|
|
|
Display corrections
|
2013-04-13 20:33:06 +00:00
|
|
|
:ref:`Documentation <displaycorrections-plugin>`
|
2013-04-12 21:34:11 +00:00
|
|
|
|
|
|
|
Lists old versions of a corrected message.
|
|
|
|
|
2018-05-16 09:39:35 +00:00
|
|
|
Embed
|
|
|
|
:ref:`Documentation <embed-plugin>`
|
|
|
|
|
|
|
|
Send an URL annotating it as embedded.
|
|
|
|
|
2013-04-12 21:34:11 +00:00
|
|
|
Exec
|
2013-04-13 20:33:06 +00:00
|
|
|
:ref:`Documentation <exec-plugin>`
|
2013-04-12 21:34:11 +00:00
|
|
|
|
|
|
|
Runs a system command an optionally sends the output as a message.
|
|
|
|
|
|
|
|
Figlet
|
2013-04-13 20:33:06 +00:00
|
|
|
:ref:`Documentation <figlet-plugin>`
|
2013-04-12 21:34:11 +00:00
|
|
|
|
|
|
|
Ascii-art writing (requires the ``figlet`` package on your system).
|
|
|
|
|
|
|
|
IQ Show
|
2013-04-13 20:33:06 +00:00
|
|
|
:ref:`Documentation <iqshow-plugin>`
|
2013-04-12 21:34:11 +00:00
|
|
|
|
|
|
|
Shows the received IQs, for debugging purposes.
|
|
|
|
|
|
|
|
Link
|
2013-04-13 20:33:06 +00:00
|
|
|
:ref:`Documentation <link-plugin>`
|
2013-04-12 21:34:11 +00:00
|
|
|
|
|
|
|
Opens links in a web browser, locally or remotely using a FIFO and SSH.
|
|
|
|
|
|
|
|
MPD Client
|
2013-04-13 20:33:06 +00:00
|
|
|
:ref:`Documentation <mpdclient-plugin>`
|
2013-04-12 21:34:11 +00:00
|
|
|
|
|
|
|
Sends the current song (and optionally the progress inside the song) to
|
|
|
|
the current (chat) tab.
|
|
|
|
|
2020-02-16 15:27:50 +00:00
|
|
|
OMEMO
|
|
|
|
*Not distributed with Poezio.* See https://lab.louiz.org/poezio/poezio-omemo.
|
|
|
|
|
|
|
|
`Documentation <https://lab.louiz.org/poezio/poezio-omemo>`_
|
|
|
|
|
|
|
|
Allows for end-to-end encrypted exchanges using the OMEMO
|
|
|
|
mechanism.
|
|
|
|
|
2013-04-12 21:34:11 +00:00
|
|
|
OTR
|
2013-04-13 20:33:06 +00:00
|
|
|
:ref:`Documentation <otr-plugin>`
|
2013-04-12 21:34:11 +00:00
|
|
|
|
|
|
|
Allows encrypted and deniable exchanges using OTR.
|
|
|
|
|
|
|
|
PacoKick
|
2013-04-13 20:33:06 +00:00
|
|
|
:ref:`Documentation <pacokick-plugin>`
|
2013-04-12 21:34:11 +00:00
|
|
|
|
|
|
|
Kicks a random user in the room.
|
|
|
|
|
|
|
|
Ping
|
2013-04-13 20:33:06 +00:00
|
|
|
:ref:`Documentation <ping-plugin>`
|
2013-04-12 21:34:11 +00:00
|
|
|
|
|
|
|
Sends a ping probe to an entity (XEP-0199)
|
|
|
|
|
|
|
|
Quote
|
2013-04-13 20:33:06 +00:00
|
|
|
:ref:`Documentation <quote-plugin>`
|
2013-04-12 21:34:11 +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).
|
|
|
|
|
|
|
|
Rainbow
|
2013-04-13 20:33:06 +00:00
|
|
|
:ref:`Documentation <rainbow-plugin>`
|
2013-04-12 21:34:11 +00:00
|
|
|
|
|
|
|
Sends your messages in rainbow colors using XHTML-IM.
|
|
|
|
|
|
|
|
Reminder
|
2013-04-13 20:33:06 +00:00
|
|
|
:ref:`Documentation <reminder-plugin>`
|
2013-04-12 21:34:11 +00:00
|
|
|
|
|
|
|
Reminds you to do something every now and then.
|
|
|
|
|
|
|
|
Screen Detach
|
2013-04-13 20:33:06 +00:00
|
|
|
:ref:`Documentation <screendetach-plugin>`
|
2013-04-12 21:34:11 +00:00
|
|
|
|
2016-10-03 22:26:54 +00:00
|
|
|
Changes your status to **away** if the screen (or tmux) poezio is in
|
|
|
|
gets detached.
|
2014-03-27 22:45:47 +00:00
|
|
|
|
|
|
|
Send Delayed
|
|
|
|
:ref:`Documentation <senddelayed-plugin>`
|
|
|
|
|
|
|
|
Program the sending of futur messages.
|
2013-04-12 21:34:11 +00:00
|
|
|
|
|
|
|
Simple notify
|
2013-04-13 20:33:06 +00:00
|
|
|
:ref:`Documentation <simplenotify-plugin>`
|
2013-04-12 21:34:11 +00:00
|
|
|
|
2016-10-03 22:26:54 +00:00
|
|
|
Sends a notification with a command of your choice on (non-chatroom)
|
|
|
|
messages.
|
2013-04-12 21:34:11 +00:00
|
|
|
|
2013-05-06 19:42:53 +00:00
|
|
|
Spam
|
|
|
|
:ref:`Documentation <spam-plugin>`
|
|
|
|
|
|
|
|
Adds a subtle little advertising in your messages.
|
|
|
|
|
2013-04-12 21:34:11 +00:00
|
|
|
Status
|
2013-04-13 20:33:06 +00:00
|
|
|
:ref:`Documentation <status-plugin>`
|
2013-04-12 21:34:11 +00:00
|
|
|
|
|
|
|
Adds convenient aliases to /status (/away, etc).
|
|
|
|
|
|
|
|
Tell
|
2013-04-13 20:33:06 +00:00
|
|
|
:ref:`Documentation <tell-plugin>`
|
2013-04-12 21:34:11 +00:00
|
|
|
|
2016-10-03 22:26:54 +00:00
|
|
|
Sends a message to a nick when he connects to a chatroom.
|
2013-04-12 21:34:11 +00:00
|
|
|
|
|
|
|
Uptime
|
2013-04-13 20:33:06 +00:00
|
|
|
:ref:`Documentation <uptime-plugin>`
|
2013-04-12 21:34:11 +00:00
|
|
|
|
|
|
|
Gets the uptime of a XMPP server or a component.
|
|
|
|
|
2013-05-09 00:17:17 +00:00
|
|
|
Regex Admin
|
|
|
|
:ref:`Documentation <regex-admin-plugin>`
|
|
|
|
|
|
|
|
Add regex-based kick and ban commands.
|
|
|
|
|
2013-04-12 21:34:11 +00:00
|
|
|
Replace
|
2013-04-13 20:33:06 +00:00
|
|
|
:ref:`Documentation <replace-plugin>`
|
2013-04-12 21:34:11 +00:00
|
|
|
|
|
|
|
Replace some patterns in your messages.
|
|
|
|
|
|
|
|
Time Marker
|
2013-04-13 20:33:06 +00:00
|
|
|
:ref:`Documentation <timemarker-plugin>`
|
2013-04-12 21:34:11 +00:00
|
|
|
|
|
|
|
Display the time between two messages.
|
|
|
|
|
2015-01-03 22:09:43 +00:00
|
|
|
Reorder
|
|
|
|
:ref:`Documentation <reorder-plugin>`
|
|
|
|
|
|
|
|
Reorder the tabs according to a static layout.
|
|
|
|
|
2013-04-13 20:33:06 +00:00
|
|
|
Revstr
|
|
|
|
:ref:`Documentation <revstr-plugin>`
|
|
|
|
|
|
|
|
Reverse everything you say.
|
|
|
|
|
2014-12-08 16:49:31 +00:00
|
|
|
Pipe Command
|
|
|
|
:ref:`Documentation <pipecmd-plugin>`
|
|
|
|
|
|
|
|
Send commands to poezio through a named pipe.
|
|
|
|
|
2013-04-13 20:33:06 +00:00
|
|
|
Shuffle
|
|
|
|
:ref:`Documentation <shuffle-plugin>`
|
|
|
|
|
|
|
|
Shuffle everything you say.
|
|
|
|
|
|
|
|
Double
|
|
|
|
:ref:`Documentation <double-plugin>`
|
|
|
|
|
|
|
|
Double the first word of each sentence.
|
|
|
|
|
2013-09-06 14:05:58 +00:00
|
|
|
PointPoint
|
|
|
|
:ref:`Documention <pointpoint-plugin>`
|
|
|
|
|
|
|
|
Insert dots in your messages.
|
|
|
|
|
2013-11-28 20:22:17 +00:00
|
|
|
Autocorrect
|
|
|
|
:ref:`Documentation <autocorrect-plugin>`
|
|
|
|
|
|
|
|
Add new ways to correct messages.
|
|
|
|
|
2014-03-27 23:03:20 +00:00
|
|
|
IRC
|
|
|
|
:ref:`Documentation <irc-plugin>`
|
|
|
|
|
|
|
|
Manage IRC gateways with biboumi more easily
|
|
|
|
|
2014-04-30 19:55:19 +00:00
|
|
|
Title change
|
|
|
|
:ref:`Documentation <changetitle-plugin>`
|
|
|
|
|
|
|
|
Change the title of the terminal according to the name
|
|
|
|
of the current tab.
|
2013-11-28 20:22:17 +00:00
|
|
|
|
2016-07-04 23:15:04 +00:00
|
|
|
Marquee
|
|
|
|
:ref:`Documentation <marquee-plugin>`
|
|
|
|
|
|
|
|
Reproduce the behavior of the ``<marquee/>`` html tag.
|
|
|
|
|
2016-08-26 20:07:57 +00:00
|
|
|
Server Part
|
|
|
|
:ref:`Documentation <serverpart-plugin>`
|
|
|
|
|
|
|
|
Add a ``/server_part`` command.
|
|
|
|
|
2016-07-04 23:15:04 +00:00
|
|
|
Dice
|
|
|
|
:ref:`Documentation <dice-plugin>`
|
|
|
|
|
|
|
|
Roll one or several dice using message corrections.
|
2013-11-28 20:22:17 +00:00
|
|
|
|
2017-12-19 14:41:17 +00:00
|
|
|
Disco
|
|
|
|
:ref:`Documentation <disco-plugin>`
|
|
|
|
|
|
|
|
Add a ``/disco`` command to display the disco#info of a JID.
|
|
|
|
|
2016-08-28 17:47:52 +00:00
|
|
|
vCard
|
|
|
|
:ref:`Documentation <vcard-plugin>`
|
|
|
|
|
|
|
|
Add a ``/vcard`` command to retrieve and display a vCard.
|
|
|
|
|
2018-03-08 14:04:59 +00:00
|
|
|
Upload
|
|
|
|
:ref:`Documentation <upload-plugin>`
|
|
|
|
|
|
|
|
Add an ``/upload`` command to upload a file.
|
|
|
|
|
2021-02-08 22:35:25 +00:00
|
|
|
User Extras
|
|
|
|
:ref:`Documentation <userextras-plugin>`
|
|
|
|
|
|
|
|
Add /mood, /gaming, /activity
|
|
|
|
|
2013-04-13 20:33:06 +00:00
|
|
|
.. toctree::
|
|
|
|
:hidden:
|
|
|
|
|
|
|
|
admin
|
|
|
|
alias
|
|
|
|
amsg
|
|
|
|
day_change
|
|
|
|
display_corrections
|
2018-05-16 09:39:35 +00:00
|
|
|
embed
|
2013-04-13 20:33:06 +00:00
|
|
|
exec
|
|
|
|
figlet
|
|
|
|
link
|
|
|
|
mpd_client
|
|
|
|
otr
|
|
|
|
pacokick
|
|
|
|
ping
|
|
|
|
quote
|
|
|
|
rainbow
|
|
|
|
reminder
|
|
|
|
replace
|
|
|
|
screen_detach
|
|
|
|
send_delayed
|
|
|
|
simple_notify
|
2013-05-06 19:42:53 +00:00
|
|
|
spam
|
2013-04-13 20:33:06 +00:00
|
|
|
status
|
|
|
|
tell
|
|
|
|
time_marker
|
|
|
|
uptime
|
|
|
|
revstr
|
|
|
|
double
|
|
|
|
shuffle
|
|
|
|
iq_show
|
2013-05-09 00:17:17 +00:00
|
|
|
regex_admin
|
2013-09-06 14:05:58 +00:00
|
|
|
pointpoint
|
2013-11-28 20:22:17 +00:00
|
|
|
autocorrect
|
2014-03-27 23:03:20 +00:00
|
|
|
irc
|
2014-04-30 19:55:19 +00:00
|
|
|
change_title
|
2014-12-08 16:49:31 +00:00
|
|
|
pipe_cmd
|
2014-12-09 00:13:14 +00:00
|
|
|
close_all
|
2015-01-03 22:09:43 +00:00
|
|
|
reorder
|
2015-05-11 21:35:47 +00:00
|
|
|
cyber
|
2016-06-05 11:48:04 +00:00
|
|
|
csi
|
2016-07-04 23:15:04 +00:00
|
|
|
dice
|
2017-12-19 14:41:17 +00:00
|
|
|
disco
|
2016-07-04 23:15:04 +00:00
|
|
|
marquee
|
2016-08-26 20:07:57 +00:00
|
|
|
server_part
|
2016-08-28 17:47:52 +00:00
|
|
|
vcard
|
2018-03-08 14:04:59 +00:00
|
|
|
upload
|
2018-10-13 11:43:56 +00:00
|
|
|
contact
|
2021-02-08 22:35:25 +00:00
|
|
|
userextras
|