Skip to content

Commit 05b5153

Browse files
authored
feat: Add Matrix messenger support via HTTP API (#119)
Implements MatrixCliMessenger using direct Matrix Client-Server API calls. No external CLI dependency - just REST calls to homeserver endpoints. Features: - Password and access token authentication - Send/receive messages via /sync - Room alias resolution - E2EE-compatible (delegates crypto to homeserver) - Configurable sync timeout and filters Part of tier 1 CLI-based messenger support (#115)
1 parent c97e638 commit 05b5153

File tree

3 files changed

+436
-1
lines changed

3 files changed

+436
-1
lines changed

crates/rustyclaw-core/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ web-tools = ["dep:scraper", "dep:html2md"]
2121
browser = ["dep:chromiumoxide"]
2222
mcp = ["dep:rmcp", "dep:schemars"]
2323
matrix = ["dep:matrix-sdk"]
24+
matrix-cli = [] # Matrix CLI messenger using HTTP API (no external deps)
2425
whatsapp = ["dep:wa-rs", "dep:wa-rs-sqlite-storage", "dep:wa-rs-tokio-transport", "dep:wa-rs-ureq-http"]
2526
signal-cli = []
2627
# NOTE: matrix excluded from all-messengers due to matrix-sdk 0.16 recursion limit bug.
2728
# Use `--features matrix` explicitly if needed.
28-
all-messengers = ["whatsapp", "signal-cli"]
29+
all-messengers = ["whatsapp", "signal-cli", "matrix-cli"]
2930
full = ["web-tools", "browser", "mcp", "all-messengers"]
3031

3132
[dependencies]

0 commit comments

Comments
 (0)