move python clide to legacy/

Clide is being rebuilt as a Flutter desktop app. The Python Textual
implementation moves wholesale into legacy/ rather than being deleted:
its pane model, panel set, git skills, and panel communication design
are real thought that should remain readable next to the new code
while the rebuild finds its shape. Git's rename tracking preserves
history, so `git log -- legacy/` still works.

The Flutter rebuild lives at the repo root alongside a Go sidecar
(the architecture claudian was heading toward, which folds into
clide as a core component rather than a separate plugin project).
Bootstrap of the new shape lands in subsequent commits.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-20 20:30:51 +02:00
co-authored by Claude Opus 4.7
parent 30b8cf7db9
commit a355751437
163 changed files with 0 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
[Unit]
Description=Clide Web Server (FastAPI + tmux)
After=network.target
[Service]
Type=simple
User=jpmschweitzer
Group=jpmschweitzer
WorkingDirectory=/mnt/media/Projects
ExecStart=/mnt/media/Projects/clide/.venv/bin/clide-web
# Environment
Environment="CLIDE_WEB_PORT=8888"
Environment="CLIDE_WEB_PROJECTS_DIR=/mnt/media/Projects"
Environment="CLIDE_WEB_CLIDE_BIN=/mnt/media/Projects/clide/.venv/bin/clide"
Environment="TERM=xterm-256color"
Environment="COLORTERM=truecolor"
Environment="PATH=/home/jpmschweitzer/.nvm/versions/node/v24.11.0/bin:/usr/local/bin:/mnt/media/Projects/clide/.venv/bin:/usr/bin:/bin"
# Process management
KillMode=control-group
KillSignal=SIGTERM
TimeoutStopSec=10
SendSIGKILL=yes
Restart=on-failure
RestartSec=3
[Install]
WantedBy=multi-user.target
+44
View File
@@ -0,0 +1,44 @@
#!/bin/bash
# Clide Web Server Installation Script
# Run with: sudo bash deploy/install-clide-web.sh
set -e
echo "=== Clide Web Server Installation ==="
echo ""
# Check if running as root
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root (sudo)"
exit 1
fi
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PROJECT_DIR="$(dirname "$SCRIPT_DIR")"
echo "[1/3] Installing clide-web Python package..."
cd "$PROJECT_DIR"
.venv/bin/pip install -e "./clide-web"
echo ""
echo "[2/3] Installing systemd service..."
cp "$SCRIPT_DIR/clide-web.service" /etc/systemd/system/clide-web.service
echo ""
echo "[3/3] Starting service..."
systemctl daemon-reload
systemctl enable clide-web
systemctl restart clide-web
echo ""
echo "=== Installation Complete ==="
echo ""
echo "Status:"
systemctl status clide-web --no-pager || true
echo ""
echo "Port check:"
ss -tlnp | grep 8888 || echo "Warning: Port 8888 not listening yet"
echo ""
echo "Access:"
echo " Local: http://localhost:8888"
echo " Direct: http://localhost:8888/projects/clide"
echo " External: https://code.schweitz.net/projects/clide"
Submodule legacy/deploy/ttyd-nerd-font added at 8a6e952254