Skip to content

Commit 622e377

Browse files
committed
Auto Update
1 parent d6f88ea commit 622e377

14 files changed

Lines changed: 665 additions & 665 deletions

File tree

.gitattributes

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
# Primary Languages
2-
*.java linguist-detectable=true
3-
*.cpp linguist-detectable=true
4-
*.h linguist-detectable=true
5-
6-
# Exclude scripts and clutter from language stats
7-
*.bat linguist-detectable=false
8-
native/* linguist-detectable=true
9-
10-
# Exclude binary and build files
11-
*.dll linguist-detectable=false
12-
*.obj linguist-detectable=false
13-
*.lib linguist-detectable=false
14-
*.exp linguist-detectable=false
15-
build/* linguist-detectable=false
16-
target/* linguist-detectable=false
17-
18-
# Documentation
19-
*.md linguist-documentation
1+
# Primary Languages
2+
*.java linguist-detectable=true
3+
*.cpp linguist-detectable=true
4+
*.h linguist-detectable=true
5+
6+
# Exclude scripts and clutter from language stats
7+
*.bat linguist-detectable=false
8+
native/* linguist-detectable=true
9+
10+
# Exclude binary and build files
11+
*.dll linguist-detectable=false
12+
*.obj linguist-detectable=false
13+
*.lib linguist-detectable=false
14+
*.exp linguist-detectable=false
15+
build/* linguist-detectable=false
16+
target/* linguist-detectable=false
17+
18+
# Documentation
19+
*.md linguist-documentation

.github/workflows/release.yml

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
1-
name: Create Release
2-
3-
on:
4-
push:
5-
tags:
6-
- 'v*'
7-
- '[0-9]*'
8-
9-
jobs:
10-
build:
11-
runs-on: windows-latest
12-
steps:
13-
- uses: actions/checkout@v4
14-
15-
- name: Set up JDK 17
16-
uses: actions/setup-java@v4
17-
with:
18-
java-version: '17'
19-
distribution: 'temurin'
20-
cache: maven
21-
22-
- name: Build native DLL
23-
run: echo. | .\compile.bat
24-
25-
- name: Build JAR
26-
run: mvn -B package -DskipTests -Dmaven.javadoc.skip=true
27-
28-
- name: Upload Release Assets
29-
uses: softprops/action-gh-release@v2
30-
with:
31-
files: |
32-
target/*.jar
33-
build/*.dll
34-
name: Release ${{ github.ref_name }}
35-
draft: false
36-
prerelease: false
37-
env:
1+
name: Create Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
- '[0-9]*'
8+
9+
jobs:
10+
build:
11+
runs-on: windows-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Set up JDK 17
16+
uses: actions/setup-java@v4
17+
with:
18+
java-version: '17'
19+
distribution: 'temurin'
20+
cache: maven
21+
22+
- name: Build native DLL
23+
run: echo. | .\compile.bat
24+
25+
- name: Build JAR
26+
run: mvn -B package -DskipTests -Dmaven.javadoc.skip=true
27+
28+
- name: Upload Release Assets
29+
uses: softprops/action-gh-release@v2
30+
with:
31+
files: |
32+
target/*.jar
33+
build/*.dll
34+
name: Release ${{ github.ref_name }}
35+
draft: false
36+
prerelease: false
37+
env:
3838
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# IDE files
2-
.vscode/
3-
.idea/
4-
*.iml
5-
6-
# OS files
7-
Thumbs.db
8-
.DS_Store
9-
10-
# Build artifacts
11-
/target/
12-
/build/
13-
/out/
14-
15-
# Release Staging (Private Templates)
16-
/release/
1+
# IDE files
2+
.vscode/
3+
.idea/
4+
*.iml
5+
6+
# OS files
7+
Thumbs.db
8+
.DS_Store
9+
10+
# Build artifacts
11+
/target/
12+
/build/
13+
/out/
14+
15+
# Release Staging (Private Templates)
16+
/release/

LICENSE

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
MIT License
2-
3-
Copyright (c) 2026 Andre Stubbe
4-
5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
11-
12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
1+
MIT License
2+
3+
Copyright (c) 2026 Andre Stubbe
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 97 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -1,97 +1,97 @@
1-
# FastHardware 0.1.0 [ALPHA-2026-06-07] — Native Hardware Telemetry API for Java
2-
3-
[![Status](https://img.shields.io/badge/status-0.1.0-brightgreen.svg)](https://github.com/andrestubbe/FastHardware/releases/tag/0.1.0)
4-
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5-
[![Java](https://img.shields.io/badge/Java-17+-blue.svg)](https://www.java.com)
6-
[![Platform](https://img.shields.io/badge/Platform-Windows%2010+-lightgrey.svg)]()
7-
[![JitPack](https://img.shields.io/badge/JitPack-ready-green.svg)](https://jitpack.io/#andrestubbe/FastHardware)
8-
9-
**⚡ A zero-overhead native module for the FastJava ecosystem. Monitor CPU, GPU, RAM, and Disk health directly via native Windows APIs.**
10-
11-
**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.
12-
13-
[![FastHardware Showcase](docs/screenshot.png)](https://www.youtube.com/watch?v=BZsqQl7WqWk)
14-
15-
16-
---
17-
18-
## Table of Contents
19-
- [Features](#features)
20-
- [Installation](#installation)
21-
- [License](#license)
22-
23-
---
24-
25-
## Features
26-
- **📊 Real-Time Stats**: Monitor CPU usage, GPU temperature, and RAM availability.
27-
- **⚡ Ultra-Fast Queries**: Low-latency hardware status updates.
28-
- **📦 Zero Overhead**: Efficient native implementation bypassing heavy abstractions.
29-
- **🚀 High Accuracy**: Real OS-level data for performance monitoring tools.
30-
31-
---
32-
33-
## Installation
34-
35-
### Option 1: Maven (Recommended)
36-
Add the JitPack repository and the dependencies to your `pom.xml`:
37-
38-
```xml
39-
<repositories>
40-
<repository>
41-
<id>jitpack.io</id>
42-
<url>https://jitpack.io</url>
43-
</repository>
44-
</repositories>
45-
46-
<dependencies>
47-
<!-- FastHardware Library -->
48-
<dependency>
49-
<groupId>com.github.andrestubbe</groupId>
50-
<artifactId>FastHardware</artifactId>
51-
<version>0.1.0</version>
52-
</dependency>
53-
54-
<!-- FastCore (Required Native Loader) -->
55-
<dependency>
56-
<groupId>com.github.andrestubbe</groupId>
57-
<artifactId>FastCore</artifactId>
58-
<version>0.1.0</version>
59-
</dependency>
60-
</dependencies>
61-
```
62-
63-
### Option 2: Gradle (via JitPack)
64-
```groovy
65-
repositories {
66-
maven { url 'https://jitpack.io' }
67-
}
68-
69-
dependencies {
70-
implementation 'com.github.andrestubbe:FastHardware:0.1.0'
71-
implementation 'com.github.andrestubbe:FastCore:0.1.0'
72-
}
73-
```
74-
75-
### Option 3: Direct Download (No Build Tool)
76-
Download the latest JARs directly to add them to your classpath:
77-
78-
1. 📦 **[FastHardware-0.1.0.jar](https://github.com/andrestubbe/FastHardware/releases/download/0.1.0/FastHardware-0.1.0.jar)** (The Core Library)
79-
2. ⚙️ **[FastCore-0.1.0.jar](https://github.com/andrestubbe/FastCore/releases/download/0.1.0/FastCore-0.1.0.jar)** (The Mandatory Native Loader)
80-
81-
> [!IMPORTANT]
82-
> All JARs must be in your classpath for the native JNI calls to function correctly.
83-
84-
---
85-
86-
## Documentation
87-
* **[ARCHITECTURE.md](docs/ARCHITECTURE.md)**: Details on PDH and WMI implementation.
88-
* **[REFERENCE.md](docs/REFERENCE.md)**: Full API and JNI contracts.
89-
* **[ROADMAP.md](docs/ROADMAP.md)**: Future development and milestones.
90-
91-
---
92-
93-
## License
94-
MIT License — See [LICENSE](LICENSE) for details.
95-
96-
---
97-
**Part of the FastJava Ecosystem***Making the JVM faster.*
1+
# FastHardware 0.1.0 [ALPHA-2026-06-07] — Native Hardware Telemetry API for Java
2+
3+
[![Status](https://img.shields.io/badge/status-0.1.0-brightgreen.svg)](https://github.com/andrestubbe/FastHardware/releases/tag/0.1.0)
4+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5+
[![Java](https://img.shields.io/badge/Java-17+-blue.svg)](https://www.java.com)
6+
[![Platform](https://img.shields.io/badge/Platform-Windows%2010+-lightgrey.svg)]()
7+
[![JitPack](https://img.shields.io/badge/JitPack-ready-green.svg)](https://jitpack.io/#andrestubbe/FastHardware)
8+
9+
**⚡ A zero-overhead native module for the FastJava ecosystem. Monitor CPU, GPU, RAM, and Disk health directly via native Windows APIs.**
10+
11+
**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.
12+
13+
[![FastHardware Showcase](docs/screenshot.png)](https://www.youtube.com/watch?v=BZsqQl7WqWk)
14+
15+
16+
---
17+
18+
## Table of Contents
19+
- [Features](#features)
20+
- [Installation](#installation)
21+
- [License](#license)
22+
23+
---
24+
25+
## Features
26+
- **📊 Real-Time Stats**: Monitor CPU usage, GPU temperature, and RAM availability.
27+
- **⚡ Ultra-Fast Queries**: Low-latency hardware status updates.
28+
- **📦 Zero Overhead**: Efficient native implementation bypassing heavy abstractions.
29+
- **🚀 High Accuracy**: Real OS-level data for performance monitoring tools.
30+
31+
---
32+
33+
## Installation
34+
35+
### Option 1: Maven (Recommended)
36+
Add the JitPack repository and the dependencies to your `pom.xml`:
37+
38+
```xml
39+
<repositories>
40+
<repository>
41+
<id>jitpack.io</id>
42+
<url>https://jitpack.io</url>
43+
</repository>
44+
</repositories>
45+
46+
<dependencies>
47+
<!-- FastHardware Library -->
48+
<dependency>
49+
<groupId>com.github.andrestubbe</groupId>
50+
<artifactId>FastHardware</artifactId>
51+
<version>0.1.0</version>
52+
</dependency>
53+
54+
<!-- FastCore (Required Native Loader) -->
55+
<dependency>
56+
<groupId>com.github.andrestubbe</groupId>
57+
<artifactId>FastCore</artifactId>
58+
<version>0.1.0</version>
59+
</dependency>
60+
</dependencies>
61+
```
62+
63+
### Option 2: Gradle (via JitPack)
64+
```groovy
65+
repositories {
66+
maven { url 'https://jitpack.io' }
67+
}
68+
69+
dependencies {
70+
implementation 'com.github.andrestubbe:FastHardware:0.1.0'
71+
implementation 'com.github.andrestubbe:FastCore:0.1.0'
72+
}
73+
```
74+
75+
### Option 3: Direct Download (No Build Tool)
76+
Download the latest JARs directly to add them to your classpath:
77+
78+
1. 📦 **[FastHardware-0.1.0.jar](https://github.com/andrestubbe/FastHardware/releases/download/0.1.0/FastHardware-0.1.0.jar)** (The Core Library)
79+
2. ⚙️ **[FastCore-0.1.0.jar](https://github.com/andrestubbe/FastCore/releases/download/0.1.0/FastCore-0.1.0.jar)** (The Mandatory Native Loader)
80+
81+
> [!IMPORTANT]
82+
> All JARs must be in your classpath for the native JNI calls to function correctly.
83+
84+
---
85+
86+
## Documentation
87+
* **[ARCHITECTURE.md](docs/ARCHITECTURE.md)**: Details on PDH and WMI implementation.
88+
* **[REFERENCE.md](docs/REFERENCE.md)**: Full API and JNI contracts.
89+
* **[ROADMAP.md](docs/ROADMAP.md)**: Future development and milestones.
90+
91+
---
92+
93+
## License
94+
MIT License — See [LICENSE](LICENSE) for details.
95+
96+
---
97+
**Part of the FastJava Ecosystem***Making the JVM faster.*

0 commit comments

Comments
 (0)