gesture-based-sync
CommunityUpdate APIs with gestures to prevent data loss.
System Documentation
What problem does it solve?
Data edits across distributed UI can lead to race conditions and data loss when multiple clients modify the same resource. Gesture-based-sync replaces full-state updates with atomic actions, enabling safer concurrency and easier reconciliation.
Core Features & Use Cases
- Action-based updates: Send user gestures (actions) instead of entire state blobs, enabling precise change tracking.
- Conflict detection & resolution: Backend computes the resulting state from actions and detects conflicts for safe merges.
- Offline and undo/redo support: Actions can be queued and replayed, enabling offline work and reversible edits.
Quick Start
Start by wiring action-based endpoints (e.g., POST /clips/{clip_id}/actions) and define action types such as add_crop_keyframe, move_crop_keyframe, delete_crop_keyframe. Then on the client, queue actions for offline scenarios and replay them in order, while the server applies each action atomically and updates the version. Example: post a payload { "action": "add_crop_keyframe", "data": { "frame": 100, "x": 50, "y": 50 } } to the actions endpoint.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: gesture-based-sync Download link: https://github.com/imankha/video-editor/archive/main.zip#gesture-based-sync Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.