Skip to content

andrestubbe/FastHardware

Repository files navigation

FastHardware v0.1.0 [ALPHA] — Native Hardware Telemetry API for Java

Status License: MIT Java Platform JitPack

⚡ A zero-overhead native module for the FastJava ecosystem. Monitor CPU, GPU, RAM, and Disk health directly via native Windows APIs.

FastHardware provides direct access to system performance counters and hardware sensors. By using native Win32/WMI hooks, it delivers accurate telemetry without the performance hit of traditional Java system-querying methods.

FastKeyboard Showcase


Table of Contents


Features

  • 📊 Real-Time Stats: Monitor CPU usage, GPU temperature, and RAM availability.
  • ⚡ Ultra-Fast Queries: Low-latency hardware status updates.
  • 📦 Zero Overhead: Efficient native implementation bypassing heavy abstractions.
  • 🚀 High Accuracy: Real OS-level data for performance monitoring tools.

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>
    <!-- FastHardware Library -->
    <dependency>
        <groupId>com.github.andrestubbe</groupId>
        <artifactId>fasthardware</artifactId>
        <version>v0.1.0</version>
    </dependency>

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

Option 2: Gradle (via JitPack)

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

dependencies {
    implementation 'com.github.andrestubbe:fasthardware:v0.1.0'
    implementation 'com.github.andrestubbe:fastcore:v0.1.0'
}

Option 3: Direct Download (No Build Tool)

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

  1. 📦 fasthardware-v0.1.0.jar (The Core Library)
  2. ⚙️ fastcore-v0.1.0.jar (The Mandatory Native Loader)

Important

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


Documentation


License

MIT License — See LICENSE for details.


Part of the FastJava EcosystemMaking the JVM faster.

About

Native Hardware Telemetry API for Java (CPU, RAM, WMI Temps) with Zero GC Overhead.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors