A simple tool for running dendrite admin commands more easily
Go to file
2023-06-30 18:14:42 -07:00
src Remove middleware impl as it's noise 2023-06-30 18:02:27 -07:00
.gitignore Basic password changing with prompt. 2023-06-30 17:57:38 -07:00
Cargo.lock Basic password changing with prompt. 2023-06-30 17:57:38 -07:00
Cargo.toml Basic password changing with prompt. 2023-06-30 17:57:38 -07:00
README.org No toc 2023-06-30 18:14:42 -07:00

matrix-dendrite-admin

Simple administration commandline application for the Dendrite server. Check out information on the Dendrite Admin API, here.

To use

Install with cargo as usual. Place an .env file in the working directory and fill out the following variables (KEY=VALUE):

  • ACCESS_TOKEN - Your account's access token, which can be found in Settings -> Help & About -> Advanced -> Access Token
  • INSTANCE_URL - full URL to your instance (this may be removed eventually)
  • INSTANCE_DOMAIN - the domain used for user accounts (after the colon).

You may instead supply ACCESS_TOKEN as a normal environment variable if you don't want to store that information on disk.

You can now run the application and change someone's password by following the prompts.

Achieved

Basic password reset endpoint

Goals

TODO whois query on a user

TODO Resolve instance redirection automatically

TODO TUI interface

TODO Refresh devices

TODO Evacuating a room

TODO Evacuating a user from all rooms

TODO Reindexing fulltext search

TODO Purging a room