module

Chat Trimmer

Endorsements
0
Installs
0.05%
Comments
0
Latest version2.1.0
Minimum Core13
Compatible Core13
Last updated3 hours ago
Created8 months ago
Authors
Languages English
Systems All systems
Project source Project URL
License License URL

Chat Trimmer

A Foundry VTT module that automatically compresses chat history using intelligent pattern recognition. Reduces memory usage by 80-90% while preserving important information in searchable, organized archives. No LLM or external services required!

🎯 Problem Statement

  • Large chat logs consume memory and cause performance degradation
  • Purging chat loses important campaign information
  • Players and GMs need to scroll through hundreds of messages to find information
  • Existing archive solutions dump raw logs without summarization

✨ Solution

Intelligent compression that reduces 500+ messages to ~50 organized summaries using algorithm-based pattern recognition.

🚀 Features

Core Features

  • ✅ Combat Encounter Detection - Automatically identifies and compresses combat encounters
  • ✅ Message Classification - Categorizes messages by type (combat, dialogue, rolls, items, etc.)
  • ✅ Session Management - Track multiple sessions with automatic archiving
  • ✅ Archive Storage - External JSON storage or Journal entries for optimal performance
  • ✅ Advanced Archive Viewer - Browse, filter, and search archived messages with pagination
  • ✅ Manual Trim - Trim chat with a single button click
  • ✅ Auto-Trim - Automatic trimming based on message count or time thresholds
  • ✅ Session Statistics - View compression ratios and detailed session statistics
  • ✅ Key Events Summary - Highlights critical moments from your session

Compression Features

  • Combat Encounters: Detects combat start/end, tracks rounds, actions, damage, and outcomes
  • Key Events Detection: Automatically identifies and highlights:
    • Critical successes and failures
    • Death, dying, unconscious, and wounded conditions
    • Hero Point usage
    • High-level spells (4th level and above)
    • XP gains and level ups
    • Major item transfers and loot
    • Persistent damage and debilitating conditions
  • Skill Check Recognition: Properly labels skill checks with action names (e.g., "Grapple (Athletics)")
  • Item Transfer Tracking: Preserves item transfer messages
  • Searchable Archives: Full-text search across all archived content
  • No Data Loss: Original messages can be viewed from summaries
  • Roll Recreation: Preserve roll buttons and formulas for later re-rolling
Subscribe
Notify of
0 Comments
0
Would love your thoughts, please comment.x
()
x