eimis-ans / discovery-rooms

some scripts to automate the creation of discovery rooms mecanism on matrix server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

discovery-rooms

⚠️ This project archived, see EIMIS Synapse tools project and do :

python3 src/main.py setup-discoveryroom  -r matrix.develop.eimis.incubateur.net 

A script to automate the creation of a discovery room and add all users to it.

⚠️ A not scalable way for users to discover and contact people from other matrix instances

How to run

  • create a Python virtual env :

    python -m venv venv
  • install python dependencies :

    pip install -r requirements.txt
  • copy the .env_template and fill it with values

    cp .env_template .env
    vim .env
  • give it a try

    python3 src/main.py dry-run

    (it will still create the discoveryroom and dummy_user if they don't exist)

  • then run the join-users-to-discovery-room.sh script

    ./join-users-to-discovery-room.sh

    The result will be displayed in the /tmp/join-users-to-discovery-room.log file

About

some scripts to automate the creation of discovery rooms mecanism on matrix server

License:MIT License


Languages

Language:Python 99.0%Language:Shell 1.0%