No description
Find a file
2026-02-11 09:26:12 +01:00
libmxclient go mod update 2026-02-11 07:26:32 +01:00
pygomx-module update readme 2026-02-10 14:49:35 +01:00
smal more gitignore 2026-02-11 09:26:12 +01:00
.gitignore little update. 2026-01-31 15:02:30 +01:00
compose.yaml little update. 2026-01-31 15:02:30 +01:00
Containerfile.debian rename package 2026-02-09 23:57:53 +01:00
README.txt update readme 2026-02-10 14:49:35 +01:00

monorepos to have the right versions together

libmxclient - golang matrix client library
pygomx-module - python binding package
smal - python matrix lib


just run the demobot (docker):

docker compose build demobot
docker compose run --rm demobot smalsetup <matrixid>
docker compose up -d demobot

the bot follows each invite (autojoin) and have two commands:
  !stop         - graceful shutdown
  !echo [text]  - in a DM the bot responds with 'text',
                  in regular rooms it is a reply.

install (venv):

    (create and activate a venv)

    cd pygomx-module
    pip install -r requirements.txt
    make install

    (run 'make clean' to remove any generated)

    cd ../smal
    pip install [-e] .

usage:

  cd into an empty dir (you might create one)

  smalsetup <matrixid>
    this command creates a credentials file (.mxpass) in the current dir.
    autopickup by all tools & bots that requires credentials, no further configuration required

  commands:
    mxdiscover
    mxwhoami
    mxtoken
    mxaccountinfo
    mxclearaccount
    mxserverinfo
    demobot

matrix room:
  #pygomx:matrix.org
  https://matrix.to/#/#pygomx:matrix.org