Skip to content

feat(transcripts): add PDF branding and archive attachment support - #215

Open
DivyamGoyal15 wants to merge 5 commits into
open-discord-bots:mainfrom
DivyamGoyal15:feat/pdf-transcripts-attachments
Open

feat(transcripts): add PDF branding and archive attachment support#215
DivyamGoyal15 wants to merge 5 commits into
open-discord-bots:mainfrom
DivyamGoyal15:feat/pdf-transcripts-attachments

Conversation

@DivyamGoyal15

Copy link
Copy Markdown

Summary

Adds optional PDF transcript support improvements while keeping existing HTML transcript behavior unchanged.

Changes

  • Added PDF transcript generation
  • Added attachment metadata in PDF transcripts
  • Added PDF branding/customization config
  • Added configurable PDF colors, layout, footer, title, and branding options
  • Fixed blank/empty PDF page generation
  • Added support for archive/compressed attachments such as .zip, .tar.gz, .rar, .7z, etc.
  • Archive files are listed in the PDF and can be sent separately with the transcript output
  • Added safe file-size limits and fallback handling

Backwards Compatibility

HTML transcripts remain unchanged. Existing users should not be affected unless PDF transcript options are enabled.

Testing

  • Ran npm run build
  • Tested PDF transcript generation
  • Tested attachment metadata
  • Tested PDF customization config
  • Tested archive attachment handling
  • Confirmed the compare page shows the branch is able to merge

Notes

Sensitive values are not included. Runtime secrets should be configured outside the repository.

@DJj123dj

Copy link
Copy Markdown
Member

Wow, looks nice! It will take a while to check, test and merge everything in v4.3. But from the first sight it already looks amazing! Thank you for contributing

@DJj123dj
DJj123dj self-requested a review June 13, 2026 07:07
@DJj123dj DJj123dj added HTML Transcripts An issue or improvement related to the HTML Transcripts service. Major Feature A large feature request which affects a larger portion of the bot Framework An issue related to the Open Discord framework labels Jun 13, 2026
@DivyamGoyal15

Copy link
Copy Markdown
Author

Thankyou! and can i make New features like in Databases?

@DJj123dj

Copy link
Copy Markdown
Member

Thankyou! and can i make New features like in Databases?

Creating new features which include database changes are a little bit more difficult because it also requires backwards compatibility, migration, etc. And config/database changes are only allowed in major versions (e.g. v4.2, v4.3, ...)

I recommend that you first open an issue with the feature you want to implement instead of directly creating pull requests. Certain features can better be added by plugins instead of in the core bot. And other features must be added to the Open Discord framework instead of Open Ticket itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Framework An issue related to the Open Discord framework HTML Transcripts An issue or improvement related to the HTML Transcripts service. Major Feature A large feature request which affects a larger portion of the bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants