Discord Html Transcripts screenshot

Discord Html Transcripts

Author Avatar Theme by Itzderock
Updated: 16 May 2025
242 Stars

A node.js library for generating nicely formatted HTML transcripts with discord.js

Overview

The Discord HTML Transcripts is a node.js module designed to generate stylish HTML transcripts from Discord markdown. It offers a range of features, including the formatting of various markdown styles, system messages, attachments, embeds, and more, while also providing XSS protection. The module is specifically built for use with discord.js versions 14 and 15, with styles derived from @derockdev/discord-components.

Features

  • Discord Flavored Markdown: Processes Discord markdown like bold, italics, and strikethroughs.
  • Attachments and Embeds: Nicely formats attachments and embeds.
  • XSS Protection: Built-in protection against arbitrary HTML tags.
  • System Messages: Formats system messages in HTML.
  • Complex Markdown Syntax: Allows for parsing of complex markdown syntax.
  • Reactions and Mentions: Supports showing reactions, mentions, and threads in the transcript.

Installation

To install the Discord HTML Transcripts module, follow these steps:

  1. Open your command line interface.
  2. Run the following command to install the module:
    npm install discord-html-transcripts
    
  3. Once installation is complete, you can start using the module in your projects.

Summary

The Discord HTML Transcripts module offers a convenient solution for generating HTML transcripts with stylish formatting from Discord markdown. With features such as XSS protection, support for various markdown elements, and compatibility with discord.js versions 14 and 15, it provides a user-friendly experience for developers looking to create visually appealing Discord transcripts.