Created Exporting a chat with docker (markdown)

Nimja
2019-07-31 15:48:06 +02:00
parent a5e2a56058
commit 3c022e6cf7

@@ -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```