import http.server, json, os class H(http.server.BaseHTTPRequestHandler): def do_GET(self): html = b""" YT Claw

YT Claw - OpenClaw is LIVE

Model: DeepSeek R1 Distill Qwen 14B (IQ3_XS)

128K context | CoT reasoning | Text mode

""" try: config = json.load(open('/root/.openclaw/openclaw.json')) token = config.get('gateway', {}).get('auth', {}).get('token', '') if token: html += '

Open Canvas

'.encode() else: html += b'

Open Canvas

' except: html += b'

Open Canvas

' html += b"" self.send_response(200) self.send_header('Content-Type', 'text/html; charset=utf-8') self.end_headers() self.wfile.write(html) def do_POST(self): self.send_response(200) self.end_headers() self.wfile.write(b'OK') def log_message(self, *a): pass http.server.HTTPServer(('0.0.0.0', 8080), H).serve_forever()