简体中文
v0.19.1 · Rust + gpui-kit · MIT License

Freeze the desktop.Route every pixel locally.

One native Wayland binary for niri, Hyprland, sway, and wlroots. Capture mixed-HiDPI regions, edit annotations after you draw them, float reference pins, stitch scrolling pages live, and run offline OCR or QR scans.

$paru -S shotori
+zwlr-screencopy-v1+wlr-layer-shell-v1+Offline PP-OCRv6 & QR+Zero Telemetry
Shotori Wayland live capture demo
1IPC window snap & region drag2Rect · Arrow · Sequence badges3Post-edit drag with Select (V)
2560×1440 · 2× HiDPI · shotori v0.19.1

One native binary instead of five fragile scripts.

Replace brittle shell pipelines with a single GPU-rendered instrument tuned for modern wlroots desktops.

Typical Wayland script chaingrim | slurp | swappy | tesseract
  • −Chaining grim + slurp + wl-copy + swappy + tesseract in shell scripts
  • −Blurry crops or coordinate drift across mixed 1× / 1.25× / 2× monitors
  • −Rasterized marks you cannot move, recolor, or renumber once placed
  • −No native cross-monitor pins or live scrolling capture on Wayland
Shotori unified binaryshotori
  • ✓One native Rust + gpui-kit binary — install once, bind one key
  • ✓Physical-pixel precision across rotated and mixed-HiDPI outputs
  • ✓14 live vector tools you can select, drag, recolor, and object-erase
  • ✓Built-in 254px live long-capture, floating pins, offline OCR & QR
niri
Daily-driven · IPC snap
Hyprland
Daily-driven · IPC snap
sway
GET_TREE window snap
river / labwc
zwlr-screencopy ready
Wayfire / COSMIC
Protocol compatible

Every destination after you draw a box, captured live.

Every clip below is recorded directly from Shotori running on a 2× HiDPI Wayland compositor — zero mockups.

Shotori live long-capture demo
Live Long CaptureCtrl + L

Scroll naturally. Never corrupt a single row.

No flaky synthetic scroll injection. Draw a region, hit Ctrl+L, and scroll any browser, terminal, or chat app yourself while a 254px live side panel stitches in real time — stripping sticky headers and rejecting ambiguous frames cleanly.

  • Vertical and horizontal axes, with instant Copy, Save, or Pin right from the preview bar
  • Pause/resume mid-scroll, scrub the minimap to inspect earlier rows, and hold safely at max length
14 Editable Tools & OpticsH / M / G / D

Highlighter, mosaic, 8× magnifier lens, and whole-object eraser.

Every mark lives on an editable scene graph: multiply highlighter, rectangle & brush mosaic, 1–8× optical magnifier lenses, spotlight masks, full CJK/IME text, and whole-object erasure with automatic sequence renumbering.

SelectVRectREllipseELineLPolylineP7 ArrowsABadgesNIME TextTPencilBHighlightHMosaicM1–8× LensGSpotlight⇧HEraserD
Shotori 14-tool annotation studio demo
Shotori floating desktop pin demo
Floating Desktop PinsCtrl + P

Keep specs, diffs, and references floating beside your code.

Press Ctrl+P to turn any capture into a borderless always-on-top window that outlives the capture session. Drag across mixed-scale monitors, scroll to zoom smoothly, or float local PNGs straight from the CLI.

$ shotori pin mockup.png --at 420,180CLI ready
Ctrl + O

Private on-device OCR. Zero bytes leave your machine.

Downloads a ~31 MB SHA-256-verified PP-OCRv6 model once on first use, then runs 100% offline. Ships 6 curated tiers plus full custom ONNX pipeline support.

● 0 bytes network · rapidocr-core
Wayland 原生截图工具 · Shotori
Offline PP-OCRv6 recognizes Chinese, English,
and terminal snippets with zero cloud upload.
Shotori offline OCR and QR demo

Complete 9-page native Settings GUI — backed by clean TOML.

Drag to reorder or hide any of the 23 toolbar buttons visually (hidden tools keep their shortcuts), and tune smart-region & crosshair HUD.

123
Capture & Toolbar
$ shotori settings capture~/.config/shotori/settings.toml

All 19 built-in palettes, each captured live at 2× HiDPI.

Shotori, Capsule, Catppuccin, Tokyo Night, Rosé Pine, Gruvbox, Nord, Dracula, Solarized, GitHub Light, and High Contrast — or override any token in theme.toml with automatic WCAG contrast.

100% real captures
~/.config/shotori/theme.toml
# ~/.config/shotori/theme.toml
base = "shotori-dark"

# Optional single-field override (auto-enforces WCAG >= 4.5:1):
# accent = "#FF6A00"
shotori --theme shotori-dark
Shotori Shotori Dark theme real Wayland screenshot

Generate compositor binds or pipe pixels through the CLI.

Build ready-to-paste keybinds for niri, Hyprland, or sway — or script headless captures, OCR, QR scans, and floating pins over stdout and stdin.

~/.config/niri/config.kdl
spawn-at-startup "shotori" "tray"

binds {
    Mod+Shift+S { spawn "shotori"; }
    Print       { spawn "shotori" "full" "--screen" "--clipboard"; }
    Mod+Print   { spawn "shotori" "gui" "--window" "--tool" "arrow"; }
}

Ready for a sharper Wayland screenshot workflow?

Shotori is free, MIT-licensed, and actively maintained. Try it on niri, Hyprland, sway, or your favorite wlroots compositor.