AI Newsletter Digest improvements: fixed QP soft line break decoding, URL extraction, and content cleaning

This commit is contained in:
Krilly
2026-03-04 13:29:22 +00:00
parent 29a98137a7
commit 57dd294675
13706 changed files with 2114953 additions and 237629 deletions

View File

@@ -0,0 +1,29 @@
#!/bin/bash
# Ghost Browser - CLI wrapper
# Provides a simple interface to the Python daemon
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
SKILL_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
PYTHON_SCRIPT="$SKILL_DIR/scripts/ghost_browser.py"
VENV_PYTHON="$SKILL_DIR/.venv/bin/python3"
# Check for venv
if [[ -x "$VENV_PYTHON" ]]; then
exec "$VENV_PYTHON" "$PYTHON_SCRIPT" "$@"
fi
# Fallback to system Python
if ! command -v python3 &> /dev/null; then
echo '{"status":"error","error":"python_not_found","message":"Python3 is required. Run setup.sh first."}' >&2
exit 1
fi
# Check nodriver
if ! python3 -c "import nodriver" 2>/dev/null; then
echo '{"status":"error","error":"nodriver_not_installed","message":"nodriver not installed. Run setup.sh or: pip install nodriver"}' >&2
exit 1
fi
exec python3 "$PYTHON_SCRIPT" "$@"

File diff suppressed because it is too large Load Diff