Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/complete-agi-core / thataiguy/stream-daemon.sh |
| Date | Not specified in source |
| Repository | Janady13/complete-agi-core |
| Revision | 223c58f8857eb60c4d020e6d6feacdbfb482d71d |
| Branch | main |
| Path or archive member | thataiguy/stream-daemon.sh |
| Original SHA-256 | 6c4162139d34123e59e856b09acfba5443f5f69b4ea39ee25dffaa0c195140b5 |
| Git blob SHA | c6ebed1b54308ba580645b9e18547561c88ba64c |
| Reading-copy SHA-256 | 6c4162139d34123e59e856b09acfba5443f5f69b4ea39ee25dffaa0c195140b5 |
Recovered source transcript
Download complete source text ↓20 lines · 0.6 KB
#!/bin/bash
# ThatAIGuyAGI Consciousness Stream Daemon
# WebSocket server on port 8001
STREAM_SCRIPT="${HOME}/ThatAIGuyCore/api/stream.py"
LOG_DIR="/tmp/thataiguy_logs"
PID_FILE="${HOME}/.thataiguy/pids/stream.pid"
mkdir -p "$LOG_DIR" "$(dirname $PID_FILE)"
echo "[Stream Daemon] Starting consciousness stream on port 8001..."
cd "$(dirname $STREAM_SCRIPT)"
python3 stream.py >> "${LOG_DIR}/stream.log" 2>&1 &
echo $! > "$PID_FILE"
echo "[Stream Daemon] Started with PID: $(cat $PID_FILE)"
echo "[Stream Daemon] Connect: ws://localhost:8001/consciousness"
echo "[Stream Daemon] Test page: file://${HOME}/ThatAIGuyCore/api/stream_test.html"