Skip to content

xbit44/yday2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yday2

screenshot

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.

Features

  • 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 .ini file
  • Runs natively on both Windows and Linux Synchronet installations

Installation

  1. Create a directory for yday2 (e.g. /sbbs/xtrn/yday2/)
  2. Copy yday2.js and yday2.ini into that directory
  3. Edit yday2.ini to set your output path and any aliases to exclude
  4. 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
  1. Point a bulletin or login display at your output .msg file

Configuration

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.

Notes

  • FTP counts are sourced from FS*.LOG files. 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.

Usage Graph Color Key

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 History

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

Credits

  • Michael Ottoson — Original YDAY.EXE (Mulberry Enterprises, 1995)
  • xbit — JavaScript rewrite, concept, design, testing, and documentation
  • claude.ai — Development assistance

License

Source code provided as-is for the Synchronet BBS community.

About

Yesterday Stats for Synchronet BBS - JS rewrite of the classic YDAY.EXE

Resources

Stars

3 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors