Skip to content
/ gamebot Public

(WIP) android game automation with rust

Notifications You must be signed in to change notification settings

tkkcc/gamebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gamebot

gamebot is in early stage

Gamebot is a framework for automating android app and game with rust. Usually it's done in scripting language like lua/javascript/python using closed source framework. And it's not easy to use custom image processing algorithms or custom neural network. Gamebot tries to provide another option for android automation with more possibilities.

quick glance

use gamebot::{api::img, find::Find};

fn collect_mail() -> Option<()> {
    let mail_btn = img("asset/mail.jpg").within((0, 0, 100, 100));
    mail_btn.appear(2);
    mail_btn.find()?.click();
    Some(())
}

feature

  1. rust language and ecosystem
  2. git based auto update
  3. root and non-root(need shizuku) android >= 7.0
  4. neural network inference with onnxruntime and ncnn
  5. multilingual ocr for singleline and multiline text
  6. fast screenshot and accessibility node analysis
  7. jetpack compose based ui and webview ui