robius-matrix-integration

Solid

CRITICAL: Use for Matrix SDK integration with Makepad. Triggers on: Matrix SDK, sliding sync, MatrixRequest, timeline, matrix-sdk, matrix client, robrix, matrix room, Matrix 集成, 聊天客户端

AI & Automation 40,440 stars 6528 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Robius Matrix SDK Integration Skill Best practices for integrating external APIs with Makepad applications based on Robrix and Moly codebases. **Source codebases:** - **Robrix**: Matrix SDK integration - sliding sync, timeline subscriptions, real-time updates - **Moly**: OpenAI/LLM API integration - SSE streaming, MCP protocol, multi-provider support ## When to Use Use this skill when: - Integrating Matrix SDK with Makepad - Building a Matrix client with Makepad - Implementing Matrix features (rooms, timelines, messages) - Handling Matrix SDK async operations in UI - Keywords: matrix-sdk, matrix client, robrix, matrix timeline, matrix room, sliding sync ## Overview Robrix uses the `matrix-sdk` and `matrix-sdk-ui` crates to connect to Matrix homeservers. The key architectural decisions: 1. **Sliding Sync**: Uses native sliding sync for efficient room list updates 2. **Separate Runtime**: Tokio runtime runs Matrix operations, Makepad handles UI 3. **Request/Response Pattern**: UI sends requests, receives actions/updates back 4. **Per-Room Background Tasks**: Each room has dedicated timeline subscriber task ## MatrixRequest Pattern ### Request Enum Definition ```rust /// All async requests that can be made to the Matrix worker task pub enum MatrixRequest { /// Login requests Login(LoginRequest), Logout { is_desktop: bool }, /// Timeline operations PaginateRoomTimeline { room_id: OwnedRoomId, num_events: u16, direction: Pag...

Details

Author
sickn33
Repository
sickn33/antigravity-awesome-skills
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category