tyrrrz/discordchatexporter — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a cross platform app that lets someone save Discord chat history from channels, DMs, group chats, and servers into files they can keep and view offline.

I want both an easy desktop interface and a command line version. The user should be able to sign in with either a bot token or user token, choose which channel to export, pick a date range or filters, and save the result as HTML, TXT, CSV, or JSON. The HTML export should look nice in dark and light themes and preserve Discord style content like markdown, attachments, embeds, emoji, and other rich media as much as possible.

Please include sensible options for splitting large exports into multiple files, making self contained archives, and running the command line version in Docker. Add clear warnings that automating user accounts can violate Discord’s terms and that bots should be used when possible. Look up current Discord API docs online if you need to.

Want more depth? Deep Reverse