Skip to content
zaewcPublic

Latest commit

 

History

618 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lumen

Storage intelligence for every device.

Lumen finds what is filling your disk, explains what each item is, and moves only what is safe to remove, into a quarantine you can restore from.

Latest release rust License: Apache-2.0

Download · 한국어 · How it works · Roadmap

Language Stats

Lumen's Explore page with sample data: storage composition by decision, 9.9 GB proposed, and tool-native cleanup commands.

What it does

  • Finds what takes space, from Xcode's DerivedData and Gradle caches to app caches and old installers, by scanning without opening a single file.
  • Explains every decision. Each item is kept, left for you to review, or proposed for clean-up, with the evidence behind it: who made it, whether it can be regenerated, and whether anything still uses it.
  • Never deletes on its own. Clean-up moves items into a quarantine on the same drive; you can restore them, and they are removed for good only when you say so.
  • Knows when a tool should clean up after itself. For the pnpm store, Xcode simulators and the like, Lumen shows the tool's own command instead of touching the files.
  • Has an AI second opinion. AI review describes items left for review and can only make a decision more careful (more below).
  • Updates itself (from 0.5.0). New versions install from inside the app, verified against Lumen's signing key.

A closer look

An item's evidence inspector: origin, location, review decision and the reasons behind it, with an optional AI note. Sample data.

Evidence: an item's origin and the reasons behind its decision

Storage with sample data: available disk space, a measured capacity view and the last scan grouped by decision.

Storage: disk capacity and the last scan's composition

Quarantine: two held items, one selected, with Restore and Remove for good.

Quarantine: restore anything, or remove several items for good at once

How Lumen decides

A deterministic safety policy, not a model, makes every decision:

Verdict Meaning
Keep System files, documents, app data, anything in use or synced from the cloud, and anything Lumen could not fully read.
Review Lumen is not sure; you decide.
Clean up Known, regenerable items, such as build caches. They go to quarantine first.

When in doubt, Lumen keeps the file or asks. Before moving anything it checks again that the item is unchanged and not in use, and it acts by file handle, never by a path it looked up earlier. The rules are in the scanner safety contract and the decision records.

AI review

Lumen asks once, on first launch, whether to use AI review, and sends nothing until you choose; you can change it in Settings at any time (ADR-0050). While it is on, Lumen sends the metadata of items it proposes and of up to 20 large items left for review (paths with your home folder as ~, file names, sizes, ages, the evidence behind the decision) to the school AI Hub's Jeb model, whose operator may keep requests. File contents are never sent. The AI's answer is evidence: it can make a decision more careful, never less, and it never chooses what to move or delete (ADR-0020). How accurate it is, and how that is measured, is in docs/ai/.

Install

Download the latest beta from the download page or GitHub Releases.

Platform Package Status
macOS 13 or later (Apple silicon and Intel) .dmg Beta
Windows 10 22H2 or later, Windows 11 installer (-setup.exe) Beta
Linux (x86_64) .AppImage, .deb Beta
Android, iOS In development

The beta is not code-signed yet, so the first launch needs one extra step: on macOS, System Settings › Privacy & Security › Open Anyway; on Windows, More info › Run anyway. Every file comes with a SHA-256 checksum and a build-provenance attestation:

shasum -a 256 -c SHA256SUMS --ignore-missing
gh attestation verify <file> --repo zaewc/Lumen

Build from source

You need Rust (the version in rust-toolchain.toml), Node.js 24 with Corepack, and just.

corepack enable && pnpm install
pnpm --filter @lumen/desktop tauri dev   # the desktop app
just check                               # format, lint, tests, cargo-deny, schemas, web checks
cargo run -p lumen-cli -- scan ~/Library --db index.db   # the command line, read-only scan

See CONTRIBUTING.md and AGENTS.md before opening a pull request.

Documentation

Topic Where
Architecture ARCHITECTURE.md, system, platforms
Decisions docs/decisions/
Roadmap docs/architecture/roadmap.md
AI review docs/ai/
Privacy docs/operations/privacy.md
Security SECURITY.md, threat model

Principles

  • Safety over reclaimed space. When uncertain, Lumen keeps the file or asks.
  • Evidence, not guesses. Every recommendation is explainable.
  • AI is advisory. Model output is evidence; a deterministic policy decides.
  • Reversible by default. Removal goes through quarantine, with verification and restore.
  • Local first. Scans, decisions and quarantine stay on your device; file contents never leave it.

License

Lumen is licensed under the Apache License, Version 2.0.

Releases

Packages

Used by

Contributors

Languages