Skip to content

omardiaadev/discord-channel-html-transcript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord-channel-html-transcript

Discord Java library for generating HTML archives of channels, preserving the native Discord styles

Maven Version License

About

This is the most up-to-date Transcript generator, ensuring your file is consistent with Discord's styles!
Uses Java Discord API & Java Template Engine.

Contents

Legal Compliance

Note

This project utilizes the gg sans font that is the property of Discord Inc.

Features

  • ComponentsV2 NEW
  • Markdown
  • Attachments
  • Embeds
  • Reactions
  • Referenced Message
  • Referenced Command
  • To-Do:
    • Cleanup CSS
    • Add List Markdown
    • Format Normal Links

Preview

Click To View
  • ComponentsV2 ComponentsV2
  • Embeds & Other Components Embeds & Other Components
  • Message Message
  • Full Preview Full Preview

Installation

Requirements
  • Java 21+
Usage
<dependency>
  <groupId>dev.omardiaa</groupId>
  <artifactId>discord-channel-html-transcript</artifactId>
  <version>4.0.0</version>
</dependency>
implementation("dev.omardiaa:discord-channel-html-transcript:4.0.0")

Development

  1. Run TranscriberTest#transcribe(), an HTML file will appear in:

    • Windows: %TEMP%\discord-channel-html-transcript\transcript.html
    • macOS: /tmp/discord-channel-html-transcript/transcript.html
    • Linux: /tmp/discord-channel-html-transcript/transcript.html
  2. Modify CSS in style.css for live updates during development.

  3. Copy CSS in style.css to style.jte when done.

Enjoying My Work? Give it A Star!

Fiverr Reddit Discord