Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/half-shot/matrixhelper
https://github.com/half-shot/matrixhelper
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/half-shot/matrixhelper
- Owner: Half-Shot
- Created: 2021-02-23T11:46:21.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-15T09:08:33.000Z (10 months ago)
- Last Synced: 2024-04-29T00:16:12.098Z (9 months ago)
- Language: TypeScript
- Size: 134 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# matrixhelper
This repo contains a collection of useful scripts to run when you are administering servers or
bridges and need to do repetitive tasks.Installing is a case of
```sh
yarn
# or
npm i
```Running them is fairly trivial:
```
export MX_HOMESERVER="https://matrix.org"
export MX_ACCESS_TOKEN="secret"
export MX_APPSERVICE_TOKEN="secret" # ORexport MX_ROOM_ID="!room:domain" # If targetting a room
export MX_ROOM_VIA="matrix.org"USER_TO_POWER="@Half-Shot:half-shot.uk" USER_POWER=100 yarn run op-user
#or
USER_TO_POWER="@Half-Shot:half-shot.uk" USER_POWER=100 npm run run op-user
```## Help
This repo is mostly worked on as part of my role as Bridge lead at [element.io](https://element.io).
Feel free to sling me a [DM on Matrix](matrix:u/Half-Shot:half-shot.uk?action=chat) if you need help.