Files
matrix-amnesia/README.md
T

36 lines
1.4 KiB
Markdown
Raw Normal View History

2026-02-10 10:54:02 +01:00
## MatrixAmnesia
2026-02-10 10:21:19 +01:00
MatrixAmnesia is a simple script for removing user messages from Matrix room
2026-02-10 10:54:02 +01:00
It depends on matrix-nio python lib.
```commandline
usage: matrix_amnesia.py [-h] -s SERVER -u USER -p PASSWORD -r ROOM [-i INTERVAL]
This program finds all messages in Matrix room and sends redact requests for them.
options:
-h, --help show this help message and exit
-s, --server SERVER homeserver, for example 'https://matrix.org'
-u, --user USER user id, for example '@user:matrix.org'
-p, --password PASSWORD user password
-r, --room ROOM room ID from which to delete messages
-i, --interval INTERVAL interval in seconds between redaction requests
```
*This program is free software: you can redistribute it and/or modify*
*it under the terms of the GNU General Public License as published by*
*the Free Software Foundation, either version 3 of the License, or*
*(at your option) any later version.*
*This program is distributed in the hope that it will be useful,*
*but WITHOUT ANY WARRANTY; without even the implied warranty of*
*MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the*
*GNU General Public License for more details.*
*You should have received a copy of the GNU General Public License*
*along with this program. If not, see <https://www.gnu.org/licenses/>.*
Copyright (C) 2026 Kirill Shakirov