Go back

Ping-of-Exile

Ping of Exile is a real-time trade monitoring desktop application for Path of Exile that automatically detects incoming trade requests and sends Discord notifications with intelligent filtering.

I built the entire system: a file watcher that monitors Path of Exile’s client log in real-time, a sophisticated trade parsing engine that extracts trade details using regex pattern matching, a multi-layered filtering system with currency thresholds and whitelists, and Discord webhook integration for instant notifications.

How it works (log monitoring → notifications)

  1. Real-time log monitoring: The app uses Chokidar to watch Path of Exile’s client log file for changes, reading only new appended content to efficiently process incoming messages.
  2. Trade detection & parsing: A complex regex pattern extracts trade details from log messages: player name, item name, item type, price, currency, league, stash tab, and position coordinates.
  3. Intelligent filtering: Multi-tier filtering system prioritizes currency value thresholds (Exalted, Chaos, Divine, Annulment orbs), then falls back to item and stash tab whitelists. AFK status detection ensures notifications only fire when appropriate.
  4. Discord integration: Filtered trades trigger rich Discord webhook notifications with embedded trade details, optional user pings, and original log context for verification.

What I built (scope & responsibilities)

Design choices that make it robust