aboutsummaryrefslogtreecommitdiff
path: root/doc/tips/monitor_page_changes_through_IRC.mdwn
blob: b958b89069d039ce7fffd15a737993c28c0b2c6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[[!meta date="2014-04-01 10:39:47 -0400"]]

because of [[bugs/notifyemail_fails_with_some_openid_providers]], I have been struggling with finding ways of being notified of changes to pages I want to watch here.

the workaround I found so far was to join the `#ikiwiki` channel on freenode, and set the following "hilight" in irssi:

    /hilight -channels #ikiwiki  -word tips/monitor_page_changes_through_IRC

this will watch for any change to this page. -- [[anarcat]]

hello anarcat, I'm editing your page! -- [[micah]]

obviously, the above assumes that the wiki is already configured to send notifications on IRC when commits are done through the git repository. there are multiple ways of doing that, which somewhat fall outside the scope of Ikiwiki itself, since you should really learn how to do this elsewhere. All you need to know is that the hook needs to be in `repository.git/hooks/post-receive` file.

there are basically two alternatives now:

* [KGB](https://kgb.alioth.debian.org/) - a Perl script that has been running at Debian since 2009
* [irker](http://www.catb.org/esr/irker/) - a Python script whipped up by ESR in the fall of CIA.vc (~2011), ignoring the existing KGB bot

KGB is harder to setup ([tutorial](https://www.donarmstrong.com/posts/switching_to_kgb/)), as it , but more reliable than irker, in my experience. --[[anarcat]]

See also [[todo/ikibot]] for another bot idea.