DiscordDataMirror Documentation

Welcome to the official documentation for DiscordDataMirror โ€” a powerful, open-source solution for monitoring, archiving, and exploring Discord server data.

Dashboard Preview

What is DiscordDataMirror?

DiscordDataMirror is a self-hosted application that creates a complete, searchable backup of your Discord servers. It runs as a background service, continuously monitoring and recording:

  • ๐Ÿ“ Messages โ€” Every message, edit, and deletion
  • ๐Ÿ‘ฅ Members โ€” User profiles, nicknames, roles, and join history
  • ๐Ÿ“ Channels โ€” Text, voice, forums, threads, and categories
  • ๐ŸŽญ Roles โ€” Permissions, colors, and hierarchies
  • ๐Ÿ“Ž Attachments โ€” Images, files, and embeds (with optional local caching)
  • ๐Ÿ’ฌ Reactions โ€” Who reacted with what emoji
  • ๐Ÿงต Threads โ€” Archived and active thread content

All data is stored in PostgreSQL and accessible through a beautiful Blazor dashboard.

Who Is This For?

๐Ÿข Community Managers & Server Admins

Preserve your community's history. Never lose important discussions, announcements, or memories when Discord's retention limits kick in or when users delete their messages.

๐Ÿ”ฌ Researchers & Analysts

Study Discord communities with full historical data access. Export messages for sentiment analysis, activity patterns, or community health metrics.

๐Ÿ›ก๏ธ Moderation Teams

Track deleted messages and user behavior across time. Maintain an audit trail for moderation decisions.

๐Ÿ’พ Data Archivists

Create complete backups of Discord servers for long-term preservation. Protect against data loss from server deletions or Discord policy changes.

๐Ÿ‘จโ€๐Ÿ’ป Developers

Learn from a production-quality .NET Aspire application with Domain-Driven Design, CQRS, and clean architecture patterns.

Key Features

Feature Description
Real-time Sync Messages are captured instantly via Discord's gateway API
Historical Backfill Initial sync fetches all accessible message history
Full-text Search Find any message across all servers instantly
User Tracking See a user's activity across all monitored servers
Thread Support Captures ephemeral and archived thread content
Attachment Caching Optionally download and store attachments locally
Cross-Server Identity Link the same person across different accounts
Modern Dashboard Clean, Discord-like interface for browsing data
Docker Ready Deploy anywhere with Docker Compose
.NET Aspire Built-in observability, health checks, and service discovery

Screenshots

Dashboard Overview

Dashboard Overview

Channel Browser

Channel Browser

Message Viewer

Message Viewer

Sync Status

Sync Status

Technology Stack

  • .NET 10 โ€” Latest .NET runtime
  • Aspire 13.1 โ€” Cloud-native orchestration and observability
  • Blazor Server โ€” Real-time reactive UI
  • PostgreSQL 17 โ€” Reliable, scalable database
  • Discord.Net โ€” Official Discord API wrapper
  • MediatR โ€” CQRS and pipeline behaviors
  • Entity Framework Core โ€” Database ORM
  • MudBlazor โ€” Material Design components

License

DiscordDataMirror is open source under the MIT License.

Support