Automated Obsidian vault structure manager for customer-centric operations (RUN/SOC workflows).
AutoVault creates and maintains a standardized folder structure in your Obsidian vault, complete with templates and plugin configuration.
# Install to ~/.local (no sudo required)
curl -fsSL https://raw.githubusercontent.com/Spifuth/AutoVault/main/install.sh | bash -s -- --user
# Or system-wide installation
curl -fsSL https://raw.githubusercontent.com/Spifuth/AutoVault/main/install.sh | bashbrew tap Spifuth/autovault
brew install autovaultyay -S autovaultgit clone https://github.com/Spifuth/AutoVault.git
cd AutoVault
sudo ./install.sh# 1. Initialize a new vault (interactive)
autovault init --profile pentest
# 2. Add your first customer
autovault customer add 1 --name "Acme Corp"
# 3. Check your setup
autovault doctor
# 4. (Optional) Create a short alias
autovault alias install avThat's it! Your vault is ready with:
- π Folder structure for all customers
- π Templates applied to all index files
- βοΈ Obsidian plugins configured (Templater, Dataview)
- π Dynamic Run-Hub dashboard
Note: Use
autovault init --list-profilesto see available profiles (minimal, pentest, audit, bugbounty).
| Document | Description |
|---|---|
| docs/COMMANDS.md | Complete CLI reference |
| docs/CONFIGURATION.md | Configuration options |
| docs/TEMPLATES.md | Template system guide |
| docs/OBSIDIAN-SETUP.md | Obsidian plugin setup |
YourVault/
βββ Run-Hub.md # Dashboard with Dataview queries
βββ Run/
β βββ CUST-002/
β β βββ CUST-002-Index.md # Customer hub
β β βββ CUST-002-FP/ # First Pass (routine checks)
β β βββ CUST-002-RAISED/ # Incidents/tickets
β β βββ CUST-002-INFORMATIONS/# Knowledge base
β β βββ CUST-002-DIVERS/ # Misc/sandbox
β βββ CUST-004/
β βββ ...
βββ _templates/
βββ Run/ # Auto-applied templates
- Bash 4+ (Linux, macOS, WSL)
- jq - JSON processor
- Python 3 - For JSON/template operations
- rsync + ssh - For remote sync feature (optional)
# Check requirements
./cust-run-config.sh requirements check
# Auto-install (Debian/Ubuntu)
./cust-run-config.sh requirements install# Configuration
autovault config # Interactive setup wizard
autovault status # Show current status
autovault doctor # Run diagnostics
# Vault Management (recommended)
autovault vault init # Full setup: structure + templates + plugins
# Customer Management
autovault customer add <id> # Add customer
autovault customer remove <id> # Remove customer
autovault customer list # List all customers
# Backup & Restore
autovault backup create # Create backup
autovault backup restore <name> # Restore backup
# Export & Reports
autovault export pdf <target> # Export to PDF
autovault export html <target> # Export to HTML
autovault export report <id> # Generate client report
# Tool Integrations
autovault git-sync watch # Auto-sync vault changes
autovault nmap import <file> -c <id> # Import Nmap scans
autovault burp import <file> -c <id> # Import Burp findings
# System Integration
autovault alias install av # Create 'av' command
autovault completions install # Enable tab-completionSee docs/COMMANDS.md for the complete reference.
AutoVault auto-configures these plugins:
| Plugin | Purpose |
|---|---|
| Templater | Auto-apply templates when creating notes in CUST folders |
| Dataview | Dynamic queries in Run-Hub (open incidents, stats) |
Install them from Obsidian: Settings β Community Plugins β Browse
| Integration | Description |
|---|---|
| Git Auto-Sync | Automatic commit/push on vault changes |
| Nmap | Import scan results into customer folders |
| Burp Suite | Import vulnerability findings with severity |
| Remote Sync | Push/pull vault via SSH/rsync |
| Export | PDF, HTML, Markdown export with templates |
AutoVault/
βββ cust-run-config.sh # Main CLI entry point
βββ config/
β βββ cust-run-config.json # Your vault configuration
β βββ templates.json # All templates in JSON
β βββ obsidian-settings.json # Plugin settings to apply
βββ bash/
β βββ lib/
β β βββ config.sh # Config management
β β βββ logging.sh # Logging utilities
β βββ New-CustRunStructure.sh
β βββ Manage-Templates.sh
β βββ Configure-ObsidianPlugins.sh
β βββ ...
βββ docs/ # Documentation
βββ tests/ # Automated tests
# Run all tests
./tests/run-tests.sh
# Test specific functionality
./cust-run-config.sh test # Verify vault structure
./cust-run-config.sh validate # Validate configurationMIT License - See LICENSE for details.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing) - Commit your changes
- Push and open a Pull Request
Made with β€οΈ for SOC/RUN teams who love organized documentation.