Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
A Rust library for high-quality screen recordings that leverages native OS APIs for optimal performance: Apple's ScreenCaptureKit on macOS, Graphics.Capture APIs on Windows and Pipewire on Linux.
🚧 WIP. Unsuitable for production use, APIs are being iterated on.
features
- Cross-platform support: Windows, Mac and Linux!
- Check for support and user permissions.
- Utilize native OS APIs for screen capture.
- Different capture modes: Display or Windows.
contributing
We found most of Rust's tooling around screen capture either non-performant, outdated or very platform-specific. This project is our attempt to change that. Contributions, PRs and Issues are most welcome!
If you'd like to develop, here's a kickstart guide:
- Clone the repo and run it with
cargo run
. - Explore the API and library code in lib.rs.
- Platform-specific code is in the
win
,mac
andlinux
modules. - There's a small program in main.rs that "consumes" the library for dev-testing.
usage
use ;
license
The code in this repository is open-sourced under the MIT license. However, it may rely on dependencies that are licensed differently. Please consult their documentations for exact terms.
Contributors
credits
This project builds on top of the fabulous work done by @svtlabs and @NiiightmareXD.
- screencapturekit-rs: Rust bindings for Apple's ScreencaptureKit API.
- windows-capture: Rust library for Windows.Graphics.Capture.