Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastRobot 0.1.0 [ALPHA-2026-06-14] — High-FPS Screen Capture & Native Automation for Java

Status License: MIT Java Platform JitPack

🤖 The high-performance alternative to java.awt.Robot — 10–17× faster screen capture and 5–15× faster input events using DirectX and GDI.

FastRobot is built for developers who need raw speed. Whether it's high-FPS screen streaming, low-latency bot input, or computer vision at 60+ FPS, FastRobot delivers where the standard AWT Robot fails.

FastRobot Showcase


Quick Start

# Clone the repository
git clone https://github.com/andrestubbe/FastRobot.git

# Build the native bridge
cd FastRobot
.\compile.bat

# Launch the demo
.\run-demo.bat


Table of Contents


Features

  • ⚡ Ultra-Fast Capture — 10–17Ă— faster than java.awt.Robot using DirectX DXGI Desktop Duplication.
  • 🖱️ Zero-Latency Input — Native mouse and keyboard injection via DirectInput/SendInput.
  • 🖥️ Desktop Duplication — 60+ FPS real-time desktop streaming with hardware GPU path.
  • 🚀 Zero GC Stalls — Native memory buffers keep your Java heap completely clean.

Installation

Option 1: Maven (Recommended)

Add the JitPack repository and the dependencies to your pom.xml:

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

<dependencies>
    <!-- FastRobot Library -->
    <dependency>
        <groupId>com.github.andrestubbe</groupId>
        <artifactId>FastRobot</artifactId>
        <version>0.1.0</version>
    </dependency>

    <!-- FastCore (Required Native Loader) -->
    <dependency>
        <groupId>com.github.andrestubbe</groupId>
        <artifactId>FastCore</artifactId>
        <version>0.1.0</version>
    </dependency>
</dependencies>

Option 2: Gradle (via JitPack)

repositories {
    maven { url 'https://jitpack.io' }
}

dependencies {
    implementation 'com.github.andrestubbe:FastRobot:0.1.0'
    implementation 'com.github.andrestubbe:FastCore:0.1.0'
}

Option 3: Direct Download (No Build Tool)

Download the latest JARs directly to add them to your classpath:

  1. 📦 fastrobot-0.1.0.jar (The Core Library)
  2. ⚙️ fastcore-0.1.0.jar (The Mandatory Native Loader)

Important

All JARs must be in your classpath for the native JNI calls to function correctly.


Documentation

  • COMPILE.md: Full compilation guide (MSVC C++17 build chain + JNI Setup).
  • REFERENCE.md: Full API descriptions and method reference.
  • PHILOSOPHY.md: The engineering rationale for zero-allocation performance.
  • ROADMAP.md: Future milestones and planned features.

Platform Support

Platform Status
Windows 10/11 âś… Fully Supported
Linux đźš§ Planned
macOS đźš§ Planned

License

MIT License — See LICENSE file for details.


Related Projects

  • FastCore — Native Library Loader for Java
  • FastScreen — High-Performance Native Screen Capture for Java
  • FastMouse — Native Mouse API for Java
  • FastKeyboard — Native Windows RawInput API for Java
  • FastOCR — Ultra-Fast Native OCR for Java
  • FastImage — Ultra-Fast Native Image Processing for Java

Part of the FastJava Ecosystem — Making the JVM faster. ⚡

About

🎯 High‑performance Java automation engine — DirectX/DXGI zero‑copy screen capture and ultra‑low‑latency native mouse/keyboard injection, 10–17× faster than java.awt.Robot.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages