How arpan-jain-2006/clipy works
Clipy combines a desktop recorder with local transcription and moment extraction, producing shareable and agent-readable recordings. The principal flow is user-selected capture through native recording, transcript and moment processing, then local export or cloud sharing. The graph retains documented AI/video-ingestion and agent integrations, but sampled evidence is limited; unsampled feature links are omitted rather than inferred.
Main entry points: mod.rs Local runtime · bridge.ts Native bridge · commands.rs Native commands · recording.rs Recording runtime
Components 24
Desktop experience
- App routes
desktop/src/App.tsx - Recording setup
desktop/src/routes/Home.tsx - Recorder settings
desktop/src/components/recorder/SettingsSheet.tsx - Native bridge
desktop/src/lib/bridge.ts - Local preferences
desktop/src/edition-local/LocalPreferences.tsx
Capture and recording
- Native commands
desktop/src-tauri/src/commands.rs - Recording runtime
desktop/src-tauri/src/recording.rs - Capture engine
packages/capture/src/capture.ts - FFmpeg arguments
packages/capture/src/ffmpegArgs.ts - Cursor tracking
desktop/src-tauri/src/cursor_track.rs
Local intelligence
- Local runtime
desktop/src-tauri/src/local/mod.rs - Local speech recognition
desktop/src-tauri/crates/clipy-local-stt/src/engine.rs - Audio preparation
desktop/src-tauri/crates/clipy-local-stt/src/audio.rs - Local configuration
packages/config/src/index.ts - Moment planning
packages/moments/src/index.ts - Model provider
packages/moments/src/llm.ts
Recording outputs
- AREC handoff
desktop/src-tauri/crates/clipy-local-edition/src/transcript.rs - Share destination
desktop/src/edition-local/LocalDestination.tsx - Recording viewer
desktop/src/routes/Viewer.tsx
Agent integrations
- Video or screen
- Watch workflow
- Record plugin
plugins/clipy-record/hooks/register.tsx
Other components
- Recorder
- AI agent
Connections 23
- Recorder → App routes: uses
README.md - App routes → Recording setup: routes to
desktop/src/App.tsx - Recording setup → Native bridge: requests capture
desktop/src/routes/Home.tsx - Recorder settings → Native bridge: updates settings
desktop/src/components/recorder/SettingsSheet.tsx - Native bridge → Native commands: invokes
desktop/src/lib/bridge.ts - Native commands → Recording runtime: dispatches
- Recording runtime → Capture engine: captures media
- Capture engine → FFmpeg arguments: builds arguments
packages/capture/src/capture.ts - Recording runtime → Cursor tracking: tracks pointer
- Native commands → Local runtime: dispatches local
desktop/src-tauri/src/local/mod.rs - Local runtime → Local speech recognition: runs transcription
- Local speech recognition → Audio preparation: processes audio
desktop/src-tauri/crates/clipy-local-stt/src/engine.rs - Local preferences → Local configuration: configures
desktop/src/edition-local/LocalPreferences.tsx - Local runtime → Moment planning: plans moments
- Moment planning → Model provider: requests model
packages/moments/src/index.ts - Local runtime → AREC handoff: builds handoff
- AREC handoff → AI agent: provides context
README.md - Local runtime → Share destination: offers destination
- Share destination → Recording viewer: opens recording
- Video or screen → Watch workflow: submits video
README.md - Watch workflow → AI agent: returns context
README.md - Record plugin → Native bridge: starts recording
- Recorder → Record plugin: initiates
README.md