The Streamlit Mattermost Channel Post Exporter
The MM.C.P.E. is a little program that connects to your mattermost database directly. It reads the channels and presents them as a dropdown box. Selecting a channel allows you to export all messages in that channel together with the name of the poster. Exports can also be downloaded in CSV format.
- Create database.yaml
- see below: Configuration
- Create virtual environment
- python3 -m venv venv
- Activate the virtual environment
- source venv/bin/activate
- Install dependencies
- pip install -r requirements.txt
- Run the program
- streamlit run main.py
Open your web-browser http://localhost:8501 or over the network: http://xxx.xxx.xxx.xxx:8501
database.yaml should contain:
database:
host: <hostname or ip>
user: <database_username>
password: <database_password>
database: <database_name, ie mattermost>