[Allegro] Build Web Dashboard for Game History Viewing #4

Closed
opened 2026-04-04 01:24:19 +00:00 by allegro · 1 comment
Member

Objective

Build a web-accessible dashboard to view Evennia game history, audit trails, and player activity.

Tasks

  • Create /audit/ endpoint on the Evennia web server (port 4001)
  • Display recent commands per player
  • Display movement history with room names and timestamps
  • Display session durations and playtime leaderboard
  • Display online/offline status of all accounts
  • Add JSON API endpoint at /audit/api/ for programmatic access

Technical Notes

  • Server IP: 167.99.126.228
  • Web client already on port 4001
  • Audit data stored in AuditedCharacter attributes and log files
  • Use Django views (Evennia runs on Django)

Acceptance Criteria

  • Dashboard accessible at http://167.99.126.228:4001/audit/
  • Shows last 50 commands per character
  • Shows movement trail with timestamps
  • Shows session history and total playtime
  • JSON API returns structured audit data
## Objective Build a web-accessible dashboard to view Evennia game history, audit trails, and player activity. ## Tasks - [ ] Create `/audit/` endpoint on the Evennia web server (port 4001) - [ ] Display recent commands per player - [ ] Display movement history with room names and timestamps - [ ] Display session durations and playtime leaderboard - [ ] Display online/offline status of all accounts - [ ] Add JSON API endpoint at `/audit/api/` for programmatic access ## Technical Notes - Server IP: 167.99.126.228 - Web client already on port 4001 - Audit data stored in AuditedCharacter attributes and log files - Use Django views (Evennia runs on Django) ## Acceptance Criteria - [ ] Dashboard accessible at `http://167.99.126.228:4001/audit/` - [ ] Shows last 50 commands per character - [ ] Shows movement trail with timestamps - [ ] Shows session history and total playtime - [ ] JSON API returns structured audit data
allegro self-assigned this 2026-04-04 01:24:19 +00:00
Author
Member

Web Audit Dashboard Implemented

Commit

Pushed to build/second-pass branch.

What was built

  • Dashboard: http://167.99.126.228:4001/audit/ — Overview with stats, accounts, characters
  • Command Log: /audit/commands/ — Last 200 commands with timestamps
  • Movement Log: /audit/movement/ — Room transitions tracked
  • Session Log: /audit/sessions/ — Player login/logout activity
  • Character Detail: /audit/character/<name>/ — Per-character audit trail

JSON API Endpoints

  • GET /audit/api/summary/ — Full academy state
  • GET /audit/api/commands/ — Command log entries
  • GET /audit/api/movement/ — Movement log entries
  • GET /audit/api/sessions/ — Session log entries
  • GET /audit/api/character/<name>/ — Character audit data

Files Created

web/audit/__init__.py
web/audit/urls.py
web/audit/views.py
web/audit/api.py
web/audit/templates/audit/base.html
web/audit/templates/audit/dashboard.html
web/audit/templates/audit/command_log.html
web/audit/templates/audit/movement_log.html
web/audit/templates/audit/session_log.html
web/audit/templates/audit/character_detail.html
web/urls.py (updated)

How to access

Design

Matrix-style green-on-black terminal aesthetic. Responsive grid layout. All data pulled live from Evennia DB and log files.

Closing this issue. Dashboard is live.

## ✅ Web Audit Dashboard Implemented ### Commit Pushed to `build/second-pass` branch. ### What was built - **Dashboard:** `http://167.99.126.228:4001/audit/` — Overview with stats, accounts, characters - **Command Log:** `/audit/commands/` — Last 200 commands with timestamps - **Movement Log:** `/audit/movement/` — Room transitions tracked - **Session Log:** `/audit/sessions/` — Player login/logout activity - **Character Detail:** `/audit/character/<name>/` — Per-character audit trail ### JSON API Endpoints - `GET /audit/api/summary/` — Full academy state - `GET /audit/api/commands/` — Command log entries - `GET /audit/api/movement/` — Movement log entries - `GET /audit/api/sessions/` — Session log entries - `GET /audit/api/character/<name>/` — Character audit data ### Files Created ``` web/audit/__init__.py web/audit/urls.py web/audit/views.py web/audit/api.py web/audit/templates/audit/base.html web/audit/templates/audit/dashboard.html web/audit/templates/audit/command_log.html web/audit/templates/audit/movement_log.html web/audit/templates/audit/session_log.html web/audit/templates/audit/character_detail.html web/urls.py (updated) ``` ### How to access - **Browser:** http://167.99.126.228:4001/audit/ - **API:** `curl http://167.99.126.228:4001/audit/api/summary/` ### Design Matrix-style green-on-black terminal aesthetic. Responsive grid layout. All data pulled live from Evennia DB and log files. Closing this issue. Dashboard is live.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/timmy-academy#4