Claude 139dcfd153 IRC: Solanum's channel modes for registered rooms, INVITE and KNOCK
A registered room's ops set its modes with MODE (/mode in the BBS's
chat): n t s p m i z g T, the key (k) and limit (l), and the lists: bans
(b), quiets (q), exceptions (e) and invite exceptions (I), with masks
nick!how@nodeN and the extbans $a, $a:mask and $o (~ negates). c and C
are always on, as the rooms always were. MODE b/q/e/I with no mask lists
them (367, 728, 348, 346). Modes and lists are kept in room_reg and the
new room_lists table, and are the room's: a caller on the text BBS, AOL
or Yahoo is kept out or quiet as an IRC user is.

INVITE (an op, or anyone in a +g room) gets one past i, k and l for the
hour; KNOCK asks the ops of a room one is kept out of, once a minute,
but not in a +p room. ChanServ gains INVITE and GETKEY (the i flag, which
also gets past i, k and l), and INFO shows the modes. JOIN takes keys;
/join ROOM KEY, /invite and /knock come to the BBS's chat. ISUPPORT gives
CHANMODES=Ibeq,k,l,CcTgimnpstz, EXCEPTS, INVEX, EXTBAN, MAXLIST, KEYLEN
and KNOCK.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTXE7MNm3r3hHAmTG2
2026-11-11 04:20:31 +00:00

D-Modem/bbs: A bulletin board for every caller

bbs

A bulletin board system in Go for telnet, SSH, TN3270 and modem callers.

One telnet port serves every kind of terminal: a TN3270 client (x3270, c3270, wc3270, Vista, PCOMM) gets full 3270 screens with PF keys, through go3270; any other client gets a text BBS with ANSI colour where the terminal has it. Modem callers come in through the D-Modem suite: app_dmodem straight from Asterisk, or modemmenu after its login.

D-Modem BBS
Node 2, modem at 26400 bit/s

Name (or NEW): alice
Password: **********

Welcome, alice.

Main menu
  [M] Message areas         [E] E-mail (1 new)
  [W] Who's online          [U] User list
  [P] Your profile          [I] System info
  [C] Chat                  [S] Page the sysop
  [G] Goodbye
  • Message areas, private mail, chat, paging and doors (DOS doors in dosemu2, or Linux programs)
  • File areas with X/Y/ZMODEM, Kermit, IND$FILE and FTP
  • E-mail: IMAP, POP3 and SMTP, to and from the internet, directly or through a smarthost
  • Networks: FidoNet and other FTNs, QWK, NNTP newsgroups, IRC (and linking into an IRC network as a TS6 or P10 hub server), AIM and ICQ, MSN Messenger, Yahoo! Messenger, and MRC
  • Terminals: ANSI, VT, PETSCII, RIPscrip, sixel and 3270 graphics, and for telnet, SSH and web callers a modem's line speed (300 to 115200 bit/s) if they like
  • On the web: a forum, image boards, a web terminal and an HTTP API
  • Time: follows NTP, NTS and PTP servers, and serves all three
  • Certificates: its own ACME client gets and renews them from Let's Encrypt, ZeroSSL and others, for every TLS server
  • News, weather and quotes: news feeds as read-only areas, each caller's own weather (NWS, Open-Meteo, USGS earthquakes), stock quotes from IEX
  • SQLite, PostgreSQL, MySQL or MariaDB

The full list is on the wiki's home page.

Quick start

Go 1.26 or later:

make                                    # or: go build ./cmd/bbs
bbs -config /etc/bbs/bbs.conf config    # the configuration screens (begun from the sample)
bbs -config /etc/bbs/bbs.conf check     # the configuration, its warnings
bbs -config /etc/bbs/bbs.conf init      # the database, with two areas
bbs -config /etc/bbs/bbs.conf user add sysop -sysop
bbs -config /etc/bbs/bbs.conf serve

bbs.conf.sample has every option, and bbs.service.sample runs it under systemd.

Documentation

The documentation is also a website, d-modem.github.io/bbs, with reference pages made from the code.

The documentation is in the wiki: start with Building, Running and Configuration. Its pages are kept in docs/wiki, where they are edited; the Wiki workflow publishes them. Future work is in TODO.md.

The D-Modem suite

Repository What it is
D-Modem The open V.92 softmodem: dmodemd, libdmodem and the Asterisk, FreeSWITCH and ARI modules
app The D-Modem app for Android and iOS: a dial-up modem on a SIP call
hardware pico-serial: RP2040 serial adapters and phone-line USB sticks
menu modemmenu: the login and menu dial-up callers reach
bbs A bulletin board for telnet, SSH, TN3270 and modem callers
go3270 A Go library for 3270 terminal servers, used by bbs
brand Logos, colours, type and the naming guide

Licence

AGPL-3.0-only (LICENSE), or a commercial licence from the D-Modem Authors (COMMERCIAL-LICENSE.md). Contributions come with a contributor agreement (CONTRIBUTING.md).

S
Description
A bulletin board system in Go for telnet, SSH, TN3270 and modem callers
https://d-modem.github.io/bbs
Readme AGPL-3.0
9.7 MiB
0 Stars 1 Watchers 0 Forks
Languages
Go 81.3%
CSS 9.7%
HTML 8.2%
JavaScript 0.6%