diff options
author | Simon Garrelou <simon@sixfoisneuf.fr> | 2023-11-09 21:01:24 +0100 |
---|---|---|
committer | Simon Garrelou <simon@sixfoisneuf.fr> | 2023-11-09 21:01:24 +0100 |
commit | 1376df83c42ee594900a206c8bf66b08480e121d (patch) | |
tree | 298b475de887247f6d69322e0425f7deb4cfc79b | |
parent | ea6ef13df36ee220a336a83f4db92b3326b69bc4 (diff) | |
download | noticeme-1376df83c42ee594900a206c8bf66b08480e121d.tar.gz noticeme-1376df83c42ee594900a206c8bf66b08480e121d.zip |
add README
-rw-r--r-- | README.md | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..5e39fea --- /dev/null +++ b/README.md | |||
@@ -0,0 +1,34 @@ | |||
1 | # noticeme - an IRC highlight dispatcher for soju | ||
2 | |||
3 | *noticeme* is an automated IRC client, designed to run a command when your nick is highlighted. | ||
4 | |||
5 | It requires the bouncer to support the `soju.im/bouncer-networks` network extension. This extension is only supported by [Soju](https://soju.im) from what I know. | ||
6 | |||
7 | The IRC client library used comes from [senpai](https://sr.ht/~taiite/senpai/) (hence the name). | ||
8 | |||
9 | ## Installation | ||
10 | |||
11 | ``` | ||
12 | $ git clone https://git.sixfoisneuf.fr/noticeme | ||
13 | $ cd noticeme | ||
14 | $ go build ./cmd/noticeme | ||
15 | ``` | ||
16 | |||
17 | ## Configuration | ||
18 | |||
19 | You can edit the provided `config.toml.example`. The fields are the following: | ||
20 | |||
21 | ``` | ||
22 | server = "bouncer.myown.server:6667" | ||
23 | username = "johndoe" | ||
24 | password = "hunter2" | ||
25 | |||
26 | highlights = ["johndoe", "john-doe"] | ||
27 | command = "/usr/local/bin/send-me-a-notification" | ||
28 | ``` | ||
29 | |||
30 | `command` will be executed whenever one of the strings in `highlights` appears in an IRC message. A representation of the message will be given as the first parameter. | ||
31 | |||
32 | ## Reporting bugs | ||
33 | |||
34 | Please report any bug you find to [bugs+noticeme@sixfoisneuf.fr](mailto:bugs+noticeme@sixfoisneuf.fr). I'll gladly accept patches, as long as they follow the git-send-email format. | ||