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
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.
-
It sees the screen
Takes a fresh screenshot in about a millisecond and finds things on it with OpenCV: a saved image of a button, a colour, an edge, a shape.
- template matching
- colour masks
- edges & contours
- UI hierarchy
-
It acts like a person
Taps, long-presses, real drag gestures and swipes; hardware keys like Home and Back; typing text. It can open, close and check other apps too.
- tap & hold
- drag & swipe
- keys & text
- launch apps
-
You stay in charge
A small floating bar sits on top of everything with Play/Pause, Stop, a status line showing the script's latest message, and the script's Settings. Pause freezes the script instantly, whatever it was doing.
- floating bar
- status line
- per-script settings
-
Share and update scripts
Copy a script onto the device and it appears in the Library. To share it, publish a source — one JSON file at a URL. Anyone who adds it gets your scripts with updates and rollback, and every download is checked against its published fingerprint.
- local scripts
- your own sources
- SHA-256 verified
-
It minds itself
Pauses when the app it drives slips behind another one, can reopen that app if it closes, and brings its own bar back if Android hides it. Everything a run does goes to a log on the device.
- auto-pause
- app watchdog
- rotating logs
-
Private by default
Scripts run on the device. They cannot reach the network or run shell commands unless you switch that on for that script, and problem reports are saved locally — nothing is uploaded. The app tells you when it has an update, and never installs one without asking.
- opt-in network
- opt-in shell
- no account
- Repetitive chores in any app
- Testing an app's screens on several devices
- Visual checks across an emulator lab
- Demos that run themselves
- Long, unattended runs
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.
// 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
-
Link in a minute
In GAP open Settings → GAP Companion → Link to GAP Companion. It shows a short code and a QR code; scan it with the Companion app or type it into the dashboard. Do it once per device.
GAP Settings → Link → scan
-
See everything at a glance
Which devices are online, what each is running and for how long, a timeline of what just happened, and a screenshot on request. Push alerts tell you when a run finishes, fails, or needs you.
status · timeline · screenshots · alerts
-
Drive one device or all of them
Start, pause, resume and stop scripts — on one device or a whole fleet at once. Change a script's settings remotely, save them as presets, and restart a rooted device when it slows down.
start · pause · stop · presets · restart
-
Answer when a script is stuck
A script that supports it can pause on a screen it doesn't recognise and ask. You see the screenshot on your phone, mark the tap or drag it should make, and the script makes it and carries on. This needs a signed script, and signing for your own is still to come.
script asks → you tap → script resumes
-
Workflows
Line up steps — run, restart the app, restart if slow, loop, stop — and assign them to devices, so long unattended runs look after themselves.
ordered steps · per device
-
Safe by design
Companion can only send a fixed list of commands — never code or files, and it never taps for you: a script that asks for directions makes the tap itself. Only signed scripts get Companion features. And if you stop using it, GAP keeps working exactly as before.
fixed commands · signed scripts
| GAP on its own | With GAP Companion | |
|---|---|---|
| Run scripts, floating bar, Library | Yes — free | Yes |
| Control a run | On the device | From your phone or a browser, anywhere |
| Know when a run ends or fails | Check the device | Push alert |
| Many devices at once | One at a time | Fleet controls, presets, workflows |
| A script hits an unknown screen | It stops or waits | It 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 |
| Account | None | Sign 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 · 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 · 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 · 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.
-
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
-
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
-
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
-
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.
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.
-
Recommended · everything
The starter tool, app included
The tool that installs the app and starts the engine, with the app for every kind of device inside it. This is the one the guide above uses.
Mac users: take the .tar.gz. A .zip that came through a browser gets blocked by macOS; the .tar.gz does not.
-
Just the app
The APK on its own
For a rooted device, or if you already have the tool. There is one file per kind of processor — pick the one that matches:
-
gap-x86_64.apk~30 MB
Emulators on a Windows PC (MuMu, LDPlayer, Nox, MEmu) and Waydroid on a Linux PC.
-
gap-arm64-v8a.apk~17 MB
Any phone or tablet from the last several years, and BlueStacks Air on an M-series Mac.
-
gap-armeabi-v7a.apk~16 MB
32-bit phones: very old ones, and some budget models.
Not sure? Use the starter tool — it checks the device and picks the right one.
-
gap-x86_64.apk~30 MB
-
Tool only
The starter tool, no app inside
A tiny download for people who already have the tool and want the newest version of it. Extract it over your existing folder. It can still install the app — it downloads it for you when you choose 8 in its menu.
Already have the app? Its Library screen tells you when a newer app is out and updates it for you.
Questions
-
Why do I need a computer at all?
Reading the screen and tapping inside another app takes a level of access that Android only hands out through a cable from a computer. The starter tool does that in one keypress and then gets out of the way — the phone or emulator does everything else.
-
Do I need root?
No. Root only replaces the computer: with it, the app starts its own engine and takes its own permissions, and there is nothing to redo after a restart. Windows emulators can usually be rooted with one switch in their settings, which is why the guide suggests it there.
-
What screen size should an emulator use?
Any size works. GAP was tuned on 540 × 960, because a small screen is fast to read, so scripts see and react quicker; a higher frame rate, if the emulator offers one, lets them see changes sooner. Use a bigger size if the app you automate needs it. Whatever you pick, take a script's pictures at the same size you run it, or they will not line up.
-
It stopped working after a restart
On a device that is not rooted the engine does not survive a reboot. Run the starter tool again — it opens straight to your device — and type 1. The app's main screen says Online once it is back.
-
Windows says it “protected your PC”
That blue box appears for any downloaded file Windows has not seen before. Click More info, then Run anyway. Start-Windows is a short text file; you are welcome to open it in Notepad first.
-
Is it OK to automate any app?
That is up to the app. Some apps' terms of service forbid automation, and GAP does not hide what it does. Read the terms of the app you automate, and use an account you would be OK losing if they object.
-
Which Android versions work?
Android 7.0 and newer, on phones, tablets, and the emulators: MuMu Player and friends on Windows, BlueStacks Air on M-series Macs, Waydroid on Linux. GAP itself is built and tested on Android 12. The starter tool picks the right build of the app for whichever you have.
-
Do I need GAP Companion?
No. Everything above — running scripts, the floating bar, the Library — is free and works without it. Companion is for watching and steering devices you are not sitting in front of — see GAP Companion.
-
Where do I get help?
Join the Discord server and ask in the #gap channel. If a script did something odd, attach its log — it is in Download/GeneralAutomationPlatform/logs/ on the device.
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.