From 2b32f2a2a6c2302cf2ddbdac7bcecad62398da6d Mon Sep 17 00:00:00 2001 From: equa Date: Sun, 13 Mar 2022 18:31:53 +0000 Subject: readme --- README.md | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..fdf3425 --- /dev/null +++ b/README.md @@ -0,0 +1,44 @@ +# edward -- ed(1) over IRC + +edward is a script to pipe the output of ed(1) or any other command over IRC. +It can be used to create a small pair-programming environment or to maintain +shared information for a channel. + +edward runs a separate instance of ed in each channel. The whole instance is +shared between every user in the channel. + +## installing and running edward + +edward requires +Lua 5.4, +[cqueues](https://github.com/wahern/cqueues), +[luaposix](https://github.com/luaposix/luaposix), +and an implementation of `red`, ed in restricted mode. + +Copy `config.example.lua` to `config.whatever.lua` +and edit to taste. +Then run: + +``` +lua bot.lua config.whatever.lua +``` + +## security + +Don't. + +edward runs in restricted mode by default, +preventing stray file access and shell commands, +but otherwise doesn't do anything to prevent users from +writing huge files, +spamming the output of whatever channel you put it in, +etc. + +## bugs + +see `TODO`. + +## copyright + +edward is licensed under the GIRLFRIEND PUBLIC LICENSE. +see `LICENSE`. -- cgit 1.3.0-6-gf8a5