A simple Rust APM counter on the top-right screen corner.
  • Rust 78.1%
  • Vim Script 19%
  • Shell 2.9%
Find a file
2024-08-29 13:01:21 +02:00
.github/workflows fix(ci): Fix bin names 2024-08-29 13:01:21 +02:00
src feat(apm): Impl average apm display 2024-08-29 12:58:08 +02:00
.gitignore First commit 2023-03-03 16:24:28 +01:00
.ignore feat(apm): Impl average apm display 2024-08-29 12:58:08 +02:00
build.sh feat(apm): Impl average apm display 2024-08-29 12:58:08 +02:00
Cargo.lock feat(apm): Impl average apm display 2024-08-29 12:58:08 +02:00
Cargo.toml First commit 2023-03-03 16:24:28 +01:00
README.md Update README.md 2023-03-11 19:02:57 +01:00
Session.vim feat(apm): Impl average apm display 2024-08-29 12:58:08 +02:00

APM-Counter

A simple APM counter on the top-right screen corner written in Rust. I'm using eframe, hence, egui for the Graphical User Interface (display), rdev for keyboard & mouse inputs, tokio for async tasks and Rust's standard library.

Explanations

Every keystroke will be taken when the App window isn't focused.

Once started, it will display an APM counter that resets every minute and display the average Action Per Minute calculated in one minute every 100ms.

It only counts on a key/button release. Scroll wheel and mouse movement aren't used in the script.

For now, to shutdown the application, just press the End key.

crates.io dependencies