Skip to main content

Matrix transport backend for Takopi

Project description

🐙 takopi-matrix

Matrix transport backend for takopi.

Features

  • Matrix protocol support via matrix-nio
  • End-to-end encryption (E2EE) by default
  • Voice message transcription (OpenAI Whisper)
  • File download support
  • Interactive onboarding wizard
  • Multi-room support with per-room engine defaults
  • Project-to-room binding

Requirements

  • Python ≥3.14
  • libolm 3.x (for E2EE)
  • takopi ≥0.18

Installation

1. Install libolm

Platform Command
Debian/Ubuntu sudo apt-get install libolm-dev
Fedora sudo dnf install libolm-devel
Arch Linux sudo pacman -S libolm
openSUSE sudo zypper install libolm-devel
macOS (Homebrew) brew install libolm

2. Install takopi-matrix

pip install takopi-matrix

Or with uv:

uv tool install takopi --with takopi-matrix

Configuration

Interactive Setup

takopi --onboard

Manual Configuration

Add to ~/.takopi/takopi.toml:

transport = "matrix"

[transports.matrix]
homeserver = "https://matrix.example.org"
user_id = "@bot:example.org"
access_token = "syt_your_access_token"
room_ids = ["!roomid:example.org"]

# Optional: per-room engine defaults
[transports.matrix.room_engines]
"!room1:example.org" = "claude"
"!room2:example.org" = "codex"

# Optional: project-to-room binding
[transports.matrix.room_projects]
"!room1:example.org" = "myproject"

Documentation

License

MIT

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

takopi_matrix-0.4.0.tar.gz (209.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

takopi_matrix-0.4.0-py3-none-any.whl (95.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: takopi_matrix-0.4.0.tar.gz
  • Upload date:
  • Size: 209.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for takopi_matrix-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c0dcafd96098715f0f501ad3c033a1044d815fe06224def8d80039b3de2b5130
MD5 66c43a5d1b838c15e70043d3d8a6f546
BLAKE2b-256 bc8e45c57328838d40f51acbce7381dfb665f7870a75572daab9dbf409cb19cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for takopi_matrix-0.4.0.tar.gz:

Publisher: release.yml on Zorro909/takopi-matrix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: takopi_matrix-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 95.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for takopi_matrix-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a97bcbdcf4284b7c4d9dcfc877ef65beea2ba0d79b18922d261550d842d8d567
MD5 e08f270164de5e1fd55da70abf64223e
BLAKE2b-256 7d2d93d0185a1c86d16a35f8db5976030cb37fe51fa540946bbc9add02474708

See more details on using hashes here.

Provenance

The following attestation bundles were made for takopi_matrix-0.4.0-py3-none-any.whl:

Publisher: release.yml on Zorro909/takopi-matrix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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