{"id":44651523,"url":"https://github.com/openclaw/clawgo","last_synced_at":"2026-02-14T21:01:13.355Z","repository":{"id":334982969,"uuid":"1127674398","full_name":"openclaw/clawgo","owner":"openclaw","description":"Clawd node in go","archived":false,"fork":false,"pushed_at":"2026-01-05T10:44:42.000Z","size":27,"stargazers_count":13,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-31T11:08:53.608Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openclaw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-04T11:26:31.000Z","updated_at":"2026-01-31T10:39:04.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/openclaw/clawgo","commit_stats":null,"previous_names":["moltbot/clawgo","openclaw/clawgo"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/openclaw/clawgo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openclaw%2Fclawgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openclaw%2Fclawgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openclaw%2Fclawgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openclaw%2Fclawgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openclaw","download_url":"https://codeload.github.com/openclaw/clawgo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openclaw%2Fclawgo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29455596,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-14T21:00:24.528Z","updated_at":"2026-02-14T21:01:13.347Z","avatar_url":"https://github.com/openclaw.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clawgo (Go Node)\n\nMinimal headless node client for Raspberry Pi / Linux. Connects to the gateway bridge, handles pairing, streams `voice.transcript` events (stdin/FIFO), subscribes to chat, and can speak responses via local TTS.\n\n## Build\n\n```bash\ncd clawgo\ngo build ./cmd/clawgo\n```\n\nCross-compile for Pi:\n\n```bash\nGOOS=linux GOARCH=arm64 go build -o /tmp/clawgo-linux-arm64 ./cmd/clawgo\n```\n\n## Key flags\n\n| Flag | Description |\n| --- | --- |\n| `-session-key` | Session for outgoing `voice.transcript` events (default `main`). |\n| `-chat-session-key` | Session to subscribe for chat replies (default mirrors `-session-key`). |\n| `-chat-subscribe` | Enable chat stream+TTS (default `true`). |\n| `-tts-engine` | `system`, `piper`, `elevenlabs`, or `none` (system = `espeak-ng`). |\n| `-tts-system-voice` | espeak voice id (default `en-us`). |\n| `-tts-system-rate` | Speech rate (wpm). |\n| `-mdns-service` | Bonjour service type (default `_clawdbot-node._tcp`). |\n| `-stdin` | Read transcripts from stdin (pipe/FIFO). |\n| `-stdin-file` | Read transcripts from a FIFO/file instead of stdin. |\n| `-agent-request` | Send transcripts as `agent.request` (uses agent + deliver). |\n| `-deliver` | Deliver agent responses to a provider (requires channel + to). |\n| `-deliver-channel` | Delivery provider (telegram/whatsapp/signal/imessage). |\n| `-deliver-to` | Delivery destination id. |\n| `-quick-actions` | Enable built-in quick actions (default true). |\n| `-ping-message` | Message used for telegram ping quick action. |\n| `-router` | Routing plugin name (default `default`). |\n\n## Pair\n\n```bash\n./clawgo pair \\\n  -bridge 100.88.46.29:18790 \\\n  -display-name \"Razor Pi\"\n```\n\nApprove via `clawdbot nodes approve \u003crequestId\u003e`.\n\n## Run (FIFO + TTS example)\n\n```bash\nmkfifo /tmp/voice.fifo\n# in one terminal\ntail -f /tmp/voice.fifo | ./clawgo run \\\n  -bridge 100.88.46.29:18790 \\\n  -stdin \\\n  -chat-subscribe \\\n  -tts-engine system\n# elsewhere\nprintf hey computer turn on the lights\n \u003e /tmp/voice.fifo\n```\n\nEach line on the FIFO becomes a `voice.transcript`; chat responses from the `main` session are spoken via `espeak-ng`.\n\n## systemd example\n\nMinimal steps:\n\n1. Install the binary as `/home/pi/clawgo`.\n2. Create a wrapper script that keeps a FIFO (`/home/pi/.cache/clawdbot/voice.fifo`) open and pipes it into `clawgo run -stdin`.\n3. Create `/etc/systemd/system/clawgo.service` pointing to that wrapper.\n\n## mDNS advertising\n\nThe node advertises `_clawdbot-node._tcp` by default.\n\n```bash\ndns-sd -B _clawdbot-node._tcp local.\n```\n\nOverride to `_clawdbot-bridge._tcp` if you intentionally want it to show up as a gateway beacon:\n\n```bash\n./clawgo run -mdns-service _clawdbot-bridge._tcp\n```\n\n## Notes\n- Node state (`nodeId` + token) lives in `~/.clawdbot/clawgo.json`.\n- Caps default to `voiceWake`; override via `-caps` if you expose more commands.\n- Set `bridge.bind: \"tailnet\"` on the gateway to restrict the bridge to Tailscale.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenclaw%2Fclawgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenclaw%2Fclawgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenclaw%2Fclawgo/lists"}