Skip to content

OpenClaw Pi assistant#1

Draft
G9Pedro wants to merge 1 commit intomainfrom
cursor/openclaw-pi-assistant-5ead
Draft

OpenClaw Pi assistant#1
G9Pedro wants to merge 1 commit intomainfrom
cursor/openclaw-pi-assistant-5ead

Conversation

@G9Pedro
Copy link
Copy Markdown

@G9Pedro G9Pedro commented Feb 27, 2026

Initial implementation of the OpenClaw Pi Assistant, a voice-first AI assistant for Raspberry Pi 5.


Open in Web Open in Cursor 

Server components:
- index.js: Express + WebSocket server on port 3001
- audio.js: ALSA helpers for recording/playback with platform detection
- stt.js: whisper.cpp CLI wrapper for speech-to-text
- tts.js: Piper TTS wrapper for text-to-speech
- openclaw.js: Ollama API client with streaming support

Web UI (480x320 optimized):
- index.html: Touch-first interface with animated orb
- style.css: Dark theme with gorgeous orb animations
  - Idle: Blue pulse
  - Recording: Red pulse
  - Thinking: Yellow spin
  - Speaking: Green wave
- app.js: WebSocket client with auto-reconnect

Scripts:
- setup-pi.sh: Full Pi setup (Node 22, whisper.cpp, Piper, ALSA)
- start.sh: Launch server + Chromium kiosk mode

Co-authored-by: G9Pedro <G9Pedro@users.noreply.github.com>
@cursor
Copy link
Copy Markdown

cursor bot commented Feb 27, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants