Kozma Hunor
Kozma Hunor

MineLease

A unified Minecraft modpack launcher and manager built with Electron. It allows leasing modpacks and syncing game data securely across machines.

MineLease demo

The Challenge

Handling cross-platform file paths and efficiently syncing multi-gigabyte Minecraft instances while integrating secure local secret storage (keytar) to keep player tokens safe.

My Solution

Used Electron alongside React to give a cross-platform desktop UI, leveraging Node.js native APIs for direct file-system operations and keytar for secure token storage.

Tech Stack

  • Electron: Allowed me to create a cross-platform desktop application with web technologies (React, Node.js) that can access the file system and run command-line operations (Git).
  • React: Provided a modern and responsive user interface for the application.
  • Git: The core of the system. Git efficiently handles changes to large files and provides a complete version history, which is the foundation of the project.
  • keytar: Securely stores the user's GitHub token in the operating system's keychain.

Technical Deep-Dive

The app bundles the React build into an Electron executable using electron-builder. The syncing logic uses smart hashing to only download modified client mods.