How osintversehq/otinstaller works
OTinstaller provides a unified CLI for installing, running, updating, and removing OSINT tools in isolated virtual environments. The main workflow loads tool definitions, installs a selected tool, translates typed inputs and launches it, then saves output and run metadata. The graph also shows supporting configuration, key handling, state, and result-comparison capabilities. Relationships are limited to those supported by the README or shown in the excerpts and SOURCE INDEX; unsampled CLI behavior is not inferred beyond those references.
Main entry points: cli.py Command interface · runner.py Tool execution · core.py Install orchestration · state.py Installed and job state
Components 22
User interface
- Command interface
src/otinstaller/cli.py - CLI banner
src/otinstaller/banner.py - Playbooks
playbooks
Tool catalog
- Tool registry
src/otinstaller/registry.py - Bundled catalog
src/otinstaller/data/registry.yaml - Compatibility checks
src/otinstaller/compat.py - System checks
src/otinstaller/detect.py - Typed input mapping
src/otinstaller/extract.py
Tool lifecycle
- Install orchestration
src/otinstaller/installer/core.py - Git installation
src/otinstaller/installer/git_install.py - Pip installation
src/otinstaller/installer/pip_install.py - Virtual environments
src/otinstaller/installer/venv.py - Install processes
src/otinstaller/installer/process.py - Tool execution
src/otinstaller/runner.py
Run support
- Installed and job state
src/otinstaller/state.py - Run results
src/otinstaller/results.py - API key handling
src/otinstaller/keys.py - Local configuration
src/otinstaller/config.py - Result comparison
src/otinstaller/diff.py - Responsible-use notice
src/otinstaller/notice.py
Other components
- Operator
- Managed OSINT tools
Connections 30
- Operator → Command interface: invokes
README.md - Command interface → Tool registry: loads tools
src/otinstaller/cli.py - Tool registry → Bundled catalog: loads catalog
README.md - Command interface → Install orchestration: installs tools
src/otinstaller/cli.py - Install orchestration → Compatibility checks: checks compatibility
src/otinstaller/installer/core.py - Install orchestration → Installed and job state: records installation
src/otinstaller/installer/core.py - Install orchestration → Git installation: delegates git
src/otinstaller/installer/core.py - Install orchestration → Pip installation: delegates pip
src/otinstaller/installer/core.py - Git installation → Virtual environments: creates environment
src/otinstaller/installer/git_install.py - Pip installation → Virtual environments: creates environment
src/otinstaller/installer/pip_install.py - Git installation → Install processes: runs commands
src/otinstaller/installer/git_install.py - Pip installation → Install processes: runs commands
src/otinstaller/installer/pip_install.py - Virtual environments → Install processes: creates environment
src/otinstaller/installer/venv.py - Command interface → System checks: checks system
src/otinstaller/cli.py - Command interface → Typed input mapping: maps typed inputs
src/otinstaller/cli.py - Command interface → Tool execution: runs tools
src/otinstaller/cli.py - Tool execution → Managed OSINT tools: launches tools
README.md - Tool execution → API key handling: loads tool keys
src/otinstaller/runner.py - Tool execution → Installed and job state: tracks jobs
src/otinstaller/runner.py - Tool execution → Run results: writes run results
src/otinstaller/runner.py - Command interface → Installed and job state: reads installation state
src/otinstaller/cli.py - Command interface → Run results: compares results
src/otinstaller/cli.py - Result comparison → Run results: reads results
src/otinstaller/diff.py - Command interface → Playbooks: loads playbooks
src/otinstaller/cli.py - Command interface → Responsible-use notice: shows notice
src/otinstaller/cli.py - Command interface → CLI banner: shows banner
src/otinstaller/cli.py - Tool execution → Local configuration: gets run paths
src/otinstaller/runner.py - Run results → Local configuration: gets result path
src/otinstaller/results.py - Installed and job state → Local configuration: gets state path
src/otinstaller/state.py - API key handling → Local configuration: gets key-file path
src/otinstaller/keys.py