stratum-rs

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.

View Demo

stratum-rs

Electron

Client

Introduction & Usage

Build it in just 20 lines of code
Powerful Process Tracking

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.

  1. 1

    Install the package

    Install the package right away with npm.

    Terminal
    npm i stratum-rs-overlay
  2. 2

    Check high-performance process detection

    Verify data in an event-driven way from your Electron app or JS file.

    main.js
    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);
  3. 3

    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

FocusFalse
DragFalse
ResizeFalse

Terminal Log

[SYSTEM] tracking_off

Why stratum-rs?

Beyond basic functionality,
built for real-world business requirements.

From stability and performance to productivity, explore the four core strengths that should define your library choice.

Safe Process Control

Uses window focus control instead of memory injection, staying anti-cheat friendly and lightweight on system load.

High-Performance Architecture

Optimized Rust-based multithreading and high-performance polling mechanisms minimize resource consumption while maximizing performance.

High Code Productivity

Easy event-handling patterns and practical architecture guidance help teams adopt quickly and build faster.

Reliable Maintenance

Proactive responses to version changes and security issues go beyond the common limits of unmanaged open source.

Pricing

Tailored to service stages and sponsor goals
Built for each stage

User plans and supporter plans are separated so each team can pick the right model for its purpose.

General

User Tier

Choose the license that matches your current stage, from getting started to production launch.

Trial

Free - 7 days

Recommended

Technical reviewCompatibility check

Goal

Pre-validate core features and performance

Confirm technical fit with your existing project

Benefits

  • 7-day license key
Monthly Subscription

TBD/mo

Recommended

MVP developmentIndie team

Goal

Build an efficient development setup without heavy upfront cost

Focused development stage before service launch

Benefits

  • 1-month license key
  • Access to standard technical documentation
Lifetime Purchase

TBD

Recommended

Production serviceLong-term project

Goal

Operate stably without additional recurring maintenance cost

Need advanced technical support and optimization

Benefits

  • Discounted lifetime purchase price
  • Permanent-use license key
  • Access to standard technical documentation
  • Access to advanced technical documentation

Advanced

Sponsor Tier

We are looking for partners to join the sustainable growth and ecosystem expansion of stratum-rs.

Gold Sponsor

TBD/mo

Recommended

IndividualCompany

Goal

Support the growth of stratum-rs technology and ecosystem.

Contribute to building a reliable commercial library ecosystem.

Benefits

  • Logo or nickname placement in the Gold Sponsor section on the main page
  • Dedicated Gold Sponsor icon in the user profile
Platinum Sponsor

TBD/mo

Recommended

IndividualCompany

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

  • Logo or nickname placement at the very top of the main page and in the Platinum Sponsor section
  • Dedicated Platinum Sponsor icon in the user profile
  • Priority suggestions for future development roadmap and access to a dedicated VIP Discord channel
  • Priority exposure and use of sponsor-based service cases in official docs and demo videos
  • Partner exposure in external media promotions

Goal

We handle communication with the OS.

We handle the OS communication required by your Electron app. Stay tuned as stratum-rs continues to evolve.