DiscordChatExporter/scrape.env.example
Boden 57d472f8e8 fix(scrape): auth discovery, skip forbidden channels, mount host script
Discover Discord tokens from env, token files, GUI Settings.dat, and desktop
leveldb; bind-mount the host scrape script so container preflight uses
partition/--after cursors; skip inaccessible channels without aborting targets;
fix set -e and busybox mktemp for incremental exports under ~/Documents.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-28 14:57:16 -05:00

21 lines
1,015 B
Plaintext

# Copy this file to scrape.env and fill in your real values.
DISCORD_TOKEN=
# Optional: file whose first line contains DISCORD_TOKEN. Useful for token rotation without editing this env file.
# Standard locations also auto-discovered: .discord-token (repo root) and ~/.config/discord-scrape/token
DISCORD_TOKEN_FILE=
# Optional: DiscordChatExporter GUI Settings.dat (encrypted LastToken decrypted on same machine)
# DISCORDCHATEXPORTER_SETTINGS_PATH=/path/to/Settings.dat
# Optional (manual runs only): command to refresh Discord auth/session before one retry.
# Optional absolute path to an executable reauth script under the repository root.
# Example: DCE_REAUTH_COMMAND="/path/to/repo/scripts/reauth-discord.sh"
DCE_REAUTH_COMMAND=
TZ=UTC
# Match these to the host user that should own created files.
DCE_UID=1000
DCE_GID=1000
# For rootless podman, set this to keep-id so mounted archive roots stay writable.
# Leave it empty on Docker unless you explicitly need a user namespace mode there.
DCE_USERNS_MODE=