diff --git a/README.md b/README.md index ad5cb81..1c86bbe 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,17 @@ # redact-matrix -Script that redacts (erases) every message in a room. \ No newline at end of file +Script that redacts (erases) every message in a room. + +--- + +### Usage + +#### Get your access token + +On [Cinny](https://app.cinny.in) go to Firefox's Inspect tool, to the Storage tab, and copy your `cinny_access_token`. +Other apps may have a similar key with this value. + +![image](./image.jpg) + +Open the `redact_all_messages` script with your favorite text editor and set the value for `homeserver` with the domain of the matrix instance you're logged in, and the `access_token` with the value you just extracted from the browser. +