How ambaru/rizpaq works
Rizpaq is a Windows desktop archiver with archive and backup profiles. In the archive workflow, a user browses or creates an archive, inspects versions, then extracts, compares, converts, or repairs it; in the backup profile, works and jobs are scheduled and checked. The map includes the documented archive, backup, integrity, and multi-format capabilities. Source excerpts are partial, so some subsystem links rely on README statements; uncertain internal dispatches are omitted.
Main entry points: zpaq_cli.py ZPAQ command runner · engine.rs Rust task runner · backup_page.py Backup profile · archive_index.py Archive index
Components 28
Desktop experience
- Application startup
main.py - Main window
ui/main_window.py - Archive actions
ui/archive_actions.py - Backup profile
ui/backup_page.py
Archive workflows
- Browse and search
ui/archive_loader.py - Archive index
core/archive_index.py - Archive creation
ui/archive_create_dialog.py - Extraction
workers/extract_workers.py - Format conversion
core/universal_ops.py
Backup and scheduling
- Work and job data
core/tasks.py - Scheduling
core/scheduler.py - Headless job execution
core/headless.py
Engines and integrity
- PAR2 workflows
ui/par2_actions.py - PAR2 operations
core/par2_ops.py - Multipart recovery
core/multipart_par2.py - ZPAQ command runner
core/zpaq_cli.py - Engine path handling
core/engine_path.py - Rust task runner
runner/src/engine.rs
Shared services
- Settings
core/config.py - UI settings bridge
ui/config_bridge.py - Listing parser
core/parser.py - Domain models
core/models.py - Process health
core/proc_health.py - Output streaming
workers/streaming.py - Universal archive worker
workers/universal_worker.py
Other components
- Desktop user
- Archive and recovery engines
- Windows Task Scheduler
Connections 29
- Desktop user → Application startup: launches
main.py - Application startup → Main window: opens
main.py - Desktop user → Archive actions: works with archives
- Archive actions → Browse and search: browses
- Browse and search → Archive index: uses cached listing
- Desktop user → Archive creation: creates archives
- Desktop user → Extraction: extracts files
- Desktop user → Format conversion: converts formats
- Desktop user → Backup profile: manages backups
- Backup profile → Work and job data: edits works and jobs
- Backup profile → Scheduling: schedules jobs
- Scheduling → Windows Task Scheduler: registers tasks
- Windows Task Scheduler → Headless job execution: runs silently
- Desktop user → PAR2 workflows: checks recovery sets
- PAR2 workflows → PAR2 operations: requests verification
- PAR2 operations → Multipart recovery: handles volumes
- PAR2 operations → ZPAQ command runner: invokes engine
core/par2_ops.py - ZPAQ command runner → Engine path handling: prepares paths
core/zpaq_cli.py - ZPAQ command runner → Process health: monitors process
core/zpaq_cli.py - ZPAQ command runner → Archive and recovery engines: runs commands
- Rust task runner → Engine path handling: prepares paths
runner/src/engine.rs - Rust task runner → Process health: monitors liveness
runner/src/engine.rs - Rust task runner → Archive and recovery engines: runs engine
- UI settings bridge → Settings: reads settings
ui/config_bridge.py - Archive index → Domain models: uses models
core/archive_index.py - Archive index → Settings: uses settings
core/archive_index.py - Listing parser → Domain models: produces entries
core/parser.py - Universal archive worker → Output streaming: uses streaming
workers/universal_worker.py - Universal archive worker → Format conversion: delegates operations
workers/universal_worker.py