repo.no_desc
  • JavaScript 100%
Go to file
2022-02-26 09:01:00 -08:00
.gitignore Fix: functionality in encrypted rooms 2022-02-26 04:09:29 -08:00
config.example.json first commit 2022-01-22 13:01:53 -05:00
index.js Fix: functionality in encrypted rooms 2022-02-26 04:09:29 -08:00
LICENSE.md first commit 2022-01-22 13:01:53 -05:00
package.json first commit 2022-01-22 13:01:53 -05:00
pnpm-lock.yaml first commit 2022-01-22 13:01:53 -05:00
README.md Update README.md 2022-02-26 09:01:00 -08:00

matrix-redact (fork/mirror)

Redact all your Matrix events in a room.

⚠️ This will put a lot of load on your homeserver, it's probably not be a good idea to run this on large rooms or on public homeservers.

Currently only redacts messages and images but other event types can be added easily.

Usage

Install node_modules

[npm/pnpm/yarn] install

Edit config.json with your credentials.

cp config.example.json config.json
[your favorite text editor] config.json

You can find the base URL by going to https://your-homeserver.tld/.well-known/matrix/client and the access token can be found in Settings > Help & About on Element.

node . -r "INTERNAL_ROOM_ID"

The internal room ID can be found by clicking on the room name then Settings > Advanced