Repository navigation
Building
This page shows how to build bbs from source. You must have Go 1.26 or later.
make # or: go build ./cmd/bbs
make test
make install # installs /usr/local/bin/bbs, the systemd unit bbs.service,
# and /etc/bbs/bbs.conf if there is none
bbs does not use cgo. Thus, you do not have to configure a C compiler. All database drivers are in the binary. SQLite is modernc.org/sqlite, PostgreSQL is pgx, and MySQL and MariaDB are go-sql-driver.
bbs uses the fork of go3270 from the D-Modem suite,
D-Modem/go3270 (Go module
github.com/D-Modem/go3270). This fork adds 3270 query replies and graphics.
While that repository is private, Go must get it from GitHub with your
own credentials:
export GOPRIVATE=github.com/D-Modem/* # the Makefile sets this for you
git config --global url."git@github.com:".insteadOf "https://github.com/" # or use a token
make install uses these variables:
| Variable | Default | What it sets |
|---|---|---|
PREFIX |
/usr/local |
The base of the other directories |
BINDIR |
$(PREFIX)/bin |
The directory of the bbs program. The ExecStart= line of bbs.service uses it |
SYSTEMD_UNIT_DIR |
$(PREFIX)/lib/systemd/system |
The directory of bbs.service. systemd reads units from /usr/local/lib/systemd/system and /usr/lib/systemd/system
|
DESTDIR |
empty | A directory before all paths, for packages |
make install replaces bbs.service each time. Thus, do not edit the
installed unit. Put your changes in a drop-in (systemctl edit bbs).
make install does not replace an existing /etc/bbs/bbs.conf.
make install does not run systemctl. Refer to
Running for the subsequent steps.
See also: Running, Development
These pages are in the docs/wiki folder of the repository. Change them there, not here.
Start here
- Building
- Running
- Administration
- Sysop tools
- Configuration
- Configuration reference
- Databases
- Backups
- Customization
- Scripting
- Access levels
Callers
Features
- Message areas
- Writing messages
- Offline mail (QWK)
- Files and FTP
- File transfers
- Doors
- Newsgroups and NNTP
- FidoNet
- Chat and paging
- IRC
- IRC server linking
- AIM and ICQ
- AOL clients
- MSN Messenger
- MSN Classic (1995)
- MSN 2.x (1996)
- Yahoo! Messenger
- MRC
- News, weather and quotes
- Finger, gopher and Gemini
- Time: NTP, NTS and PTP
- DNS for callers
- Web forum
- Image boards
- HTTP API
More