General Automation Platform

Works without root

Automate anything
on an Android screen.

GAP is a free Android app that runs automation scripts you write in JavaScript. It looks at the screen, recognises what is on it, and taps, swipes and types exactly where a person would — on a phone, a tablet, or an emulator on your computer.

Windows · gap-starter.zip macOS / Linux · .tar.gz

  • About 60 MB, app included
  • Installs it for you
  • No sign-up

Already set up? Write your first script · Only need the app? All downloads

Library2 scripts · 1 running
Online
AllLocal
gap-playgroundRunning for 2m · On this device
find-and-tap
On this device · no catalogue entry
LibrarySourcesSettings

What GAP does

A tireless pair of eyes and hands for your device

GAP works from the outside, the way you do: it reads pixels and sends touches. Nothing is modified, injected or patched — any app that shows up on the screen can be automated, and keeps running as normal underneath.

Write your own

A script is a folder and some JavaScript

You tell GAP what to do with a script: plain modern JavaScript — classes, async, modules — with a flat set of globals like tap() and findImage(). If you can crop a screenshot and write a loop, you can write one. The Quick start takes you from an empty folder to a working script.

  • index.js holds the logic, images/ the pictures it looks for, and index.html the script's own settings page — ordinary HTML and CSS, shown in the floating bar.
  • Over eighty documented calls: screenshots and pixels, OpenCV matching and filters, touch and keys, apps, files, and settings backup — all in the API reference.
  • Give a script a Quick Bar of its own buttons, a banner for status messages, and a themed floating bar.
  • Publish a source — one JSON file at a URL — and anyone can add it to their Library to get your scripts and updates.

Open the Quick startSee a full exampleAPI reference

index.js
// Runs when you press Play.
function start(settings) {
  const next = openImage(getScriptPath() + '/images/next.png');
  const { width, height } = getImageSize(next);

  for (let i = 0; i < settings.repeat; i++) {
    const screen = getScreenshot();
    const hit = findImage(screen, next);
    releaseImage(screen);

    if (hit.score >= 0.85) {
      tap(hit.x + width / 2, hit.y + height / 2);
    }
    sleep(500);
  }
}

GAP Companion

Every device you run, in your pocket

Early access

GAP is complete on its own. GAP Companion is the optional add-on for when your devices are somewhere else — another room, a rack of emulators, a PC at home. It is a phone app and a web dashboard that watch and drive your GAP installs from anywhere. It does not automate anything itself: GAP does the work, Companion lets you see it and steer it.

About GAP Companion7 days free, then $10/month

What GAP does on its own and what GAP Companion adds
 GAP on its ownWith GAP Companion
Run scripts, floating bar, LibraryYes — freeYes
Control a runOn the deviceFrom your phone or a browser, anywhere
Know when a run ends or failsCheck the devicePush alert
Many devices at onceOne at a timeFleet controls, presets, workflows
A script hits an unknown screenIt stops or waitsIt asks you, you answer from your phone
Restart when slow, then carry on—Restarts a rooted device and resumes the run
Extra features inside a script, such as asking you for directions—For signed scripts that include them
AccountNoneSign in with Google or Discord

GAP Companion is a paid subscription, free for the first 7 days, and is in early access: the Android app and the web dashboard work today, an iPhone app is in development. Any device that runs GAP can be linked. The Companion app needs Android 8.0 or newer, and the dashboard runs in any modern browser. Companion features reach signed scripts only, and signing for your own scripts is still to come. Find out more on the GAP Companion page.

Before you start

Three things you need

  1. 1 · An Android device to automate

    An Android phone or tablet (Android 7.0 or newer), or an emulator on your computer: MuMu Player on Windows (the one GAP is built and tested on), BlueStacks Air on an M-series Mac, Waydroid on Linux. LDPlayer, Nox and MEmu work on Windows too.

  2. 2 · The app you want to automate

    Install it on that device or emulator, sign in if it needs it, and open it once so it is ready to use. GAP drives the app as it is — it cannot help until the app itself works.

  3. 3 · A computer, for one step

    The engine that reads the screen needs more power than a normal app gets, and a computer hands it that power. Emulator users already have one. Phone users need a USB cable too. A rooted phone can skip it.

Get started

Four steps, about ten minutes

Most setups run a small tool on a computer once: it puts the app on the device and, unless the device is rooted, starts GAP's engine, which you redo after every restart. On a rooted device the app starts its own engine, and a rooted phone can skip the computer and install the app directly.

  1. 1Get the starter tool

    One download for Windows, Mac and Linux, with the app inside it. Unzip it anywhere. It is a plain folder — nothing gets installed on your computer.

    gap-starter.zip · gap-starter.tar.gz

  2. 2Install the app, start the engine

    Run the one file named for your computer, pick your device from a numbered list, then follow the Next: line it prints: 6 installs the app, 1 starts the engine.

    Start-Windows / Start-Linux

  3. 3Allow two permissions

    Display over other apps lets the floating bar sit on top of other apps. All files access lets the app read the folder scripts live in (on Android 10 and older it is the ordinary storage permission). The app asks for both the first time it opens.

    GAP app → Grant → Grant

  4. 4Write a script, press Play

    Copy a script folder into GAP's scripts folder and it appears in the Library. Tap Play, open the app it drives, and press Play on the floating bar. The Quick start walks through your first one.

    Download/GeneralAutomationPlatform/scripts/

Step by step

Answer a couple of questions and the guide below rewrites itself for exactly what you have. Every step is spelled out — nothing here assumes you have done this before.

Where will GAP run?
Which computer?
Is it rooted?

Downloads

Pick what you need

Every download comes from the project's Releases page on GitHub, and these links always point at the newest one.

Questions

Ready to automate your first app?

Get the starter tool, follow the guide for your setup, then write your first script with the Quick start. Add GAP Companion whenever you want it on your phone too.