# ReimuNotMoe/ydotool

Generic command-line automation tool

Repository: https://github.com/ReimuNotMoe/ydotool
Canonical: https://ross.abutalabs.com/products/ydotool
Language: C
License: AGPL-3.0
License Family: copyleft
Last push: 2025-12-22T04:22:09+00:00

## Health v2 (maintenance only)
Score: 49/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 58, release rhythm 8, longevity 100
- inputs: {"age_days": 2839, "days_push": 254, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2341, forks 125 (observed 2026-08-28T04:06:39.002595+00:00)

## What it is
ydotool is a generic Linux command-line automation tool that simulates keyboard and mouse input via the kernel's uinput interface, working on Wayland, X11, text consoles, and other input-accepting environments. It works with a companion daemon (ydotoold) that requires access to /dev/uinput, and is written in dependency-free C99.

## Use cases
- simulate keyboard and mouse input on Wayland
- automate typing and clicks from shell scripts
- xdotool alternative that works without X11
- send key presses from scripts or SSH sessions
- automate GUI interactions in CI or testing
- move the mouse cursor programmatically on Linux

## When to choose
- you need input automation on Wayland where xdotool doesn't work
- you want a lightweight, dependency-free C tool
- you need to automate input on consoles, fbdev apps, or embedded Linux UIs
- you're scripting keyboard/mouse actions from the command line

## When to avoid
- you need high-level GUI automation with element targeting rather than raw input events
- you can't grant root or uinput permissions to the daemon
- you need Windows or macOS support
- you want text-based key names rather than keycodes for the key command

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, workflow-automation, developer-tools
- domain: operating-systems
- platform: cli
- tags: input-automation, wayland, x11, uinput, xdotool-alternative, keyboard-mouse-simulation, command-line, automation, linux

## Member repositories
- ReimuNotMoe/ydotool (main) score 49

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:39.002595+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-30T02:37:22.224556+00:00, confidence not recorded.
  - readme: https://github.com/ReimuNotMoe/ydotool (fetched 2026-08-28T04:06:39.002595+00:00, sha e1095b033a76)
- Data as of 2026-08-30T08:39:29.467469+00:00.
