Files
Senbei/senbei-gui/src/lib.rs
T
Momoko-Ayase 5121ec8ee3 feat(gui): add a native desktop front end
senbei-gui is an egui window over the same engine the CLI runs, in
process. Files, folders, and Android packages go into an inputs list,
where unpack, dry run, and inspect run them with live progress, a
per-input log, and cancel between inputs. The detail pane shows what a
run found: recognition, routes, stages, validation, and digests; the
research evidence an inspection collects; a hex view of the original,
spliced, or restored bytes with regions and RVA navigation; a header and
section compare of input and restored image; and package entries.

Restored bytes from an inspection or dry run stay in memory for the
session, up to a per-input cap. Settings cover the display language, the
output folder, the log file, worker threads, folder probing, Android
limits, and that cap. The window shows the legal notice on first start.

The window speaks the five languages the CLI does, from a catalog
generated from the approved mockup wording. Its UI layer builds for
wasm32 behind a Backend trait; the native backend runs jobs on worker
threads. The crate is a workspace member but not a default one, so a
plain cargo build still builds only the CLI.
2026-11-10 02:09:21 +08:00

19 lines
417 B
Rust

//! Senbei's desktop front end.
//!
//! The window ([`Workbench`]) talks to the machine only through a
//! [`backend::Backend`]; the native backend runs the same recovery pipeline as
//! the command line, in process.
pub mod backend;
pub mod format;
pub mod labels;
pub mod model;
#[cfg(not(target_arch = "wasm32"))]
pub mod native;
pub mod settings;
pub mod text;
pub mod theme;
pub mod ui;
pub use ui::Workbench;