Safe Process Control
Uses window focus control instead of memory injection, staying anti-cheat friendly and lightweight on system load.
stratum-rs is a Rust-based process detection library for Electron overlays.
Implement OS-facing integration points easily through stratum-rs.
Track x, y, width, and height data for your target processes,
along with various state values, in real time with low overhead.
Introduction & Usage
Forget complex native integration and legacy codebases with thousands of lines. With stratum-rs, you can implement high-performance process detection instantly with just a few lines of configuration.
Install the package
Install the package right away with npm.
npm i stratum-rs-overlayCheck high-performance process detection
Verify data in an event-driven way from your Electron app or JS file.
1// import stratum-rs-overlay2const stratumRS = require('stratum-rs-overlay');3 4// initialize stratum-rs-overlay & tracking targets5stratumRS.init("LICENSE_KEY");6stratumRS.startTracking(7 [8 { name: "League of Legends (TM) Client", mode: "exact" },9 { name: "Brood War", mode: "contains" },10 ],11 (event) => {12 if (event.eventType === "focus") {13 console.log(`[FOCUS] ${ event.targetName } detected!`);14 console.log(` └─ coordinates: x = ${ event.x }, y = ${ event.y }, w = ${ event.width }, h = ${ event.height }`);15 }16 else if (event.eventType === 'blur') {17 console.log(`[BLUR] target lost.`);18 }19 else if (event.eventType === 'move') {20 process.stdout.write(`[MOVE] coordinates: x = ${ event.x }, y = ${ event.y }, w = ${ event.width }, h = ${ event.height } \r`);21 }22 }23);Use the data in your project
Use high-performance process detection to build powerful and creative features.
Brood War
Process to detect
Coordinates
X
68
Y
68
Target Size
Width
208
Height
132
Status
Terminal Log
[SYSTEM] tracking_off
Why stratum-rs?
From stability and performance to productivity, explore the four core strengths that should define your library choice.
Uses window focus control instead of memory injection, staying anti-cheat friendly and lightweight on system load.
Optimized Rust-based multithreading and high-performance polling mechanisms minimize resource consumption while maximizing performance.
Easy event-handling patterns and practical architecture guidance help teams adopt quickly and build faster.
Proactive responses to version changes and security issues go beyond the common limits of unmanaged open source.
Pricing
User plans and supporter plans are separated so each team can pick the right model for its purpose.
General
Choose the license that matches your current stage, from getting started to production launch.
Free - 7 days
Recommended
Goal
Pre-validate core features and performance
Confirm technical fit with your existing project
Benefits
TBD/mo
Recommended
Goal
Build an efficient development setup without heavy upfront cost
Focused development stage before service launch
Benefits
TBD
Recommended
Goal
Operate stably without additional recurring maintenance cost
Need advanced technical support and optimization
Benefits
Advanced
We are looking for partners to join the sustainable growth and ecosystem expansion of stratum-rs.
TBD/mo
Recommended
Goal
Support the growth of stratum-rs technology and ecosystem.
Contribute to building a reliable commercial library ecosystem.
Benefits
TBD/mo
Recommended
Goal
Support the growth of stratum-rs technology and ecosystem.
Contribute to building a reliable commercial library ecosystem.
As a Platinum partner, help sustain the lowest layer of the Electron ecosystem.
Benefits
Goal
We handle the OS communication required by your Electron app. Stay tuned as stratum-rs continues to evolve.