Destroyed Exporting a chat with docker (markdown)

Yudi
2019-08-07 17:14:28 -03:00
parent bf23d9a0a2
commit 99563a70ed

@@ -1,34 +0,0 @@
# 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](https://github.com/Tyrrrz/DiscordChatExporter/wiki/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```