#!/bin/bash
# CodeFusion Web UI Launcher for Linux or macOS
# This script starts CodeFusion in web UI mode
echo "Starting CodeFusion Web UI..."
echo ""
echo "The web interface will open in your default browser."
echo "Press Ctrl+C to stop the server."
echo ""

# Get the directory where this script is located
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

# Change to the script directory
cd "$SCRIPT_DIR"

# Run CodeFusion
./CodeFusion --ui
