✨ Implemented a pure Python QOTD server
authorMalte Bublitz <malte@rolltreppe3.de>
Wed, 12 Nov 2025 12:34:14 +0000 (13:34 +0100)
committerMalte Bublitz <malte@rolltreppe3.de>
Wed, 12 Nov 2025 13:33:32 +0000 (14:33 +0100)
commit816d0b24309e38986f87154d18283021c14ed67b
treea965635381c962bb3fe6af2c5becbcbea191fde9
parent429dd73b15eabd3dce633708371d649437718aec
✨ Implemented a pure Python QOTD server

Tje previous QOTD server was a shell script executed by inetd, calling
fortune and doing some shitty UTF-8 to ASCII convertion which did not
support special characters like dashes.

The new server in the module `bbs.qotd` is based on Python's
`socketserver.TCPServer` and supports UTF-8 as expected nowadays.

The quotes are still those found in fortunes-mod databases, but we now
read them directly from the data files in `bbs.fortune`.
bbs/fortune.py [new file with mode: 0644]
bbs/qotd.py [new file with mode: 0644]
bin/qotd [deleted file]