Files
bbs/docs/wiki/Administration.md
T
Claude 465bb0b53d Image boards: oekaki, drawing in the page with stroke replay
A board with oekaki = yes has a drawing board in its post form (pen,
eraser, fill, palette, sizes, undo and redo), in plain JavaScript. The
drawing is posted as a PNG through the usual upload, carrying its
strokes and their timing in a private okST chunk (zlib-compressed
JSON), so the file replays wherever it goes. The server checks the
chunk on every PNG (size, canvas, limits, a guard against bombs) and
takes out a bad one, keeping the picture; a good one gives the post a
Replay link, its drawing time, and on oekaki boards Draw over, which
starts a reply from its strokes. boards.json and posts' JSON say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-14 01:22:44 +00:00

4.3 KiB

Everything is done with the bbs command, on the configuration the BBS runs with (-config FILE; without it, the defaults and bbs.db here). These are safe to run while the BBS is serving.

Users

bbs user list
bbs user add NAME [-sysop]          # asks for the password (or reads it from a pipe)
bbs user passwd NAME
bbs user lock NAME                  # and unlock
bbs user sysop NAME                 # and unsysop
bbs user del NAME                   # their mail goes; their messages stay

The database

bbs db copy DATABASE                # into a new one: a path, postgres://..., mysql://...

See Databases.

Access

bbs user level NAME N               # 0-255
bbs user flags NAME +AB -C          # or AB: exactly those
bbs user waiting                    # under validated_level
bbs user validate NAME
bbs area require AREA READ POST     # "30 F", sysop, - for none
bbs filearea require AREA DOWNLOAD UPLOAD

See Access levels.

SSH keys

bbs sshkey add USER FILE            # each authorized_keys line in FILE (- : stdin)
bbs sshkey list [USER]
bbs sshkey del ID

Users add their own from their profile, or by the API: SSH.

Message areas

bbs area list
bbs area add NAME "DESCRIPTION" [-sysop-only]
bbs area del NAME                   # and its messages
bbs area newsgroup AREA GROUP       # make it a newsgroup (- : no longer)
bbs area echo AREA TAG              # make it a FidoNet echo (- : no longer)
bbs area group AREA GROUP           # list it under a group (- : none)
bbs area aliases AREA yes|no        # whether its posters may use their aliases
bbs area keep AREA MESSAGES DAYS    # keep the newest MESSAGES, for DAYS (0: no limit)
bbs area purge                      # take away what areas keep no more, now

What an area keeps is enforced hourly while the BBS runs (and by bbs area purge): beyond its newest MESSAGES, and older than DAYS, messages go, with their votes and polls.

A sysop also adds areas from the BBS (+ in the message areas) and deletes any message. Newsgroups: Newsgroups and NNTP; echoes: FidoNet.

File areas

bbs filearea list
bbs filearea add NAME "DESCRIPTION" [-sysop-upload]
bbs filearea del NAME
bbs file add AREA PATH ["DESCRIPTION"]   # as the first sysop
bbs file list AREA
bbs file del AREA NAME

See Files and FTP.

Image boards

bbs chan board add DIR TITLE [DESCRIPTION] [-nsfw]   # /DIR/ at /chan/DIR/
bbs chan board set DIR KEY VALUE    # pages, per_page, bump_limit, mods, nsfw, oekaki...
bbs chan board list
bbs chan board del DIR              # its posts and images too
bbs chan ban add ADDRESS DAYS [BOARD|-] [REASON...]
bbs chan ban list | del ID

See Image boards.

Mail exchange

bbs news sync [PEER]                # exchange articles with news peers now
bbs fido poll [LINK]                # call FidoNet links now
bbs fido scan [LINK]                # pack new mail into the outbound
bbs fido toss [LINK]                # take in what has come
bbs fido node ADDRESS               # a system in the nodelist
bbs fido nodes WORDS...             # systems by name, place or sysop
bbs fido subs LINK                  # the echoes and file echoes a link has
bbs fido link|unlink LINK TAG...    # link it to echoes (filelink, fileunlink)
bbs fido areafix|filefix LINK CMD...  # a request to a link's AreaFix (FileFix)
bbs qwknet call [NET]               # call QWK networks' hubs now
bbs user qwknode|unqwknode NAME     # an account a QWK node calls this hub as

Chat rooms

bbs room list                       # the permanent rooms, with their topics
bbs room add ROOM ["TOPIC"]         # kept open when empty (IRC: held by BBSServ)
bbs room topic ROOM ["TOPIC"]       # set its topic (none: clear it)
bbs room del ROOM                   # it goes with its last caller

See IRC. A running BBS takes these at its next start; BBSServ's ROOM changes it at once.

The server does all of these on its own schedule; these are for now.

The rest

bbs check                           # read the configuration, show its warnings
bbs init                            # make the database, with two areas
bbs [serve]                         # answer callers

See also: Running, Configuration