Replace the browser-only example with a full-stack architecture: - Node.js/Express backend running the Pi SDK with system access (bash, file read/write/edit) via WebSocket - Lit-based client using @mariozechner/pi-web-ui components - Session persistence with SessionManager, session history sidebar - LiteLLM model integration with sorted/filterable model selector - Green accent theme, collapsible sidebar, mobile-responsive layout - Deployed as systemd user service on port 8085 (pi.zetaphor.space)
13 lines
297 B
HTML
13 lines
297 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Pi Web UI</title>
|
|
</head>
|
|
<body>
|
|
<div id="app"></div>
|
|
<script type="module" src="/client/main.ts"></script>
|
|
</body>
|
|
</html>
|