GothamCode.com
Stuff & Various Nasty Hacks, Mostly Written in PHP, Not All
Written Here
- PowerDynDNS for
PowerDNS with MySQL/MariaDB, is a GPLv2
licensed, open source dynamic DNS service, usably compatible with the
DynDNS.org API. PowerDynDNS
includes PowerTinyDynDNS for compatibility with
both the DynDNS.org API and TinyDynDNS.
- assblocker blocks IPv4 addresses of
abuse bots at the local firewall by manual use and automatically by
monitoring mail log files. Does not support IPv6 addresses, becuase trying
to get IPv6 email accepted by Google/Gmail is a shitshow.
- gfm2html is a script for use as a Web server filter to create
less-invalid HTML documents from Markdown to HTML converters that don't produce
valid HTML documents. It is designed for cmark-gfm (Github Flavor Markdown), but can be
used with any other Markdown filter that accepts input on STDIN end
emits HTML on STDOUT.
- ml-web-archiver is a script for
generating web pages from mailing list archives, that will not make you
want to rip your hair out. It produces archives similar to pipermail,
except also allows message-searching. Created for use with Mlmmj
archives, but supports Maildir and mbox archives also.
- tmuxie is a small and lightweight tmux
session manager (wrapper) written as a POSIX shell script (Bourne, Bash,
Dash, ksh,..) forked from screenie
for GNU Screen, dual-licensed GPLv2 and BSD.
- star is the Simple Templates And Renderer HTML
template engine for PHP 7.3 and later. Unlike virtually every
other contemporary PHP template engine, star has zero
dependencies and you can paste it right into your existing script.
It is simple, unsophisticated code. star compiles
templates to PHP code for optimal performance.
- check-ssl-certs is a script for
monitoring SSL/TLS certificates for expiration. It can check
directories of certificates and it can scan Apache site configuration
files for certificates to check. It can be used as a replacement
for the discontinued LetsEncrypt certificate expiration notification
email service.
- weather.php is a script for obtaining a
tiny current weather string from a METAR
weather station. It was created to be used with tmux
to put the weather into the status bar.
- dog, better than cat is a PHP
port of Jason Cohen and Jacob Leverich's defunct dog.c,
an enhanced version of the *nix cat
program. Some options intended to amuse have been left out, and some new
options added.
- Getmail Retriever plugin for Roundcube
is a GPL licensed fork of the ispcp_fetchmail plugin for Roundcube
webmail. getmail
is an alternative to fetchmail with a better track record for
reliability and security. This plugin allows your Roundcube users
to use getmail to retrieve mail via POP3 or IMAP and deliver that mail
to the user. The back end is a PHP-CLI/PDO script run from cron
that executes getmail according to the administrator and user settings.
- POP-before-SMTP-Auth is a GPLv2
licensed, open source mail log scanner daemon that implements a
POP-before-SMTP authorization service for Postfix/Dovecot. It can
probably be easily adapted to use other SMTP servers and other POP3
servers.
- DPopper 1.0 is an original-BSD-licensed 'dummy'
POP3 server written in C by Karl Pielorz. It can be used to handle
hoards of marauding customers while your real POP3 server is having a
bad day. It will appear to authenticate anybody, and will accept any
password they offer. It will also tell them they have no new mail, hence
provides the backend for 'transparently' failing POP3 servers. (Not
written here, but seems to have disappeared from http://tdx.com/software
along with their site. Mirrored here because we found it useful with TinyDynDNS.)
DPopper is licensed under "the Original BSD License". That's the one
with the "advertising
clause".
- Miscellaneous: You may find other miscellaneous
stuff in here, tersely described in a directory listing.
What is here, is here. If it's not, then it's not. If it doesn't work for
you, then it doesn't work for you. No promises made about it. But that
doesn't mean I won't try to help make it work for you. there is a mailing
list, and list
archives, where you can ask questions. You can find the git
repositories at https://code.gothamcode.com,
where you can open and view "issues".
Some projects have been temporarily hidden because they need some
attention to make them work and/or be available to download.
© 2001-2025 Gotham Code