:rocket: Cross-platform desktop automation module for Deno.
Last updated Jun 12, 2026
503
Stars
14
Forks
9
Issues
0
Stars/day
Attention Score
29
Topics
Language breakdown
No language data available.
โธ Files
click to expand
README
AutoPilot Deno - Cross-platform desktop automation framework for Deno.
Features
- [x] Keyboard
.type
- [x] Tap a key using .tap
- [x] Toggle key using .toggleKey
- [x] Mouse
.moveMouse
- [x] Click using .click
- [x] Simulate a scroll using .scroll
- [x] Get mouse position using .mousePosition
- [x] Get mouse position pixel color .pixelColor
- [x] Screen
.screenshot
- [x] Get screen size using .screenSize
- [x] Get number of pixels in a point using .screenScale
- [x] Notifications
.alert
- [x] Notifications using .notify
Documentation
Detailed documentation of the API is available at:
https://autopilot.mod.land
Requirements
Linux
sudo apt-get update
sudo apt-get install libdbus-1-dev x11-xserver-utils wmctrl libxtst-dev cmake libc-dev libx11-dev libxcb1-dev
Usage
deno run --unstable --allow-ffi example.ts
// example.ts
import AutoPilot from "https://deno.land/x/autopilot/mod.ts";
const pilot = new AutoPilot();
// type a string await pilot.type("Yay! This works"); // get screen size const screenSize = await pilot.screenSize(); // move mouse await pilot.moveMouse(200, 400); // take a screenshot await pilot.screenshot("screenshot.png"); // ...and more stuff
License
๐ More in this category