mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-12 04:39:33 +00:00
Created Exporting a chat with docker (markdown)
34
Exporting-a-chat-with-docker.md
Normal file
34
Exporting-a-chat-with-docker.md
Normal file
@@ -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```
|
||||
Reference in New Issue
Block a user