# nashaofu/xcap

XCap is a cross-platform screen capture library written in Rust. It supports Linux (X11, Wayland), MacOS, and Windows. XCap supports screenshot and video recording (WIP).

Repository: https://github.com/nashaofu/xcap
Canonical: https://ross.abutalabs.com/products/xcap
Homepage: https://docs.rs/xcap
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: monitor, screen-capture, screencapture, windows, screen-record
Last push: 2026-08-25T01:48:27+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 95, longevity 100
- inputs: {"age_days": 1640, "days_push": 9, "days_rel": 32, "gap_med": 13, "n_releases_24m": 34}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1007, forks 140 (observed 2026-08-28T04:03:12.354693+00:00)

## What it is
XCap is a cross-platform screen capture library written in Rust supporting Linux (X11, Wayland), macOS, Windows, and HarmonyOS. It provides screenshot capture of screens and windows, with screen recording support in progress.

## Use cases
- take screenshots of monitors in rust
- capture a specific window programmatically
- capture a region of the screen
- record the screen to video in a rust app
- build a cross-platform screen capture tool
- get monitor information like resolution and primary display

## When to choose
- you need a Rust-native screen capture API across Windows, macOS, and Linux
- you want both full-screen, window, and region capture in one library
- you are building a screenshot or screen-recording tool in Rust

## When to avoid
- you need Wayland screen capture today (not yet supported)
- you need window recording (still under development)
- you need a ready-made GUI screenshot application rather than a library

## Facets
- artifact type: library
- maturity: active
- function: image-processing, video-processing, developer-tools
- domain: cross-platform, desktop-applications, media, developer-tools
- platform: windows, rust, cross-platform
- tags: screen-capture, screenshot, screen-recording, window-capture, monitor, wayland, x11, harmonyos, linux, macos

## Member repositories
- nashaofu/xcap (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:12.354693+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:12:27.902464+00:00, confidence not recorded.
  - readme: https://github.com/nashaofu/xcap (fetched 2026-08-28T04:03:12.354693+00:00, sha d3760f6dbe4a)
  - homepage: https://docs.rs/xcap (fetched 2026-08-29T13:12:40.197314+00:00, sha c27f5516b9ad)
  - site_page: https://docs.rs/ (fetched 2026-08-29T13:12:40.199960+00:00, sha c98c148e9062)
  - site_page: https://docs.rs/about (fetched 2026-08-29T13:12:40.201729+00:00, sha 29ab7986fbf5)
  - site_page: https://docs.rs/about/badges (fetched 2026-08-29T13:12:40.204037+00:00, sha 6588cac258af)
  - site_page: https://docs.rs/about/builds (fetched 2026-08-29T13:12:40.205765+00:00, sha 811231ca4680)
  - site_page: https://docs.rs/about/metadata (fetched 2026-08-29T13:12:40.207347+00:00, sha 0dcdccb2b2b2)
  - site_page: https://docs.rs/about/redirections (fetched 2026-08-29T13:12:40.208858+00:00, sha 1b1efd93105f)
  - site_page: https://docs.rs/about/download (fetched 2026-08-29T13:12:40.210291+00:00, sha 6793b0ab6541)
  - site_page: https://docs.rs/about/rustdoc-json (fetched 2026-08-29T13:12:40.211646+00:00, sha 5b94b2d8e2ff)
- Data as of 2026-08-30T08:39:29.467469+00:00.
