Skip to main content

Matrix client network daemon using matrix-nio

Project description

nuqql-matrixd-nio

nuqql-matrixd-nio is a network daemon that implements the nuqql interface and uses matrix-nio to connect to Matrix chat networks. It can be used as a backend for nuqql or as a standalone chat client daemon.

nuqql-matrixd-nio's dependencies are:

Quick Start

Make sure you have libolm installed.

You can install nuqql-matrixd-nio and its other dependencies, for example, with pip for your user only with the following command:

$ pip install --user nuqql-matrixd-nio

After the installation, you can run nuqql-matrixd-nio by running the nuqql-matrixd-nio command:

$ nuqql-matrixd-nio

By default, it listens on TCP port 32000 on your local host. So, you can connect with, e.g., telnet to it with the following command:

$ telnet localhost 32000

In the telnet session you can:

  • add Matrix accounts with: account add matrix <account> <password>.
    • Note: the format of <account> is <username>@<homeserver>, e.g., dummy_user@matrix.org.
  • retrieve the list of accounts and their numbers/IDs with account list.
  • retrieve your buddy/room list with account <id> buddies or account <id> chat list
  • send a message to a room with account <id> chat send <room> <message>
  • get a list of commands with help

Usage

See nuqql-matrixd-nio --help for a list of command line arguments:

usage: nuqql-matrixd-nio [--address ADDRESS] [--af {inet,unix}] [-d] [--dir
DIR] [--disable-history] [--filter-own] [-h] [--loglevel
{debug,info,warn,error}] [--port PORT] [--push-accounts] [--sockfile SOCKFILE]
[--version]

Run nuqql backend matrixd-nio.

optional arguments:
  --address ADDRESS     set AF_INET listen address
  --af {inet,unix}      set socket address family: "inet" for AF_INET, "unix"
                        for AF_UNIX
  -d, --daemonize       daemonize process
  --dir DIR             set working directory
  --disable-history     disable message history
  --filter-own          enable filtering of own messages
  -h, --help            show this help message and exit
  --loglevel {debug,info,warn,error}
                        set logging level
  --port PORT           set AF_INET listen port
  --push-accounts       enable pushing accounts to client
  --sockfile SOCKFILE   set AF_UNIX socket file in DIR
  --version             show program's version number and exit

Changes

  • v0.4.0:
    • Update matrix-nio to v0.25.2
    • Show call events
  • v0.3.4:
    • Update matrix-nio to v0.24.0
  • v0.3.3:
    • Update matrix-nio to v0.21.2
  • v0.3.2:
    • Update matrix-nio to v0.20.1
  • v0.3.1:
    • Update matrix-nio to v0.20.0
  • v0.3.0:
    • Update matrix-nio to v0.19.0
  • v0.2.0:
    • Update nuqql-based to v0.3.0, switch to asyncio, require python version >= 3.7.
    • Add welcome and account adding help messages.
    • Disable filtering of own messages, rewrite sender of own messages to <self>
  • v0.1.0:
    • First/initial release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nuqql_matrixd_nio-0.4.0.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

nuqql_matrixd_nio-0.4.0-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file nuqql_matrixd_nio-0.4.0.tar.gz.

File metadata

  • Download URL: nuqql_matrixd_nio-0.4.0.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for nuqql_matrixd_nio-0.4.0.tar.gz
Algorithm Hash digest
SHA256 85a14a576fe02278b74e84807445c88242e805d97eae8c00e481b9d789511bd0
MD5 b7f9f76266f6ef3802d99d7229835694
BLAKE2b-256 4970103b278141bdf54725e5d537f025dc55140ea944be6a24b8431407e613ab

See more details on using hashes here.

File details

Details for the file nuqql_matrixd_nio-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nuqql_matrixd_nio-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a267df2b37b22d6b0a89065abcd6b8aa39bf0a48bc2169e607f68298aa8d7409
MD5 2f522866a5c73449a75968c5d24bf4b3
BLAKE2b-256 9113e3e43806a5790cc615b67fe22acfd56da76ea4503c2b23a6c46b0d31eb68

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page