Ledger is a desktop-friendly Litematica / Minecraft schematic material analyzer.
It reads a .litematic file entirely on your own machine, counts the actual placed blocks, and gives you a build-ready materials list with quantities, stacks, shulkers, search, sorting, exports, print view, saved checklist progress, and automatic update support in the Windows desktop build.
This repository is set up to support both:
- a browser version (
index.html) - a Windows desktop version built with Electron and packaged as an auto-updating NSIS
.exeinstaller using GitHub Actions
- Drag-and-drop or browse for
.litematicfiles - Parse Litematica/NBT data client-side
- Decode Litematica's bit-packed block-state arrays
- Count real placed blocks, not just palette entries
- Show quantities, stacks, shulkers, and percentage share
- Show overall build progress for gathered materials
- Save checked-off progress automatically on the same device for the same schematic
- Auto-detect a local Minecraft installation in the desktop app and use those real block textures when available
- Search, sort, filter, print, export CSV/JSON
- Run fully offline after packaging
- Auto-check for app updates on startup in the Windows desktop build
.github/workflows/build-windows.yml GitHub Actions workflow that builds the Windows EXE on Windows
build/icon.ico Windows installer/app icon
build/icon.png App/tab icon
index.html Main app UI and client-side logic
main.js Electron main process
preload.js Safe renderer bridge for desktop-only features
package.json Electron + build configuration
scripts/sync-vendor.js Copies offline libraries/fonts into vendor/
vendor/ Offline JS libraries and bundled fonts
GITHUB_CMD_WALKTHROUGH.md Beginner Git + CMD walkthrough
GITHUB_NEW_REPO_WALKTHROUGH.md Beginner browser-upload walkthrough
WINDOWS_MSI_GUIDE.md Older guide file (superseded by the current EXE setup)
- Download this repository
- Open
index.html - Load a
.litematicfile
- Go to this repo's Actions tab or Releases page
- Download the built Windows installer
.exe - Run the installer
- Open Ledger from your desktop or Start menu
You do not need your own Windows computer.
This repo includes a GitHub Actions workflow that:
- runs on
windows-latest - installs dependencies
- vendors the offline browser libraries and fonts
- runs
electron-builder - builds a Windows NSIS
.exeinstaller - uploads that installer as a GitHub Actions artifact
- publishes release files for auto-update when you push a version tag like
v1.0.0
Workflow file:
.github/workflows/build-windows.yml
The packaged Windows desktop app now targets NSIS, which is the standard Electron/electron-builder path for Windows auto-updates 2 3. The app checks for updates automatically on startup, and tagged releases can be published to GitHub Releases for download/update delivery 2.
The Windows EXE build runs when:
- you push to
main - you manually run the workflow from the Actions tab
- you push a tag like
v1.0.0
After a workflow run finishes:
- Open the repo on GitHub
- Click Actions
- Click the latest Build Windows EXE run
- Scroll to Artifacts
- Download Ledger-Windows-EXE
If you pushed a version tag like v1.0.0, you can also find the release files under Releases.
If you want to run the Electron version locally on your own machine:
npm install
npm run sync:vendor
npm startTo build the Windows installer locally on Windows:
npm run build:winTo publish a tagged Windows release locally on Windows:
npm run release:win- the app is packaged to run offline
JSZipandpakoare bundled locally from npm- fonts are bundled locally from npm so the installed app does not depend on Google Fonts
- the Windows icon is in
build/icon.ico - Ledger includes bundled built-in block textures using Faithful 64x (see
THIRD_PARTY_NOTICES.md) - the bundled Faithful license file is included in
vendor/faithful/LICENSE.txt - Mojang's default Minecraft textures are not redistributed inside the app package
If you are completely new to GitHub, use one of these guides next:
GITHUB_NEW_REPO_WALKTHROUGH.md
GITHUB_CMD_WALKTHROUGH.md
MIT