diff --git a/Exporting-a-chat-with-docker.md b/Exporting-a-chat-with-docker.md new file mode 100644 index 0000000..954f386 --- /dev/null +++ b/Exporting-a-chat-with-docker.md @@ -0,0 +1,34 @@ +# Getting Docker (without docker account) +To avoid having to register for a docker account. + +Retrieved from: https://github.com/docker/docker.github.io/issues/6910 + +* Windows: https://download.docker.com/win/stable/Docker%20for%20Windows%20Installer.exe +* OSX: https://download.docker.com/mac/stable/Docker.dmg + +Install and run so that Docker is active. No need to login or register. + +---- +# Installing the Docker Image + +Retrieve the docker image for DiscordChatExporter +```docker pull tyrrrz/discordchatexporter``` + +# Getting the output. + +## The command to run docker: + +```docker run --rm -v ${PWD}:/app/out tyrrrz/discordchatexporter export -t "TOKEN" -c CHANNELID -f EXPORT_TYPE``` + +## What each part means: +* `-v ${PWD}:/app/out` - Puts the output in the current directly (mapping PWD to the internal /app/out folder). +* `TOKEN` & `CHANNELID` - See [Obtaining-Token-and-Channel-IDs] +* `EXPORT_TYPE` - One of these values: +** PlainText - Output is plain text format. +** HtmlDark - Output is in HTML with a dark background. (with links to images). +** HtmlLight - Same with light background and dark text. +** Csv - Output is in CSV format. + +## Output filename: + +```Direct Messages - USER NAME [CHANNELID].txt``` \ No newline at end of file