Yesterday Stats for Synchronet BBS
A native JavaScript rewrite of the classic YDAY.EXE (c) 1995 Mulberry Enterprises.
Generates a full-color ANSI bulletin showing the previous day's usage statistics for your Synchronet BBS, including a 24-hour concurrent user graph and a protocol/activity breakdown.
- 24-hour concurrent user graph, color-coded by simultaneous users
- Total logons, time used, and average session length
- Protocol breakdown: Telnet, SSH, RLogin, FTP, SFTP
- Messages posted and email sent
- Files uploaded and downloaded
- New users today
- Optional "today so far" second bulletin updated on demand
- Sysop exclusion list via
.inifile - Runs natively on both Windows and Linux Synchronet installations
- Create a directory for yday2 (e.g.
/sbbs/xtrn/yday2/) - Copy
yday2.jsandyday2.iniinto that directory - Edit
yday2.inito set your output path and any aliases to exclude - Add a Timed Event in SCFG:
SCFG -> External Programs -> Timed Events -> New Timed Event
Internal Code YESTERDAYSTATS
Start-up Directory ../xtrn/yday2
Command Line ?yday2.js
Enabled Yes
Execution Time 00:00
- Point a bulletin or login display at your output
.msgfile
Edit yday2.ini to suit your system. Key settings:
| Setting | Description |
|---|---|
output= |
Path to yesterday's stats bulletin file (required) |
output_today= |
Path to today's stats bulletin file (optional) |
exclude= |
Alias to omit from session stats (repeat for multiple) |
Note: The exclude list omits aliases from session and logon counts only. Messages posted and email sent are counted system-wide regardless of the exclude list.
- FTP counts are sourced from
FS*.LOGfiles. These are not created on typical Linux Synchronet installs, so FTP counts will show 0 on Linux. This is a Synchronet limitation. - Works on both Windows and Linux Synchronet installations.
| Color | Simultaneous Users |
|---|---|
| Gray | 1 |
| Blue | 2-3 |
| Bright Blue | 4-5 |
| Cyan | 6-7 |
| Bright Cyan | 8-9 |
| White | 10-11 |
| Yellow | 12-13 |
| Red | 14-20+ |
| Version | Notes |
|---|---|
| YDAY.EXE v1.0 (1995) | Original DOS version by Michael Ottoson, Mulberry Enterprises |
| yday2.js v1.0 (2026) | Complete rewrite in Synchronet JavaScript by xbit |
| yday2.js v1.1 (2026) | All files self-contained in a single folder |
| yday2.js v1.1a (2026) | Documentation update; noted FTP unavailable on Linux |
| yday2.js v1.1b (2026) | Bug fix: messages and email now correctly sourced from main log |
- Michael Ottoson — Original YDAY.EXE (Mulberry Enterprises, 1995)
- xbit — JavaScript rewrite, concept, design, testing, and documentation
- claude.ai — Development assistance
Source code provided as-is for the Synchronet BBS community.
