A Powershell tool to extract Messages/Files from Matrix rooms from a Matrix server without encoding and output it into Json files
Table of content
To archive you need to create a rooms.json file with the format
[
{
"rid" : "room id",
"u" : "room user id",
"p" : "room password"
}
]You can put as many room as you want in this array.
.\archive_room.ps1The optional arguments are:
| Argument | Default value | Description |
|---|---|---|
RoomsFile |
"room.json" | The room file, see this for more information |
Server |
"https://matrix.example.com" | The matrix server to connect |
DateFormat |
"yyyy/MM/dd HH:mm:ss" | Format for the date for each message in the json, see this for more information |