aboutsummaryrefslogtreecommitdiff
path: root/zyklonb.adoc
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-08-06 16:12:15 +0200
committerPřemysl Eric Janouch <p@janouch.name>2021-08-06 16:43:59 +0200
commit50057d5149dda340b3b47aca4096f4a6ec66b9ee (patch)
tree79323d20b17c2c8e32942a1ac9b84d9da3041c6d /zyklonb.adoc
parent1f64710e795b0c5434d15813d4f1f568467ca087 (diff)
downloadxK-50057d5149dda340b3b47aca4096f4a6ec66b9ee.tar.gz
xK-50057d5149dda340b3b47aca4096f4a6ec66b9ee.tar.xz
xK-50057d5149dda340b3b47aca4096f4a6ec66b9ee.zip
Come up with sillier names for the binaries
I'm not entirely sure, but it looks like some people might not like jokes about the Holocaust. On a more serious note, the project has become more serious over the 7 or so years of its existence.
Diffstat (limited to 'zyklonb.adoc')
-rw-r--r--zyklonb.adoc104
1 files changed, 0 insertions, 104 deletions
diff --git a/zyklonb.adoc b/zyklonb.adoc
deleted file mode 100644
index b4730cb..0000000
--- a/zyklonb.adoc
+++ /dev/null
@@ -1,104 +0,0 @@
-zyklonb(1)
-==========
-:doctype: manpage
-:manmanual: uirc3 Manual
-:mansource: uirc3 {release-version}
-
-Name
-----
-zyklonb - modular IRC bot
-
-Synopsis
---------
-*zyklonb* [_OPTION_]...
-
-Description
------------
-*zyklonb* is a modular IRC bot with a programming language-agnostic plugin
-architecture based on co-processes.
-
-Options
--------
-*-d*, *--debug*::
- Print more information to help debug various issues.
-
-*-h*, *--help*::
- Display a help message and exit.
-
-*-V*, *--version*::
- Output version information and exit.
-
-*--write-default-cfg*[**=**__PATH__]::
- Write a configuration file with defaults, show its path and exit.
-+
-The file will be appropriately commented.
-
-Commands
---------
-The bot accepts the following commands when they either appear quoted by the
-*prefix* string on a channel or unquoted as a private message sent directly
-to the bot, on the condition that the sending user matches the *admin*
-regular expression or that it is left unset:
-
-*quote* [_message_]::
- Forwards the message to the IRC server as-is.
-*quit* [_reason_]::
- Quits the IRC server, with an optional reason string.
-*status*::
- Sends back a report about its state and all loaded plugins.
-*load* _plugin_[, _plugin_]...::
- Tries to load the given plugins.
-*unload* _plugin_[, _plugin_]...::
- Tries to unload the given plugins.
-*reload* _plugin_[, _plugin_]...::
- The same as *unload* immediately followed by *load*.
-
-Plugins
--------
-Plugins communicate with the bot over their standard input and output streams
-using the IRC protocol. (Caveat: the standard C library doesn't automatically
-flush FILE streams for pipes on newlines.) A special *ZYKLONB* command is
-introduced for RPC, with the following subcommands:
-
-*ZYKLONB get_config* _key_::
- Request the value of the given configuration option. If no such option
- exists, the value will be empty. The response will be delivered in
- the following format:
-+
-```
-ZYKLONB :value
-```
-+
-This is particularly useful for retrieving the *prefix* string.
-
-*ZYKLONB print* _message_::
- Make the bot print the _message_ on its standard output.
-
-*ZYKLONB register*::
- Once a plugin issues this command, it will start receiving all of the bot's
- incoming IRC traffic, which includes data from the initialization period.
-
-All other commands will be forwarded directly to the IRC server.
-
-Files
------
-*zyklonb* follows the XDG Base Directory Specification.
-
-_~/.config/zyklonb/zyklonb.conf_::
- The bot's configuration file. Use the *--write-default-cfg* option
- to create a new one for editing.
-
-_~/.local/share/zyklonb/_::
- The initial working directory for plugins, in which they may create private
- databases or other files as needed.
-
-_~/.local/share/zyklonb/plugins/_::
-_/usr/local/share/zyklonb/plugins/_::
-_/usr/share/zyklonb/plugins/_::
- Plugins are searched for in these directories, in order, unless
- the *plugin_dir* configuration option overrides this.
-
-Reporting bugs
---------------
-Use https://git.janouch.name/p/uirc3 to report bugs, request features,
-or submit pull requests.