Exports Discord chat logs to a file
Find a file
2021-07-26 18:05:34 +03:00
.config Update XamlStyler 2020-03-30 10:09:13 +03:00
.github Authenticate Docker jobs 2021-07-26 18:02:44 +03:00
.screenshots Update screenshots 2020-12-29 21:06:45 +02:00
DiscordChatExporter.Cli Fix coverage collection in tests 2021-07-19 22:28:30 +03:00
DiscordChatExporter.Cli.Tests Update tests readme 2021-07-24 18:17:07 +03:00
DiscordChatExporter.Core Stop pluralizing "emoji" as "emojis" 2021-07-26 17:07:02 +03:00
DiscordChatExporter.Gui Normalize namings ("...Type" -> "...Kind") 2021-07-19 02:07:19 +03:00
.gitignore Basic automated tests through the CLI 2021-07-19 20:09:35 +03:00
Changelog.md Update version 2021-07-19 01:58:23 +03:00
Directory.Build.props Update version 2021-07-19 01:58:23 +03:00
DiscordChatExporter.sln Basic automated tests through the CLI 2021-07-19 20:09:35 +03:00
Dockerfile Add NuGet.config 2021-04-13 22:23:14 +03:00
favicon.ico Add icon 2017-11-25 19:06:08 +02:00
favicon.png Add icon 2017-11-25 19:06:08 +02:00
License.txt Update version 2021-02-06 21:22:42 +02:00
logo.png Add logo image 2019-04-25 22:14:17 +03:00
NuGet.config Update NuGet.config 2021-04-17 21:25:52 +03:00
Readme.md Update readme 2021-07-26 18:05:34 +03:00

DiscordChatExporter

Build Coverage Release Downloads Donate

Project status: active.

DiscordChatExporter can be used to export message history from a Discord channel to a file. It works with direct messages, group messages, and server channels, and supports Discord's dialect of markdown as well as all other rich media features.

If you have questions or issues, please refer to the wiki.

Download

This application comes in two flavors: graphical user interface (GUI) and command line interface (CLI). The following table lists all available download options:

Downloads Supported OS
GUI
  • Windows 7 or higher
CLI
  • 🟢 Stable release (DiscordChatExporter.CLI.zip) ⚙️
  • 🟠 CI build (DiscordChatExporter.CLI.zip) ⚙️
  • 🐋 Docker (tyrrrz/discordchatexporter)
  • 📦 AUR (discord-chat-exporter-cli) 🦄
  • Windows 7 or higher
  • macOS 10.13 (High Sierra) or higher
  • Linux (multiple distros)

Features

  • Graphical user interface (Windows)
  • Command line interface (Windows, Linux, macOS)
  • Support for both user and bot tokens
  • Support for Discord's dialect of markdown
  • Support for Discord's message filter syntax
  • Support for attachments, embeds, emoji, and other rich media features
  • Multiple output formats: HTML (dark/light), TXT, CSV, JSON
  • File partitioning, date ranges, and other export options
  • Exports messages on the fly without buffering in-memory

Screenshots

channel list rendered output

Building the project locally

Prerequisites:

To build the entire solution run the following command in the root of the repository:

> dotnet build

This will generate runtime artifacts for each project:

./DiscordChatExporter.Gui/bin/[Debug|Release]/[runtime]/*
./DiscordChatExporter.Cli/bin/[Debug|Release]/[runtime]/*

You can also build and run a specific project directly. To do that, navigate to its directory and use dotnet run:

> cd DiscordChatExporter.Gui
> dotnet run