Skip to content

lintowe/capscr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

capscr

A fast, cross-platform screen capture tool with HDR support, GIF recording, and cloud upload.

Features

  • Screen Capture - Unified selection overlay (drag for region, click for window, Enter for fullscreen)
  • System Tray - Runs in system tray with context menu access
  • HDR Support - Capture HDR content with automatic tone mapping
  • GIF Recording - Record screen activity as animated GIFs with configurable FPS and quality
  • Cloud Upload - Upload to Imgur or custom endpoints with HTTPS enforcement
  • Global Hotkeys - Trigger captures from anywhere without switching windows
  • Clipboard Integration - Copy screenshots directly to clipboard
  • Plugin System - Extend functionality with custom WASM plugins (more info)

Installation

Windows

Download the latest release from Releases:

File Description
capscr-x.x.x-x86_64.msi Windows installer (recommended)
capscr-x.x.x-x86_64.zip Portable version, no installation required

Requirements: Windows 10 version 1903 or later (for HDR capture support)

Linux

# Download and extract
tar -xzf capscr-x.x.x-x86_64-linux.tar.gz
cd capscr

# Run
./capscr

Requirements: X11 display server, libxcb

Linux tray integration is disabled by default in secure builds. To enable it when building from source, use --features linux-tray.

Building from Source

See Build section below.

Build

Prerequisites

  • Rust 1.75 or later
  • Platform-specific dependencies:
    • Windows: Visual Studio Build Tools with C++ workload
    • Linux: libxcb-dev, libxkbcommon-dev, libssl-dev, libasound2-dev

Quick Build

git clone https://github.com/lintowe/capscr.git
cd capscr
cargo build --release

Enable Linux tray support explicitly:

cargo build --release --features linux-tray

The binary will be at target/release/capscr (or capscr.exe on Windows).

Hotkeys

Default keyboard shortcuts (configurable in Settings):

Shortcut Action
Ctrl+Shift+S Take screenshot (opens selection overlay)
Ctrl+Shift+G Start/stop GIF recording

In the selection overlay:

  • Drag to select a region
  • Click on a window to capture it
  • Enter/Space for fullscreen capture
  • Escape to cancel

Hotkeys can be customized in the Settings panel. Supported modifiers: Ctrl, Alt, Shift, Win/Super/Cmd

Configuration

Settings are automatically saved to:

Platform Location
Windows %APPDATA%\capscr\config.toml
Linux ~/.config/capscr/config.toml

Configuration Options

[output]
directory = "~/Pictures/Screenshots"
format = "png"              # png, jpg, webp, bmp
quality = 95                # 1-100, for lossy formats

[capture]
show_cursor = true
delay_ms = 0                # Capture delay
gif_fps = 15                # GIF frame rate (1-60)
gif_max_duration_secs = 60  # Max GIF recording time

[hotkeys]
screenshot = "Ctrl+Shift+S"
record_gif = "Ctrl+Shift+G"

[upload]
destination = "Imgur"       # Imgur or Custom
copy_url_to_clipboard = true
# For custom endpoints:
# custom_url = "https://your-server.com/upload"
# custom_form_name = "file"
# custom_response_path = "url"

[performance]
tick_interval_ms = 100      # Poll interval (16-500ms)
renderer = "tiny-skia"      # tiny-skia or wgpu
lazy_init_upload = true
lazy_init_plugins = true

Plugins

Community plugins available at capscr-plugins.

WASM plugin runtime is optional and disabled by default in hardened builds. Enable it with --features wasm-plugins.

License

MIT License - see LICENSE for details.

About

Screen capture tool for Windows, macOS, and Linux

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors