@medeo-plugin/plugin-screenshot 0.0.0-stage → 1.0.1
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 +38 -2
- package/package.json +41 -4
- package/plugin.medeoplugin +0 -0
- package/src/README.md +28 -0
- package/src/README.zh-CN.md +20 -0
- package/src/about.json +7 -0
- package/src/icon.svg +1 -0
- package/src/locales/en.json +141 -0
- package/src/locales/zh-CN.json +141 -0
- package/src/locales/zh-TW.json +141 -0
- package/src/manifest.json +125 -0
- package/src/media/en/editor.png +0 -0
- package/src/media/en/settings.png +0 -0
- package/src/media/zh-CN/editor.png +0 -0
- package/src/media/zh-CN/settings.png +0 -0
- package/src/resources/helper.js +99 -0
- package/src/resources/trayTemplate.png +0 -0
- package/src/resources/trayTemplate.svg +1 -0
- package/src/src/annotations.ts +398 -0
- package/src/src/beautify.ts +41 -0
- package/src/src/geometry.ts +79 -0
- package/src/src/naming.ts +19 -0
- package/src/src/protocol.ts +53 -0
- package/src/src/settings.ts +48 -0
- package/src/src/shortcuts.ts +25 -0
- package/src/src/ui/overlay.ts +874 -0
- package/src/src/ui/settings.ts +140 -0
- package/src/tests/logic.test.mjs +101 -0
- package/src/ui/entry.ts +4 -0
- package/src/ui/icons/align-center.svg +1 -0
- package/src/ui/icons/align-left.svg +1 -0
- package/src/ui/icons/align-right.svg +1 -0
- package/src/ui/icons/arrow-double.svg +1 -0
- package/src/ui/icons/arrow-open.svg +1 -0
- package/src/ui/icons/arrow-single.svg +1 -0
- package/src/ui/icons/arrow-tail.svg +1 -0
- package/src/ui/icons/arrow-thick.svg +1 -0
- package/src/ui/icons/arrow.svg +1 -0
- package/src/ui/icons/beautify.svg +1 -0
- package/src/ui/icons/bold.svg +1 -0
- package/src/ui/icons/censor.svg +1 -0
- package/src/ui/icons/close.svg +1 -0
- package/src/ui/icons/copy-doc.svg +1 -0
- package/src/ui/icons/copy.svg +1 -0
- package/src/ui/icons/ellipse.svg +1 -0
- package/src/ui/icons/fill-fill.svg +1 -0
- package/src/ui/icons/fill-stroke.svg +1 -0
- package/src/ui/icons/fill-strokeFill.svg +1 -0
- package/src/ui/icons/highlight.svg +1 -0
- package/src/ui/icons/invert.svg +1 -0
- package/src/ui/icons/italic.svg +1 -0
- package/src/ui/icons/line-dashed.svg +1 -0
- package/src/ui/icons/line-dotted.svg +1 -0
- package/src/ui/icons/line-solid.svg +1 -0
- package/src/ui/icons/line.svg +1 -0
- package/src/ui/icons/marker.svg +1 -0
- package/src/ui/icons/measure.svg +1 -0
- package/src/ui/icons/number.svg +1 -0
- package/src/ui/icons/ocr.svg +1 -0
- package/src/ui/icons/open.svg +1 -0
- package/src/ui/icons/pencil.svg +1 -0
- package/src/ui/icons/rect.svg +1 -0
- package/src/ui/icons/redo.svg +1 -0
- package/src/ui/icons/sampler.svg +1 -0
- package/src/ui/icons/save.svg +1 -0
- package/src/ui/icons/select.svg +1 -0
- package/src/ui/icons/stamp.svg +1 -0
- package/src/ui/icons/text-bg.svg +1 -0
- package/src/ui/icons/text.svg +1 -0
- package/src/ui/icons/trash.svg +1 -0
- package/src/ui/icons/underline.svg +1 -0
- package/src/ui/icons/undo.svg +1 -0
- package/src/ui/index.html +12 -0
- package/src/ui/settings.html +5 -0
- package/src/ui/style.css +105 -0
- package/src/worker.ts +285 -0
package/README.md
CHANGED
|
@@ -1,3 +1,39 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Screenshot
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Capture any part of the screen and annotate it in place: select, add arrows, blur, number the
|
|
4
|
+
steps, then copy or save in one go.
|
|
5
|
+
|
|
6
|
+

|
|
7
|
+
|
|
8
|
+
- **Capture**: ⌘⇧X (area), plus optional shortcuts for full screen, quick capture and OCR; the
|
|
9
|
+
menu-bar icon and the launcher (`shot`). The display under the pointer is frozen with macOS's
|
|
10
|
+
`screencapture`; drag to select (Shift for a square), click a window (Tab toggles snapping), F
|
|
11
|
+
for the whole display.
|
|
12
|
+
- **Tools** (single-key shortcuts): Select S, Arrow A (5 styles), Line L, Pencil P, Marker M,
|
|
13
|
+
Rectangle R / Ellipse O (outline, fill, corner radius), Text T (bold, italic, underline,
|
|
14
|
+
alignment, background), Number N (1/I/A/a), Censor B (pixelate, blur, solid), Highlight H,
|
|
15
|
+
Stamp G, Measure U, Color sampler I. Click any annotation to edit, move, resize or delete it;
|
|
16
|
+
hold Space while drawing to move, Shift to constrain.
|
|
17
|
+
- **Actions**: copy ⌘C, save ⌘S (PNG or JPEG, optional 1×), read text and QR codes with Apple
|
|
18
|
+
Vision, beautify (gradient, padding, window frame), invert.
|
|
19
|
+
|
|
20
|
+

|
|
21
|
+
|
|
22
|
+
Runtime: Node (macOS). Permissions: `node`, `app_windows`, `window_management` (the full-screen
|
|
23
|
+
overlay), `screen_capture` (reports and requests macOS Screen Recording), `global_shortcuts`,
|
|
24
|
+
`tray`, `notifications`. AppKit access goes through `resources/helper.js`, run with
|
|
25
|
+
`osascript -l JavaScript`; no native binaries are shipped.
|
|
26
|
+
|
|
27
|
+
Not yet: pin to screen (needs a floating window type in the host), scroll capture, recording,
|
|
28
|
+
multi-display selections.
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
Install from npm in Medeo's plugin center, or use Discover.
|
|
33
|
+
|
|
34
|
+
Plugin ID: app.medeo.screenshot
|
|
35
|
+
Version: 1.0.1
|
|
36
|
+
Publisher: 6ac813f5c19a51d6fea83a03fa1306e1d0e88c80f5af3a2000ff80a0e2f116f9
|
|
37
|
+
SHA-256: 722efb08c521f2d2bbb19a631dbb104f74ddca68c9093c73197d6d400703dc58
|
|
38
|
+
|
|
39
|
+
Approve permissions in Medeo before use.
|