Blob


1 botnow: the versatile IRC bot
3 botnow has only been tested on openbsd 7.3
5 ### System requirements ###
7 In order to install botnow, you will need to have the following installed and
8 configured:
10 1) sendmail (https://wiki.ircnow.org/index.php?n=Opensmtpd.Configure)
11 2) nsd (https://wiki.ircnow.org/index.php?n=Nsd.Configure)
12 3) openhttpd (https://wiki.ircnow.org/index.php?n=Openhttpd.Configure)
13 4) znc (https://wiki.ircnow.org/index.php?n=Znc.Chroot)
14 5) IPv6 (https://wiki.ircnow.org/index.php?n=Hostnameif.Static)
16 ### Install instructions ###
18 $ tar xvzf botnow.tgz
19 $ cd botnow
20 $ doas ./install
21 $ doas su botnow
22 $ cd /home/botnow
23 $ cp botnow.conf.example botnow.conf
24 $ vi botnow.conf
25 $ ./botnow
27 ### Configuration of httpd.conf ###
29 server "www.$hostname" {
30 alias "$hostname"
31 listen on $ext_ip port 80
32 location "/.well-known/acme-challenge/*" {
33 root "/acme"
34 request strip 2
35 }
36 location "*.php" {
37 fastcgi socket "/run/php-fpm.sock"
38 }
39 root "/htdocs/ircnow/"
40 }
42 ### Reinstall ###
44 If you need to reinstall, run
46 $ doas make -i
48 ### Changelog ###
50 Version 0.08: Automatically generate IPv6 addresses and handle rDNS zone files using NSD, and added more configuration options
51 Version 0.07: Added support for requesting shell accounts
52 Version 0.06: Refactored code to be modular
53 Version 0.05: Refactored conf file out of the script and supplied sensible defaults
54 Version 0.04: Switched from flatfiles to sqlite for user metadata
55 Version 0.03: Added new DNS commands
56 Version 0.02: Updated wiki pages, added warnings to common errors, added support
57 for trustallcerts
58 Version 0.01: First public version of botnow