https://github.com/club-1/matrixtoken

Tool to let users of the system generate Matrix registration tokens

https://github.com/club-1/matrixtoken

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.6%) to scientific vocabulary

Keywords

matrix
Last synced: 10 months ago · JSON representation

Repository

Tool to let users of the system generate Matrix registration tokens

Basic Info
  • Host: GitHub
  • Owner: club-1
  • License: gpl-2.0
  • Language: Go
  • Default Branch: main
  • Homepage:
  • Size: 48.8 KB
Statistics
  • Stars: 2
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
matrix
Created 12 months ago · Last pushed 11 months ago
Metadata Files
Readme License

README.md

matrixtoken

build coverage

The Client-Server Matrix protocol allows to limit registrations based on tokens, Synapse support this feature and have an admin API to manage these tokens.

matrixtoken is a tool that allows users of the system to generate Matrix registration tokens from the homeserver admin API, without being admins themselves.

It is supposed to be used with the SUID mode to allow it to read its config file containing the admin's access token. See the example configuration file for all the available options.

After it has been installed and configured, users can simply run:

matrixtoken

Which will return a token with a limited amount of uses and an expiration date (by default 1 use and 30 days of validity).

Owner

  • Name: CLUB1
  • Login: club-1
  • Kind: organization

GitHub Events

Total
  • Push event: 9
  • Gollum event: 3
  • Create event: 3
Last Year
  • Push event: 9
  • Gollum event: 3
  • Create event: 3

Dependencies

go.mod go
  • github.com/BurntSushi/toml v1.5.0
go.sum go
  • github.com/BurntSushi/toml v1.5.0