nobotgate
=========

When you run a private site (that still uses a
super-server), you can use nobotgate to require users to
provide an http bearer token. This way, bots won't flood
your site with spam.

usage
-----

use nobotgate(1) together with a super-server such as inetd(8),
tcpserver(1) or s6-tcpserver:
  # tcpserver 0.0.0.0 80 nobotgate /etc/wwwtokens ./on-valid ./on-invalid
where /etc/wwwtokens contains:

and ./on-valid contains:
  #!/bin/sh
  exec busybox httpd -i -h /var/www
and ./on-invalid contains:
  #!/bin/sh
  exec nobotgate-access cat usage
and usage contains:
  No bearer token specified!
