# enigo-rs/enigo

Cross platform input simulation in Rust

Repository: https://github.com/enigo-rs/enigo
Canonical: https://ross.abutalabs.com/products/enigo
Language: Rust
License: MIT
License Family: permissive
Topics: input, cross-platform, mouse, keyboard, rust, simulation, automation
Last push: 2026-08-10T09:09:50+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 35, longevity 100
- inputs: {"age_days": 3505, "days_push": 23, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1778, forks 155 (observed 2026-08-28T04:05:35.164865+00:00)

## What it is
Enigo is a cross-platform Rust library for simulating keyboard and mouse input on Linux (X11/Wayland/libei), Windows, macOS, and BSDs. It provides a simple API for moving the mouse, clicking, and typing text programmatically.

## Use cases
- simulate keyboard and mouse input in Rust
- automate GUI interactions cross-platform
- programmatically type text and click buttons
- build UI automation or testing tools in Rust
- control mouse cursor position from code
- script desktop input events on Linux, macOS, and Windows

## When to choose
- you need input simulation in a Rust project across multiple operating systems
- you want a maintained crate with a simple API for mouse and keyboard control
- you need X11, Wayland, or libei support on Linux

## When to avoid
- you need input simulation in a language other than Rust
- you require fully stable Wayland or libei support (still experimental with known bugs)
- you need higher-level GUI test frameworks with element inspection rather than raw input injection

## Facets
- artifact type: library
- maturity: active
- function: workflow-automation, gui
- domain: cross-platform, developer-tools
- platform: windows, rust, cross-platform
- tags: input-simulation, keyboard, mouse, x11, wayland, rust-library, automation, linux, macos

## Member repositories
- enigo-rs/enigo (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:35.164865+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-30T03:25:10.211803+00:00, confidence not recorded.
  - readme: https://github.com/enigo-rs/enigo (fetched 2026-08-28T04:05:35.164865+00:00, sha e71ac0ef9c32)
  - registry_crates: https://crates.io/api/v1/crates/enigo (fetched 2026-08-29T11:03:21.108069+00:00, sha a69b93e9f566)
- Data as of 2026-08-30T08:39:29.467469+00:00.
