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.2.0.tar.gz (128.5 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.2.0-py3-none-any.whl (57.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: takopi_matrix-0.2.0.tar.gz
  • Upload date:
  • Size: 128.5 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.2.0.tar.gz
Algorithm Hash digest
SHA256 231a828f9e49eb55056e16db4ea4bf98b688e4dec49f3bd966c8013c8628f0ba
MD5 1183a729fb4e7679e3fcaae0d3bc9257
BLAKE2b-256 4e083f1cecf749937fc447317f6ea9a1f76da0908ebda41c7111fb6870ad800e

See more details on using hashes here.

Provenance

The following attestation bundles were made for takopi_matrix-0.2.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.2.0-py3-none-any.whl.

File metadata

  • Download URL: takopi_matrix-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 57.0 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 08c5d20478226c015539ebccad03625bf5787995d9b019630bb5d4d88de05241
MD5 62171b9a1b2fa34ae463fae3ef14d358
BLAKE2b-256 8f03a16f740f4cb4d0a557b64f0602aaf5d933d542d1c54047662101a05c29ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for takopi_matrix-0.2.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