Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alallier/mattermost-export
A simple Python script that exports Mattermost chat data to various formats via the Mattermost API
https://github.com/alallier/mattermost-export
Last synced: about 1 month ago
JSON representation
A simple Python script that exports Mattermost chat data to various formats via the Mattermost API
- Host: GitHub
- URL: https://github.com/alallier/mattermost-export
- Owner: alallier
- License: mit
- Created: 2023-05-16T14:14:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-17T17:46:47.000Z (9 months ago)
- Last Synced: 2024-04-17T18:57:15.322Z (9 months ago)
- Language: Python
- Size: 27.3 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mattermost-Export
A simple Python script that exports Mattermost chat data to various formats via the Mattermost API
## Usage:
MMExport2PDF.py [options]
MMExport2PDF.py is used to export all a users channels and DMs from a team.
```
options:
-h, --help show this help message and exitUser Info:
-a AUTH, --auth AUTH Auth Token (default: None)
-u USER, --user USER Username of user to be exported (default: None)
-t TEAM, --team TEAM Team to export from (default: None)Server Info:
-s SERVER, --server SERVER
Hostname or IP of the server (default: mattermost.com)Channel Categories:
-p, --public Exclude public channels
-P, --private Exclude private channels
-g, --groups Exclude group messages
-d, --DMs Exclude direct messagesMessage Filters:
-I [INCLUDE ...], --include [INCLUDE ...]
Only inlcude these channels in the export. (default:
[])
-E [EXCLUDE ...], --exclude [EXCLUDE ...]
Exclude these channels from the export (default: [])Export Options:
-i, --images Embed images in PDF (default: False)
-f, --files Embed files in PDF (default: False)
-j, --json Export JSON (default: False)
-o OUTPUT, --output OUTPUT
Base output directory (default: ./users)
```This can take a long time to run.