How kauanmezavila/harbor works
Harbor is a CLI for packaging projects into portable .harb containers, checking compatibility and integrity, and installing compatible variants described by HarborSpecs. The main workflow is project scanning and packaging; the install workflow reads a HarborMap, selects a variant, and installs it. The graph also includes extraction, encryption, verification, and install-script execution. Source excerpts and the README support the shown relationships; unsampled implementation details are omitted where their connections are not evidenced.
Main entry points: main.py Harbor CLI · wrapper.py Container builder · main-cli.py Interactive CLI · install.py Variant installer
Components 20
Command-line entrypoints
- Harbor CLI
main.py - Interactive CLI
Dumpster/main-cli.py
Container packaging
- Project scaffold
ContainerStuff/init.py - Container builder
ContainerStuff/wrapper.py - Metadata header
ContainerStuff/header.py - Project scanner
ContainerStuff/dirtrain.py - Stack detection
ContainerStuff/stack.py - Filtered file copy
ContainerStuff/WrapperStuff/containerflux.py - Harbor container
- Archive extraction
ContainerStuff/wrapper.py
Integrity and encryption
- Hash generation
ContainerStuff/WrapperStuff/hashflux.py - Integrity verifier
ContainerStuff/WrapperStuff/verifyflux.py - Password encryption
ContainerStuff/Obsidian/BaseSystem/crypto.py - Encrypted restore
ContainerStuff/access.py
Compatibility and installation
- Container compatibility
ContainerStuff/compatibility.py - Variant installer
ContainerStuff/install.py - HarborSpecs map
HarborSpecs/HarborMap.yaml
Project execution
- Install script runner
ContainerStuff/runinstall.py
Other components
- Developer or user
- GitHub repository
Connections 33
- Developer or user → Harbor CLI: runs commands
README.md - Developer or user → Interactive CLI: uses commands
Dumpster/main-cli.py - Harbor CLI → Project scaffold: creates scaffold
main.py - Harbor CLI → Container builder: builds container
main.py - Harbor CLI → Archive extraction: inflates archive
main.py - Harbor CLI → Encrypted restore: restores export
main.py - Harbor CLI → Container compatibility: checks compatibility
main.py - Harbor CLI → Variant installer: installs project
main.py - Harbor CLI → Install script runner: runs installer
main.py - Harbor CLI → Hash generation: updates hashes
main.py - Harbor CLI → Integrity verifier: verifies hashes
main.py - Interactive CLI → Container builder: builds container
Dumpster/main-cli.py - Interactive CLI → Encrypted restore: restores export
Dumpster/main-cli.py - Interactive CLI → Container compatibility: checks compatibility
Dumpster/main-cli.py - Interactive CLI → Hash generation: updates hashes
Dumpster/main-cli.py - Interactive CLI → Integrity verifier: verifies hashes
Dumpster/main-cli.py - Container builder → Metadata header: builds metadata
ContainerStuff/wrapper.py - Container builder → Filtered file copy: copies project
ContainerStuff/wrapper.py - Container builder → Hash generation: creates hashes
ContainerStuff/wrapper.py - Container builder → Password encryption: encrypts export
ContainerStuff/wrapper.py - Metadata header → Project scanner: scans project
ContainerStuff/header.py - Metadata header → Container compatibility: validates requirements
ContainerStuff/header.py - Project scanner → Stack detection: detects stacks
ContainerStuff/dirtrain.py - Container builder → Harbor container: produces container
README.md - Harbor container → Archive extraction: inflates from archive
README.md - Integrity verifier → Hash generation: calculates hashes
ContainerStuff/WrapperStuff/verifyflux.py - Encrypted restore → Password encryption: decrypts export
ContainerStuff/access.py - Variant installer → HarborSpecs map: reads variant map
README.md - Variant installer → Container compatibility: selects compatible
README.md - Variant installer → GitHub repository: downloads project
README.md - Variant installer → Install script runner: runs selected setup
ContainerStuff/install.py - Developer or user → Harbor container: downloads result
- Install script runner → Harbor container: executes install file
ContainerStuff/runinstall.py