about summary refs log tree commit diff
diff options
context:
space:
mode:
authorequa <equaa@protonmail.com>2022-03-13 18:31:53 +0000
committerequa <equaa@protonmail.com>2022-03-13 18:31:53 +0000
commit2b32f2a2a6c2302cf2ddbdac7bcecad62398da6d (patch)
tree1bc9acdce8a343bd35a9b655283986001acd6168
parent2d581a2b62a398963e4e418243b10e02b8d648af (diff)
readme
-rw-r--r--README.md44
1 files changed, 44 insertions, 0 deletions
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`.