You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2026/05/26 15:28:42 UTC

[I] feat(tools/matrix): chat bridge for projects whose primary chat is Matrix / Element [airflow-steward]

potiuk opened a new issue, #309:
URL: https://github.com/apache/airflow-steward/issues/309

   Add `tools/matrix/` to bridge Matrix homeservers (Synapse, Dendrite, conduwuit) for projects whose primary chat lives there. Federated, decentralised — different operational model than Slack/Zulip, so the bridge needs to handle homeserver discovery and per-room access.
   
   **Suggested capabilities:**
   
   - `room list` / `room view <id>` — joined rooms + recent timeline
   - `messages <room> --since <ts>` — paginated room history via the standard `/rooms/{roomId}/messages` endpoint
   - `search <query>` — server-side search where the homeserver enables it
   - `user <mxid>` — profile + presence
   - `message send <room> --body-file <path>` — write (gated on explicit confirmation)
   
   **Why:** Matrix is primary chat for **KDE** (matrix.kde.org), **Mozilla** (chat.mozilla.org), **NixOS** (`#nixos:nixos.org`), **F-Droid**, **GNOME** (in transition from IRC), **Element / Matrix.org itself**, **Tor**, **GIMP**, **The Document Foundation (LibreOffice)**, and ~all of the post-IRC migration set. Without it, the framework can't bridge to a major subset of OSS chat.
   
   **Reference:**
   
   - Matrix Client-Server API: https://spec.matrix.org/latest/client-server-api/
   - `matrix-nio` (Python) is a clean SDK
   - Existing Slack integration gives a reference shape for the chat-bridge surface
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] feat(tools/matrix): chat bridge for projects whose primary chat is Matrix / Element [magpie]

Posted by "leninworld (via GitHub) via commits" <co...@magpie.apache.org>.
leninworld commented on issue #309:
URL: https://github.com/apache/magpie/issues/309#issuecomment-6635945044

   AI-generated proposal: I'd like to work on this. The plan is a stdlib-Python CLI under `tools/chat-matrix/` (the authoring guide's naming; happy to use `tools/matrix/` as in the title instead). It would implement the existing `contract:chat` verbs over public rooms, plus the other operations listed here: joined rooms and timeline, paginated `messages --since`, server-side search (with a clear error where the homeserver doesn't support it), profile and presence, and `message send`, which does nothing without explicit confirmation. It would also cover `.well-known` homeserver discovery pinned in config, a token kept under `$HOME`, and actionable access errors. Encrypted rooms would be reported as unreadable or unsendable rather than skipped; end-to-end decryption is out of scope unless you want it.
   
   One question before I start. `tools/chat/` is read-only and public-only, and `docs/adapters/authoring.md` asks for a contract to be proposed before implementing a capability that has none. Sending and reading private joined rooms don't fit `contract:chat`. Would you prefer (a) a short contract proposal for those first, then the adapter, or (b) declaring an existing capability you'd point me to? I'd default to (a) and leave `contract:chat` unchanged either way. Nothing is implemented or tested yet.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org