luma-prism-0.0.1 is not a library.
luma-prism scans PrismLauncher data and helps you reclaim space safely.
It focuses on:
- safe cleanup targets (
cache,logs,meta, instance logs/crash reports) - duplicate mod detection
- world size analysis
- per-instance usage summaries
- optional candidates for unused libraries/assets
By default, cleanup runs in dry-run mode and deletion uses the system trash.
Features
- Fast parallel scanning (
rayon+walkdir) - English/Japanese output switch via
luma config - Interactive instance selection for
scan - Paged scan report viewer
- World breakdown mode (
region,playerdata,poi, etc.) - Clean preview filtering by kind/size/age and optional interactive candidate selection
Table of Contents
Installation
1) One-command installer (macOS)
|
Options:
- Pin a version:
LUMA_VERSION=0.1.0 ... - Change install directory:
LUMA_BIN_DIR=$HOME/.local/luma-prism/bin ...
Local test before push:
| LUMA_BIN_DIR=/tmp/luma-prism-test/bin LUMA_ASSET_URL=file:///tmp/luma-prism-local-macos.tar.gz
2) One-command installer (Windows PowerShell)
iwr -useb https://raw.githubusercontent.com/tukuyomil032/luma-prism/master/install.ps1 | iex
Options:
- Pin a version:
$env:LUMA_VERSION='0.1.0' - Change install directory:
$env:LUMA_BIN_DIR='C:\\tools\\luma-prism\\bin'
Local test before push:
cargo build --release
Compress-Archive -Path .\target\release\luma.exe -DestinationPath $env:TEMP\luma-prism-local-win.zip -Force
$env:LUMA_ASSET_URL = "file:///$($env:TEMP -replace '\\','/')/luma-prism-local-win.zip"
Get-Content .\install.ps1 -Raw | Invoke-Expression
3) GitHub Releases binaries
Download prebuilt binaries from:
4) cargo install
From git (works now):
From crates.io (after publish):
5) Build from source
Uninstall
macOS / Linux shell
| LUMA_BIN_DIR=/.local/bin
Windows PowerShell
Get-Content .\scripts\uninstall.ps1 -Raw | Invoke-Expression
Quick Start
# Analyze reclaimable storage
# Show worlds with breakdown of large buckets
# Dry-run clean with preview filters and interactive selection
# Apply cleanup (moves files to trash)
Commands
luma scanluma cleanluma modsluma worldsluma usageluma config
Useful clean options:
--kind <kind>(repeatable:global,instance,advanced)--min-size <size>(e.g.500MB,2GB)--older-than-days <days>--select(interactive candidate selection)
Release Automation
This repository includes automated release flow in:
Behavior:
- Push to
main - Workflow reads
versionfromCargo.toml - If tag
v<version>does not exist, it creates and pushes it - Builds binaries for macOS (x86_64/aarch64) and Windows (x86_64)
- Publishes GitHub Release with attached archives and
SHA256SUMS.txt
That means your release workflow is driven by Cargo.toml version only.
Safety
luma-prism is designed to avoid accidental data loss.
- Dry-run is the default cleanup mode
- Cleanup confirmation is required unless
-yis set - Deletions are sent to system trash, not hard-deleted
- PrismLauncher root bounds are checked before cleanup