Watch the video: https://youtu.be/c8OFBn18QJA
Futhero Secure Launcher is a modern desktop application built with Electron, TypeScript, and Node.js, designed to provide a secure and optimized environment for the web games Bonk.io and Haxball.com.
It acts as a dedicated launcher that improves performance, reduces ping, and allows safe frontend customizationโsimilar to a browser extensionโwhile maintaining strict security and isolation standards.
This launcher is also Microsoft Store ready, with packaging handled via AppX format using electron-builder.
โ
Dual Game Support โ Seamlessly launch and play Bonk.io or Haxball.com from a single application.
๐ Secure Architecture โ Implements Electronโs best practices, including Context Isolation, Sandboxing, and disabled Node Integration for web content.
๐ง Frontend Modding โ Safely injects custom JavaScript (frontend-mod.js) into the gameโs context for UI enhancements or automation.
โก Reduced Ping & Improved Stability โ Runs independently from traditional browsers, providing a smoother and faster connection.
๐ ๏ธ TypeScript-Powered โ Ensures cleaner, type-safe, and scalable development.
๐ฌ Microsoft Store Ready โ Fully configured for AppX packaging and distribution via the Microsoft Store.
Before starting, make sure you have:
- Node.js (LTS version recommended)
- npm (included with Node.js)
-
Clone the repository (or navigate to your project folder):
git clone https://github.com/brenoluizdev/Futhero-Desktop.git cd futhero-desktop -
Install dependencies:
npm install
Run the app directly from the TypeScript source:
npm run devCompile and run the optimized version:
npm run build
npm startThe application is built around isolating untrusted web content (Bonk.io or Haxball) from the powerful Node.js environment.
| Component | File | Role | Security Measures |
|---|---|---|---|
| Main Process | src/main.ts |
Controls the app lifecycle and windows | Sandboxing and context isolation enabled |
| Preload Script | src/preload.ts |
Secure communication bridge between renderer and main | Prevents direct access to Node APIs |
| Frontend Mod | frontend-mod.js |
Custom UI scripts for Bonk.io/Haxball | Executed in the isolated web context |
The frontend-mod.js file is where you can add your custom scripts for either Bonk.io or Haxball.
These scripts run directly within the gameโs DOM but communicate securely with the launcher through the contextBridge API.
Example:
if (window.futheroAPI) {
window.futheroAPI.sendNotification("Custom event triggered in Bonk.io!");
}The project is configured to build an AppX package using electron-builder.
Before generating the final package, update your publisher details in package.json:
"appx": {
"publisher": "CN=YourPublisherID",
"publisherDisplayName": "Your Publisher Name",
"applicationId": "YourAppIdentity"
}Then run:
npm run distUnlike traditional browser-based gameplay, Futhero runs the official Bonk.io and Haxball.com pages inside a secure Electron window.
This ensures:
- Lower ping and faster load times
- A distraction-free gaming environment
- Continued support for original game analytics (views and metrics still count for the official sites)
- Enhanced security with no third-party browser extensions or ads
Futhero-Launcher/
โโโ src/
โ โโโ main.ts # Main Electron process
โ โโโ preload.ts # Secure preload communication
โ โโโ renderer/ # UI files (React or HTML)
โ โโโ utils/ # Utility functions
โโโ assets/ # Icons, logos, and static assets
โโโ frontend-mod.js # Game modification scripts
โโโ package.json
โโโ tsconfig.json
โโโ README.md
- Electron โ Cross-platform desktop framework
- TypeScript โ Type-safe JavaScript
- Node.js โ Backend runtime
- Electron Builder โ Packaging and distribution
Developed with โค๏ธ by Breno (BonkTools Developer)
Aiming to make Bonk.io and Haxball faster, safer, and more enjoyable for everyone.
This project is licensed under the MIT License.
Feel free to modify, fork, and contribute!
