explaingit

supermonster003/autojs6

5,826JavaAudience · developerComplexity · 3/5Setup · moderate

TLDR

An Android app that lets you write JavaScript scripts to automate taps, swipes, and data entry on your phone, no root required, using Android's built-in accessibility features to control any app on screen.

Mindmap

mindmap
  root((AutoJs6))
    What it does
      Automate taps and swipes
      Script UI interactions
      Schedule tasks
    How it works
      Accessibility Service
      JavaScript engine
      ADB desktop link
    Features
      Built-in code editor
      Home screen shortcuts
      Event triggers
    Setup
      APK sideload
      Android Studio build
      No root required
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Automate repetitive taps and form-filling inside any Android app without rooting your phone.

USE CASE 2

Schedule scripts to run at set times or trigger them from a home screen shortcut.

USE CASE 3

Write and test automation scripts directly on your phone using the app's built-in JavaScript editor.

USE CASE 4

Run UI automation across multiple apps from a desktop IDE via the Android Debug Bridge.

Tech stack

JavaJavaScriptAndroidADBAndroid Studio

Getting it running

Difficulty · moderate Time to first run · 30min

Requires sideloading an APK on Android, building from source needs Android Studio 2023.3 or newer.

Open source and free, continuation of the original Auto.js open-source project, maintained by the community.

In plain English

AutoJs6 is an Android app that lets you write JavaScript scripts to automate tasks on your phone. Rather than tapping through apps by hand, you write a script that does the tapping, scrolling, and data entry for you. It uses Android's Accessibility Service, a built-in Android feature originally designed to help users with disabilities, to observe and interact with the screen. This project is a continuation of the original Auto.js, which was an open-source Android automation tool first released in 2017 and abandoned by its original author in 2020. AutoJs6 picked up from that final release in December 2021 and has been actively maintained since, staying free and open source while the original author later created a paid commercial version. The app includes a built-in code editor on the phone so you can write and run scripts directly without connecting to a computer. It also supports working from a desktop development environment using the Android Debug Bridge (ADB) for more complex projects. Scripts can be scheduled to run automatically, triggered by events, or launched from home screen shortcuts. The README is written primarily in Chinese, though links to translations in English, French, Spanish, Japanese, Korean, Russian, and Arabic are provided. The project targets developers and power users who are comfortable writing JavaScript. Common use cases mentioned in similar tools of this type include automating repetitive in-app actions, running workflows across multiple apps, and scripted testing, though the README itself focuses on technical setup and project history rather than describing specific use cases. Installation is via an APK download from the project's release page. Building from source requires Android Studio 2023.3 or newer. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
I want to automate a daily login and data-entry task in an Android app using AutoJs6. Write a JavaScript script that opens the app, finds a text field by ID, types into it, and taps a submit button.
Prompt 2
How do I connect AutoJs6 to my Android phone via ADB so I can write and run scripts from VS Code on my desktop?
Prompt 3
Write an AutoJs6 script that runs every hour, checks a specific UI element for a value, and sends a phone notification when the value changes.
Prompt 4
I'm using AutoJs6 to script a multi-step workflow across two Android apps. How do I switch between apps in a script and wait for each one to load?
Prompt 5
How do I package an AutoJs6 script as a standalone APK so I can share it with someone who doesn't have AutoJs6 installed?
Open on GitHub → Explain another repo

← supermonster003 on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.