markupr 2.1.8 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +196 -15
- package/dist/cli/index.mjs +2000 -0
- package/dist/main/index.mjs +743 -220
- package/dist/mcp/index.mjs +2719 -0
- package/package.json +21 -6
- package/.claude/commands/review-feedback.md +0 -47
- package/.eslintrc.json +0 -35
- package/.github/CODEOWNERS +0 -16
- package/.github/FUNDING.yml +0 -1
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -56
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -54
- package/.github/PULL_REQUEST_TEMPLATE.md +0 -89
- package/.github/dependabot.yml +0 -70
- package/.github/workflows/ci.yml +0 -184
- package/.github/workflows/deploy-landing.yml +0 -134
- package/.github/workflows/nightly.yml +0 -288
- package/.github/workflows/release.yml +0 -318
- package/CHANGELOG.md +0 -127
- package/CLAUDE.md +0 -137
- package/CODE_OF_CONDUCT.md +0 -9
- package/CONTRIBUTING.md +0 -390
- package/PRODUCT_VISION.md +0 -277
- package/SECURITY.md +0 -51
- package/SIGNING_INSTRUCTIONS.md +0 -284
- package/assets/DMG_BACKGROUND_INSTRUCTIONS.md +0 -130
- package/assets/svg-source/dmg-background.svg +0 -70
- package/assets/svg-source/icon.svg +0 -20
- package/assets/svg-source/tray-icon-processing.svg +0 -7
- package/assets/svg-source/tray-icon-recording.svg +0 -7
- package/assets/svg-source/tray-icon.svg +0 -6
- package/assets/tray-complete.png +0 -0
- package/assets/tray-complete@2x.png +0 -0
- package/assets/tray-completeTemplate.png +0 -0
- package/assets/tray-completeTemplate@2x.png +0 -0
- package/assets/tray-error.png +0 -0
- package/assets/tray-error@2x.png +0 -0
- package/assets/tray-errorTemplate.png +0 -0
- package/assets/tray-errorTemplate@2x.png +0 -0
- package/assets/tray-icon-processing.png +0 -0
- package/assets/tray-icon-processing@2x.png +0 -0
- package/assets/tray-icon-processingTemplate.png +0 -0
- package/assets/tray-icon-processingTemplate@2x.png +0 -0
- package/assets/tray-icon-recording.png +0 -0
- package/assets/tray-icon-recording@2x.png +0 -0
- package/assets/tray-icon-recordingTemplate.png +0 -0
- package/assets/tray-icon-recordingTemplate@2x.png +0 -0
- package/assets/tray-icon.png +0 -0
- package/assets/tray-icon@2x.png +0 -0
- package/assets/tray-iconTemplate.png +0 -0
- package/assets/tray-iconTemplate@2x.png +0 -0
- package/assets/tray-idle.png +0 -0
- package/assets/tray-idle@2x.png +0 -0
- package/assets/tray-idleTemplate.png +0 -0
- package/assets/tray-idleTemplate@2x.png +0 -0
- package/assets/tray-processing-0.png +0 -0
- package/assets/tray-processing-0@2x.png +0 -0
- package/assets/tray-processing-0Template.png +0 -0
- package/assets/tray-processing-0Template@2x.png +0 -0
- package/assets/tray-processing-1.png +0 -0
- package/assets/tray-processing-1@2x.png +0 -0
- package/assets/tray-processing-1Template.png +0 -0
- package/assets/tray-processing-1Template@2x.png +0 -0
- package/assets/tray-processing-2.png +0 -0
- package/assets/tray-processing-2@2x.png +0 -0
- package/assets/tray-processing-2Template.png +0 -0
- package/assets/tray-processing-2Template@2x.png +0 -0
- package/assets/tray-processing-3.png +0 -0
- package/assets/tray-processing-3@2x.png +0 -0
- package/assets/tray-processing-3Template.png +0 -0
- package/assets/tray-processing-3Template@2x.png +0 -0
- package/assets/tray-processing.png +0 -0
- package/assets/tray-processing@2x.png +0 -0
- package/assets/tray-processingTemplate.png +0 -0
- package/assets/tray-processingTemplate@2x.png +0 -0
- package/assets/tray-recording.png +0 -0
- package/assets/tray-recording@2x.png +0 -0
- package/assets/tray-recordingTemplate.png +0 -0
- package/assets/tray-recordingTemplate@2x.png +0 -0
- package/build/DMG_BACKGROUND_SPEC.md +0 -50
- package/build/dmg-background.png +0 -0
- package/build/dmg-background@2x.png +0 -0
- package/build/entitlements.mac.inherit.plist +0 -27
- package/build/entitlements.mac.plist +0 -41
- package/build/favicon-16.png +0 -0
- package/build/favicon-180.png +0 -0
- package/build/favicon-192.png +0 -0
- package/build/favicon-32.png +0 -0
- package/build/favicon-48.png +0 -0
- package/build/favicon-512.png +0 -0
- package/build/favicon-64.png +0 -0
- package/build/icon-128.png +0 -0
- package/build/icon-16.png +0 -0
- package/build/icon-24.png +0 -0
- package/build/icon-256.png +0 -0
- package/build/icon-32.png +0 -0
- package/build/icon-48.png +0 -0
- package/build/icon-64.png +0 -0
- package/build/icon.icns +0 -0
- package/build/icon.ico +0 -0
- package/build/icon.iconset/icon_128x128.png +0 -0
- package/build/icon.iconset/icon_128x128@2x.png +0 -0
- package/build/icon.iconset/icon_16x16.png +0 -0
- package/build/icon.iconset/icon_16x16@2x.png +0 -0
- package/build/icon.iconset/icon_256x256.png +0 -0
- package/build/icon.iconset/icon_256x256@2x.png +0 -0
- package/build/icon.iconset/icon_32x32.png +0 -0
- package/build/icon.iconset/icon_32x32@2x.png +0 -0
- package/build/icon.iconset/icon_512x512.png +0 -0
- package/build/icon.iconset/icon_512x512@2x.png +0 -0
- package/build/icon.png +0 -0
- package/build/installer-header.bmp +0 -0
- package/build/installer-header.png +0 -0
- package/build/installer-sidebar.bmp +0 -0
- package/build/installer-sidebar.png +0 -0
- package/build/installer.nsh +0 -45
- package/build/overlay-processing.png +0 -0
- package/build/overlay-recording.png +0 -0
- package/build/toolbar-record.png +0 -0
- package/build/toolbar-screenshot.png +0 -0
- package/build/toolbar-settings.png +0 -0
- package/build/toolbar-stop.png +0 -0
- package/dist/preload/index.mjs +0 -907
- package/dist/renderer/assets/index-CCmUjl9K.js +0 -19495
- package/dist/renderer/assets/index-CUqz_Gs6.css +0 -2270
- package/dist/renderer/index.html +0 -27
- package/docs/AI_AGENT_QUICKSTART.md +0 -42
- package/docs/AI_PIPELINE_DESIGN.md +0 -595
- package/docs/API.md +0 -514
- package/docs/ARCHITECTURE.md +0 -460
- package/docs/CONFIGURATION.md +0 -336
- package/docs/DEVELOPMENT.md +0 -508
- package/docs/EXPORT_FORMATS.md +0 -451
- package/docs/GETTING_STARTED.md +0 -236
- package/docs/KEYBOARD_SHORTCUTS.md +0 -334
- package/docs/TROUBLESHOOTING.md +0 -418
- package/docs/landing/index.html +0 -672
- package/docs/landing/script.js +0 -342
- package/docs/landing/styles.css +0 -1543
- package/electron-builder.yml +0 -140
- package/electron.vite.config.ts +0 -63
- package/railway.json +0 -12
- package/scripts/build.mjs +0 -51
- package/scripts/generate-icons.mjs +0 -314
- package/scripts/generate-installer-images.cjs +0 -253
- package/scripts/generate-tray-icons.mjs +0 -258
- package/scripts/notarize.cjs +0 -180
- package/scripts/one-click-clean-test.sh +0 -147
- package/scripts/postinstall.mjs +0 -36
- package/scripts/setup-markupr.sh +0 -55
- package/setup +0 -17
- package/site/index.html +0 -1835
- package/site/package.json +0 -11
- package/site/railway.json +0 -12
- package/site/server.js +0 -31
- package/src/main/AutoUpdater.ts +0 -392
- package/src/main/CrashRecovery.ts +0 -655
- package/src/main/ErrorHandler.ts +0 -703
- package/src/main/HotkeyManager.ts +0 -399
- package/src/main/MenuManager.ts +0 -529
- package/src/main/PermissionManager.ts +0 -420
- package/src/main/SessionController.ts +0 -1465
- package/src/main/TrayManager.ts +0 -540
- package/src/main/ai/AIPipelineManager.ts +0 -199
- package/src/main/ai/ClaudeAnalyzer.ts +0 -339
- package/src/main/ai/ImageOptimizer.ts +0 -176
- package/src/main/ai/StructuredMarkdownBuilder.ts +0 -379
- package/src/main/ai/index.ts +0 -16
- package/src/main/ai/types.ts +0 -258
- package/src/main/analysis/ClarificationGenerator.ts +0 -385
- package/src/main/analysis/FeedbackAnalyzer.ts +0 -531
- package/src/main/analysis/index.ts +0 -19
- package/src/main/audio/AudioCapture.ts +0 -978
- package/src/main/audio/audioUtils.ts +0 -100
- package/src/main/audio/index.ts +0 -20
- package/src/main/capture/index.ts +0 -1
- package/src/main/index.ts +0 -1693
- package/src/main/ipc/captureHandlers.ts +0 -272
- package/src/main/ipc/index.ts +0 -45
- package/src/main/ipc/outputHandlers.ts +0 -302
- package/src/main/ipc/sessionHandlers.ts +0 -56
- package/src/main/ipc/settingsHandlers.ts +0 -471
- package/src/main/ipc/types.ts +0 -56
- package/src/main/ipc/windowHandlers.ts +0 -277
- package/src/main/output/ClipboardService.ts +0 -369
- package/src/main/output/ExportService.ts +0 -539
- package/src/main/output/FileManager.ts +0 -416
- package/src/main/output/MarkdownGenerator.ts +0 -791
- package/src/main/output/MarkdownPatcher.ts +0 -299
- package/src/main/output/index.ts +0 -186
- package/src/main/output/sessionAdapter.ts +0 -207
- package/src/main/output/templates/html-template.ts +0 -553
- package/src/main/pipeline/FrameExtractor.ts +0 -330
- package/src/main/pipeline/PostProcessor.ts +0 -399
- package/src/main/pipeline/TranscriptAnalyzer.ts +0 -226
- package/src/main/pipeline/index.ts +0 -36
- package/src/main/platform/WindowsTaskbar.ts +0 -600
- package/src/main/platform/index.ts +0 -16
- package/src/main/settings/SettingsManager.ts +0 -730
- package/src/main/settings/index.ts +0 -19
- package/src/main/transcription/ModelDownloadManager.ts +0 -494
- package/src/main/transcription/TierManager.ts +0 -219
- package/src/main/transcription/TranscriptionRecoveryService.ts +0 -340
- package/src/main/transcription/WhisperService.ts +0 -748
- package/src/main/transcription/index.ts +0 -56
- package/src/main/transcription/types.ts +0 -135
- package/src/main/windows/PopoverManager.ts +0 -284
- package/src/main/windows/TaskbarIntegration.ts +0 -452
- package/src/main/windows/index.ts +0 -23
- package/src/preload/index.ts +0 -1047
- package/src/renderer/App.tsx +0 -515
- package/src/renderer/AppWrapper.tsx +0 -28
- package/src/renderer/assets/logo-dark.svg +0 -7
- package/src/renderer/assets/logo.svg +0 -7
- package/src/renderer/audio/AudioCaptureRenderer.ts +0 -454
- package/src/renderer/capture/ScreenRecordingRenderer.ts +0 -492
- package/src/renderer/components/AnnotationOverlay.tsx +0 -836
- package/src/renderer/components/AudioWaveform.tsx +0 -811
- package/src/renderer/components/ClarificationQuestions.tsx +0 -656
- package/src/renderer/components/CountdownTimer.tsx +0 -495
- package/src/renderer/components/CrashRecoveryDialog.tsx +0 -632
- package/src/renderer/components/DonateButton.tsx +0 -127
- package/src/renderer/components/ErrorBoundary.tsx +0 -308
- package/src/renderer/components/ExportDialog.tsx +0 -872
- package/src/renderer/components/HotkeyHint.tsx +0 -261
- package/src/renderer/components/KeyboardShortcuts.tsx +0 -787
- package/src/renderer/components/ModelDownloadDialog.tsx +0 -844
- package/src/renderer/components/Onboarding.tsx +0 -1830
- package/src/renderer/components/ProcessingOverlay.tsx +0 -157
- package/src/renderer/components/RecordingOverlay.tsx +0 -423
- package/src/renderer/components/SessionHistory.tsx +0 -1746
- package/src/renderer/components/SessionReview.tsx +0 -1321
- package/src/renderer/components/SettingsPanel.tsx +0 -217
- package/src/renderer/components/Skeleton.tsx +0 -347
- package/src/renderer/components/StatusIndicator.tsx +0 -86
- package/src/renderer/components/ThemeProvider.tsx +0 -429
- package/src/renderer/components/Tooltip.tsx +0 -370
- package/src/renderer/components/TranscriptionPreview.tsx +0 -183
- package/src/renderer/components/TranscriptionTierSelector.tsx +0 -640
- package/src/renderer/components/UpdateNotification.tsx +0 -377
- package/src/renderer/components/WindowSelector.tsx +0 -947
- package/src/renderer/components/index.ts +0 -99
- package/src/renderer/components/primitives/ApiKeyInput.tsx +0 -98
- package/src/renderer/components/primitives/ColorPicker.tsx +0 -65
- package/src/renderer/components/primitives/DangerButton.tsx +0 -45
- package/src/renderer/components/primitives/DirectoryPicker.tsx +0 -41
- package/src/renderer/components/primitives/Dropdown.tsx +0 -34
- package/src/renderer/components/primitives/KeyRecorder.tsx +0 -117
- package/src/renderer/components/primitives/SettingsSection.tsx +0 -32
- package/src/renderer/components/primitives/Slider.tsx +0 -43
- package/src/renderer/components/primitives/Toggle.tsx +0 -36
- package/src/renderer/components/primitives/index.ts +0 -10
- package/src/renderer/components/settings/AdvancedTab.tsx +0 -174
- package/src/renderer/components/settings/AppearanceTab.tsx +0 -77
- package/src/renderer/components/settings/GeneralTab.tsx +0 -40
- package/src/renderer/components/settings/HotkeysTab.tsx +0 -79
- package/src/renderer/components/settings/RecordingTab.tsx +0 -84
- package/src/renderer/components/settings/index.ts +0 -9
- package/src/renderer/components/settings/settingsStyles.ts +0 -673
- package/src/renderer/components/settings/tabConfig.tsx +0 -85
- package/src/renderer/components/settings/useSettingsPanel.ts +0 -447
- package/src/renderer/contexts/ProcessingContext.tsx +0 -227
- package/src/renderer/contexts/RecordingContext.tsx +0 -683
- package/src/renderer/contexts/UIContext.tsx +0 -326
- package/src/renderer/contexts/index.ts +0 -24
- package/src/renderer/donateMessages.ts +0 -69
- package/src/renderer/hooks/index.ts +0 -75
- package/src/renderer/hooks/useAnimation.tsx +0 -544
- package/src/renderer/hooks/useTheme.ts +0 -313
- package/src/renderer/index.html +0 -26
- package/src/renderer/main.tsx +0 -52
- package/src/renderer/styles/animations.css +0 -1093
- package/src/renderer/styles/app-shell.css +0 -662
- package/src/renderer/styles/globals.css +0 -515
- package/src/renderer/styles/theme.ts +0 -578
- package/src/renderer/types/electron.d.ts +0 -385
- package/src/shared/hotkeys.ts +0 -283
- package/src/shared/types.ts +0 -809
- package/tests/clipboard.test.ts +0 -228
- package/tests/e2e/criticalPaths.test.ts +0 -594
- package/tests/feedbackAnalyzer.test.ts +0 -303
- package/tests/integration/sessionFlow.test.ts +0 -583
- package/tests/markdownGenerator.test.ts +0 -418
- package/tests/output.test.ts +0 -96
- package/tests/setup.ts +0 -486
- package/tests/unit/appIntegration.test.ts +0 -676
- package/tests/unit/appViewState.test.ts +0 -281
- package/tests/unit/audioIpcChannels.test.ts +0 -17
- package/tests/unit/exportService.test.ts +0 -492
- package/tests/unit/hotkeys.test.ts +0 -92
- package/tests/unit/navigationPreload.test.ts +0 -94
- package/tests/unit/onboardingFlow.test.ts +0 -345
- package/tests/unit/permissionManager.test.ts +0 -175
- package/tests/unit/permissionManagerExpanded.test.ts +0 -296
- package/tests/unit/screenRecordingRenderer.test.ts +0 -368
- package/tests/unit/sessionController.test.ts +0 -515
- package/tests/unit/tierManager.test.ts +0 -61
- package/tests/unit/tierManagerExpanded.test.ts +0 -142
- package/tests/unit/transcriptAnalyzer.test.ts +0 -64
- package/tsconfig.json +0 -25
- package/vitest.config.ts +0 -46
package/README.md
CHANGED
|
@@ -13,20 +13,25 @@
|
|
|
13
13
|
<a href="https://github.com/eddiesanjuan/markupr/actions/workflows/release.yml"><img src="https://github.com/eddiesanjuan/markupr/actions/workflows/release.yml/badge.svg" alt="Release"></a>
|
|
14
14
|
<a href="https://github.com/eddiesanjuan/markupr/releases"><img src="https://img.shields.io/github/v/release/eddiesanjuan/markupr?style=flat-square" alt="Latest Release"></a>
|
|
15
15
|
<a href="https://github.com/eddiesanjuan/markupr/releases"><img src="https://img.shields.io/github/downloads/eddiesanjuan/markupr/total?style=flat-square" alt="Downloads"></a>
|
|
16
|
+
<a href="https://www.npmjs.com/package/markupr"><img src="https://img.shields.io/npm/v/markupr?style=flat-square" alt="npm version"></a>
|
|
16
17
|
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square" alt="License"></a>
|
|
17
18
|
<a href="https://ko-fi.com/eddiesanjuan"><img src="https://img.shields.io/badge/Support-Ko--fi-FF5E5B?style=flat-square&logo=ko-fi" alt="Ko-fi"></a>
|
|
18
19
|
</p>
|
|
19
20
|
|
|
20
21
|
<p align="center">
|
|
21
|
-
<a href="#features">Features</a> |
|
|
22
22
|
<a href="#quick-start">Quick Start</a> |
|
|
23
|
+
<a href="#why-markupr">Why markupr?</a> |
|
|
24
|
+
<a href="#features">Features</a> |
|
|
23
25
|
<a href="#how-it-works">How It Works</a> |
|
|
24
26
|
<a href="#installation">Installation</a> |
|
|
27
|
+
<a href="#cli-usage">CLI Usage</a> |
|
|
28
|
+
<a href="#mcp-server-for-ai-coding-agents">MCP Server</a> |
|
|
25
29
|
<a href="#usage">Usage</a> |
|
|
26
30
|
<a href="#keyboard-shortcuts">Shortcuts</a> |
|
|
27
31
|
<a href="#export-formats">Export</a> |
|
|
28
32
|
<a href="#development">Development</a> |
|
|
29
|
-
<a href="#contributing">Contributing</a>
|
|
33
|
+
<a href="#contributing">Contributing</a> |
|
|
34
|
+
<a href="CHANGELOG.md">Changelog</a>
|
|
30
35
|
</p>
|
|
31
36
|
|
|
32
37
|
---
|
|
@@ -35,7 +40,58 @@ markupr is a menu bar app that intelligently captures developer feedback. Press
|
|
|
35
40
|
|
|
36
41
|
One hotkey to start. One hotkey to stop. A Markdown file with your words, contextually-placed screenshots, and intelligent structure -- ready to hand to your AI coding agent, paste into a GitHub issue, or drop in a Slack thread.
|
|
37
42
|
|
|
38
|
-
|
|
43
|
+
## Quick Start
|
|
44
|
+
|
|
45
|
+
### CLI (for developers and AI agents)
|
|
46
|
+
```bash
|
|
47
|
+
npx markupr analyze ./recording.mov
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Or install globally:
|
|
51
|
+
```bash
|
|
52
|
+
npm install -g markupr
|
|
53
|
+
# or
|
|
54
|
+
bun install -g markupr
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Desktop App
|
|
58
|
+
Download from [markupr.com](https://markupr.com) or the [releases page](https://github.com/eddiesanjuan/markupr/releases) -- available for macOS, Windows, and Linux.
|
|
59
|
+
|
|
60
|
+
**First-time setup:**
|
|
61
|
+
1. Install the application (DMG for macOS, installer for Windows)
|
|
62
|
+
2. Grant required permissions (Microphone, Screen Recording)
|
|
63
|
+
3. Press `Cmd+Shift+F` (macOS) or `Ctrl+Shift+F` (Windows) to start recording
|
|
64
|
+
4. Narrate your feedback while markupr captures screenshots at pause points
|
|
65
|
+
5. Press the hotkey again to stop -- post-processing runs automatically
|
|
66
|
+
6. Paste the file path from your clipboard into your AI coding agent
|
|
67
|
+
|
|
68
|
+
**No API key required!** markupr uses local Whisper transcription by default.
|
|
69
|
+
|
|
70
|
+
If markupr saves you hours, consider [supporting development on Ko-fi](https://ko-fi.com/eddiesanjuan).
|
|
71
|
+
|
|
72
|
+
## See It In Action
|
|
73
|
+
|
|
74
|
+
<!-- TODO: Replace with actual demo recording -->
|
|
75
|
+
> **Demo video coming soon** -- Record your screen, talk through what you see, get structured Markdown with screenshots your AI coding agent can act on. One hotkey in, one hotkey out.
|
|
76
|
+
|
|
77
|
+
## Why markupr?
|
|
78
|
+
|
|
79
|
+
AI coding agents are transforming development, but they're only as good as the context you give them. Typing out bug reports with manual screenshots is slow and lossy -- you lose the flow of what you saw and the nuance of what you meant.
|
|
80
|
+
|
|
81
|
+
markupr bridges this gap. Record your screen, narrate what you see, and markupr produces a structured Markdown document that AI agents can consume directly. The output isn't a raw transcript with random screenshots -- it's an intelligently structured document where every screenshot is placed at the exact moment you were describing it, every issue is categorized, and the format is optimized for LLM consumption.
|
|
82
|
+
|
|
83
|
+
**The workflow:**
|
|
84
|
+
1. You see a bug. Press `Cmd+Shift+F`.
|
|
85
|
+
2. Talk through what you see: "This button is hidden on mobile, and the spacing is off here..."
|
|
86
|
+
3. Press the hotkey again to stop.
|
|
87
|
+
4. Paste the file path into Claude Code, Cursor, or any AI agent.
|
|
88
|
+
5. The agent reads your structured feedback -- with screenshots -- and fixes the issues.
|
|
89
|
+
|
|
90
|
+
**What makes it different:**
|
|
91
|
+
- **Timestamp-correlated frames** -- screenshots are extracted from the exact video frame matching your narration, not taken at arbitrary intervals
|
|
92
|
+
- **Local-first** -- Whisper runs on your machine, your data stays on your machine
|
|
93
|
+
- **AI-native output** -- Markdown structured for LLM consumption, not human-only reading
|
|
94
|
+
- **Zero-friction capture** -- one global hotkey from any app, no context switching
|
|
39
95
|
|
|
40
96
|
## Features
|
|
41
97
|
|
|
@@ -77,17 +133,6 @@ If markupr saves you hours, consider supporting development on [Ko-fi](https://k
|
|
|
77
133
|
- **Dark/light/system theme** support
|
|
78
134
|
- **Onboarding experience** for first-run setup
|
|
79
135
|
|
|
80
|
-
## Quick Start
|
|
81
|
-
|
|
82
|
-
1. **Download** the latest release for your platform
|
|
83
|
-
2. **Install** the application (DMG for macOS, installer for Windows)
|
|
84
|
-
3. **Press** `Cmd+Shift+F` (macOS) or `Ctrl+Shift+F` (Windows) to start recording
|
|
85
|
-
4. **Narrate** your feedback while markupr captures screenshots at pause points
|
|
86
|
-
5. **Press** the hotkey again to stop -- the post-processing pipeline runs automatically
|
|
87
|
-
6. **Paste** the file path from your clipboard into your AI coding agent
|
|
88
|
-
|
|
89
|
-
**No API key required!** markupr uses local Whisper transcription by default. Add your OpenAI API key in Settings for cloud transcription.
|
|
90
|
-
|
|
91
136
|
## How It Works
|
|
92
137
|
|
|
93
138
|
### The Post-Processing Pipeline
|
|
@@ -198,6 +243,142 @@ Claude analyzes your transcript alongside screenshots to produce an intelligent
|
|
|
198
243
|
| **Hotkeys** | Toggle Recording | Default: `Cmd/Ctrl+Shift+F` |
|
|
199
244
|
| | Manual Screenshot | Default: `Cmd/Ctrl+Shift+S` |
|
|
200
245
|
|
|
246
|
+
## CLI Usage
|
|
247
|
+
|
|
248
|
+
markupr can run as a standalone CLI tool -- no Electron or desktop app required. This is ideal for:
|
|
249
|
+
- CI/CD pipelines processing screen recordings
|
|
250
|
+
- AI coding agents that need to analyze recordings programmatically
|
|
251
|
+
- Developers who prefer the command line
|
|
252
|
+
|
|
253
|
+
### Installation
|
|
254
|
+
|
|
255
|
+
```bash
|
|
256
|
+
# Run without installing
|
|
257
|
+
npx markupr analyze ./recording.mov
|
|
258
|
+
|
|
259
|
+
# Install globally via npm
|
|
260
|
+
npm install -g markupr
|
|
261
|
+
|
|
262
|
+
# Install globally via bun
|
|
263
|
+
bun install -g markupr
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
### Commands
|
|
267
|
+
|
|
268
|
+
#### `markupr analyze <video-file>`
|
|
269
|
+
|
|
270
|
+
Process a screen recording into a structured Markdown document with extracted frames and transcript.
|
|
271
|
+
|
|
272
|
+
**Options:**
|
|
273
|
+
| Flag | Description | Default |
|
|
274
|
+
|------|-------------|---------|
|
|
275
|
+
| `--audio <file>` | Separate audio file (if not embedded in video) | Auto-extracted from video |
|
|
276
|
+
| `--output <dir>` | Output directory | `./markupr-output` |
|
|
277
|
+
| `--whisper-model <path>` | Path to local Whisper model file | Auto-detected in `~/.markupr/whisper-models/` |
|
|
278
|
+
| `--no-frames` | Skip frame extraction | `false` |
|
|
279
|
+
| `--verbose` | Show detailed progress output | `false` |
|
|
280
|
+
|
|
281
|
+
**Examples:**
|
|
282
|
+
|
|
283
|
+
```bash
|
|
284
|
+
# Basic usage - analyze a screen recording
|
|
285
|
+
markupr analyze ./bug-demo.mov
|
|
286
|
+
|
|
287
|
+
# Use a specific output directory
|
|
288
|
+
markupr analyze ./recording.mov --output ./reports
|
|
289
|
+
|
|
290
|
+
# Separate audio and video files
|
|
291
|
+
markupr analyze ./screen.mov --audio ./voiceover.wav
|
|
292
|
+
|
|
293
|
+
# Skip frame extraction (transcript only)
|
|
294
|
+
markupr analyze ./recording.mov --no-frames
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
### Requirements
|
|
298
|
+
|
|
299
|
+
- **Node.js** 18+
|
|
300
|
+
- **ffmpeg** must be installed and on your PATH (for frame extraction and audio processing)
|
|
301
|
+
- macOS: `brew install ffmpeg`
|
|
302
|
+
- Ubuntu/Debian: `sudo apt install ffmpeg`
|
|
303
|
+
- Windows: `choco install ffmpeg` or download from ffmpeg.org
|
|
304
|
+
|
|
305
|
+
### For AI Agents
|
|
306
|
+
|
|
307
|
+
markupr is designed to be used by AI coding agents. An agent can:
|
|
308
|
+
|
|
309
|
+
```bash
|
|
310
|
+
# Install and process a recording in one command
|
|
311
|
+
npx markupr analyze ./recording.mov --output ./feedback
|
|
312
|
+
|
|
313
|
+
# The output is a structured Markdown file with embedded screenshots
|
|
314
|
+
# Perfect for feeding into Claude, GPT, or any LLM
|
|
315
|
+
cat ./feedback/markupr-report.md
|
|
316
|
+
```
|
|
317
|
+
|
|
318
|
+
The output Markdown follows the llms.txt convention -- structured, parseable, and optimized for AI consumption.
|
|
319
|
+
|
|
320
|
+
## MCP Server (for AI Coding Agents)
|
|
321
|
+
|
|
322
|
+
markupr includes an MCP server that gives AI coding agents direct access to screen capture and voice recording. Your agent can see your screen, hear your narration, and receive structured reports -- all mid-conversation. This is the bridge between "I can see the bug" and "my agent can fix it."
|
|
323
|
+
|
|
324
|
+
### Setup
|
|
325
|
+
|
|
326
|
+
Add to your IDE config and your agent gets 6 tools:
|
|
327
|
+
|
|
328
|
+
**Claude Code** (`~/.claude/settings.json`):
|
|
329
|
+
```json
|
|
330
|
+
{
|
|
331
|
+
"mcpServers": {
|
|
332
|
+
"markupr": {
|
|
333
|
+
"command": "npx",
|
|
334
|
+
"args": ["-y", "markupr-mcp"]
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
**Cursor / Windsurf** (MCP settings):
|
|
341
|
+
```json
|
|
342
|
+
{
|
|
343
|
+
"mcpServers": {
|
|
344
|
+
"markupr": {
|
|
345
|
+
"command": "npx",
|
|
346
|
+
"args": ["-y", "markupr-mcp"]
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
### Available Tools
|
|
353
|
+
|
|
354
|
+
| Tool | What it does |
|
|
355
|
+
|------|-------------|
|
|
356
|
+
| `capture_screenshot` | Grab the current screen. Your agent sees what you see. |
|
|
357
|
+
| `capture_with_voice` | Record screen + microphone for a set duration. Returns a full structured report. |
|
|
358
|
+
| `analyze_video` | Process any `.mov` or `.mp4` into Markdown with extracted frames. |
|
|
359
|
+
| `analyze_screenshot` | Feed a screenshot through the AI analysis pipeline. |
|
|
360
|
+
| `start_recording` | Begin an interactive recording session. |
|
|
361
|
+
| `stop_recording` | End the session. Full pipeline runs, report returned. |
|
|
362
|
+
|
|
363
|
+
### Example: Agent Captures and Fixes a Bug
|
|
364
|
+
|
|
365
|
+
In Claude Code, after adding the MCP config, your agent can do this:
|
|
366
|
+
|
|
367
|
+
```
|
|
368
|
+
You: "The sidebar is overlapping the main content on mobile. Can you see it?"
|
|
369
|
+
|
|
370
|
+
Claude: [calls capture_screenshot]
|
|
371
|
+
"I can see the issue -- the sidebar has position: fixed but no
|
|
372
|
+
z-index, and it's 280px wide with no responsive breakpoint.
|
|
373
|
+
Let me fix the CSS..."
|
|
374
|
+
|
|
375
|
+
[fixes the code]
|
|
376
|
+
```
|
|
377
|
+
|
|
378
|
+
No copy-pasting screenshots. No describing the bug in text. The agent looks at your screen and acts.
|
|
379
|
+
|
|
380
|
+
See **[README-MCP.md](README-MCP.md)** for full setup instructions, all tool parameters, and troubleshooting.
|
|
381
|
+
|
|
201
382
|
## Usage
|
|
202
383
|
|
|
203
384
|
### Basic Workflow
|
|
@@ -358,7 +539,7 @@ markupr/
|
|
|
358
539
|
│ │ └── hooks/ # React hooks (theme, animation)
|
|
359
540
|
│ ├── preload/ # Electron preload (secure IPC bridge)
|
|
360
541
|
│ └── shared/ # Shared types and constants
|
|
361
|
-
├── tests/ # Test suite
|
|
542
|
+
├── tests/ # Test suite
|
|
362
543
|
├── docs/ # Documentation
|
|
363
544
|
├── site/ # Landing page
|
|
364
545
|
└── package.json
|