OpenClaw HAL Assistant is a HAL 9000-inspired voice assistant Application and API.
1.1K
OpenClaw HAL Assistant is a HAL 9000-inspired voice assistant API built with Next.js App Router. It exposes speech-to-text, text-to-speech, and chat endpoints backed by ElevenLabs and OpenClaw services.
app/api/*pnpm install
cp .env.example .env
.env:ELEVENLABS_API_KEYELEVENLABS_VOICE_IDOPENCLAW_GATEWAY_URLOPENCLAW_GATEWAY_TOKENAccessKey: https://console.picovoice.ai/OPENCLAW_WAKE_WORD_ACCESS_KEYOPENCLAW_WAKE_WORD_MODEL_PATH (for example /porcupine_params.pv)OPENCLAW_WAKE_WORD_KEYWORD_PATH for custom wake phrases (required when not using a built-in keyword)pnpm dev
Submit chat and receive an immediate response:
curl -X POST http://localhost:3000/api/chat \
-H "Content-Type: application/json" \
-d '{"message":"Hello HAL"}'
curl -X POST http://localhost:3000/api/tts \
-H "Content-Type: application/json" \
-d '{"text":"Hello from HAL"}' \
--output response.mp3
OPENCLAW_TEXT_TRANSLATIONS_ENABLED=true shows transcript/response panels and a UI button to show/hide them.OPENCLAW_TEXT_TRANSLATIONS_ENABLED=false hides transcript/response panels entirely./api/openapi serves generated OpenAPI JSON (writes to public/openapi.json)/api/docs serves Swagger UI when docs are enabled via OPENCLAW_API_DOCS_ENABLEDpnpm dev – run development serverpnpm build – build Next.js app (prebuild verifies env)pnpm start – run production serverpnpm test – run unit/integration testspnpm test:e2e – run Playwright E2E (if configured)pnpm gen:openapi – generate OpenAPI specpnpm docker:build – build container imagepnpm docker:run – run single container with .envpnpm docker:up / pnpm docker:down – compose controlpnpm docker:logs – stream compose logspnpm release:patch – bump PATCH, commit, and tagpnpm release:minor – bump MINOR, commit, and tagpnpm release:major – bump MAJOR, commit, and tagpnpm release:version <x.y.z> – bump to explicit version and tagUse --push to push commit and tags after local release prep:
pnpm release:patch -- --push
A GitHub release (tag vX.Y.Z) triggers .github/workflows/docker-release.yml,
which validates tests and builds, then publishes Docker images to Docker Hub as:
${DOCKERHUB_USERNAME}/openclaw-hal-assistant:vX.Y.Z${DOCKERHUB_USERNAME}/openclaw-hal-assistant:latestFor the complete release playbook (including rollback), see:
Content type
Image
Digest
sha256:eb582a68c…
Size
70.5 MB
Last updated
8 months ago
docker pull sfiorini/openclaw-hal-assistant