#!/usr/bin/env python3 # SecuBox Frontend Launcher # Install: pip install textual paramiko httpx rich import sys from pathlib import Path # Add lib path lib_path = Path(__file__).parent / "lib" / "secubox-console" if lib_path.exists(): sys.path.insert(0, str(lib_path)) # Try local path local_path = Path(__file__).parent / "secubox_frontend.py" if local_path.exists(): sys.path.insert(0, str(local_path.parent)) try: from secubox_frontend import main main() except ImportError as e: print(f"Import error: {e}") print("\nInstall dependencies:") print(" pip install textual paramiko httpx rich") sys.exit(1)