Skip to content

piny4man/crabture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crabture

Standalone Linux screenshot tool written in Rust. No external dependencies required — works on both X11 and Wayland.

License: GPL-3.0 CI crates.io

Features

  • Full-screen capture — instant screenshot of primary or any monitor
  • Region capture — specify exact coordinates (x,y,WxH)
  • Interactive area selection — click and drag with visual overlay feedback
  • Interactive TUI — guided menu for timing, target, and save method
  • Multi-monitor support — list and capture any connected monitor
  • Clipboard support — copy screenshots directly to the clipboard
  • Delayed capture — configurable countdown (5/10/20/30/60 seconds)
  • Desktop notifications — status feedback via system notifications
  • Multiple formats — save as PNG or JPG
  • XDG-compliant — respects XDG_SCREENSHOTS_DIR, falls back to ~/Pictures

Installation

From crates.io

cargo install crabture

From source

git clone https://github.com/piny4man/crabture.git
cd crabture
cargo build --release
# binary at target/release/crabture

Arch Linux (AUR)

# Using an AUR helper
paru -S crabture-git

Build dependencies

These are only needed when building from source. Prebuilt binaries from the releases page have no extra runtime dependencies.

Debian / Ubuntu

sudo apt-get install -y \
  libclang-dev libwayland-dev libpipewire-0.3-dev libegl-dev \
  libgbm-dev libdrm-dev libxcb1-dev libxcb-shm0-dev libxcb-randr0-dev

Arch Linux

sudo pacman -S clang libxcb wayland pipewire

Usage

# Interactive TUI (default)
crabture

# Instant full-screen screenshot
crabture --instant

# Capture a specific monitor (1-based index)
crabture --monitor 2

# Interactive area selection
crabture --select

# Capture a region by coordinates
crabture --region 100,200,800x600

# Copy to clipboard instead of saving
crabture --instant --copy

# Save as JPG to a specific directory
crabture --instant --format jpg ~/screenshots

# List available monitors
crabture --list-monitors

License

GPL-3.0 — see LICENSE for details.

About

Standalone Linux screenshot tool written in Rust. No external dependencies required — works on both X11 and Wayland.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors