A Chrome extension + local webhook server that lets you send any web page (or Google Doc) to your Clawdbot instance with one click.
- Regular pages: extracts the main readable text (or your highlighted selection)
- Google Docs: fetches clean plain text via the export API — no auth setup needed, uses your existing Google login
- Optional message: add instructions or context before sending
- Formats everything and injects it into your Clawdbot session via
clawdbot system event
git clone https://github.com/Nateliason/send-to-openclaw.git
cd send-to-openclawcd server
npm install
cp .env.example .env # edit if you want to change port or add a token
npm startThe server listens on http://localhost:3847/send-to-openclaw by default.
Environment variables (set in server/.env):
| Variable | Default | Description |
|---|---|---|
PORT |
3847 |
Server port |
WEBHOOK_TOKEN |
(empty) | Optional bearer token for auth |
CLAWDBOT_WAKE_MODE |
now |
now or next-heartbeat |
- Open
chrome://extensions - Enable Developer mode (top right)
- Click Load unpacked → select the
extension/folder - Click the extension's Options and set:
- Webhook URL:
http://localhost:3847/send-to-openclaw - Auth token: your
WEBHOOK_TOKENif you set one
- Webhook URL:
macOS (launchd):
# Edit paths in the plist first
cp server/com.sendtoopenclaw.plist ~/Library/LaunchAgents/
launchctl load ~/Library/LaunchAgents/com.sendtoopenclaw.plistLinux (systemd):
# Edit paths in the service file first
sudo cp server/send-to-openclaw.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable --now send-to-openclaw- Click the toolbar icon → optionally add a message → hit Send
- Right-click any page or selection → Send to OpenClaw
- Keyboard shortcut:
Alt+Shift+Scaptures selection and opens the popup
Just open a Google Doc and click Send. The extension detects docs.google.com/document/ URLs and fetches the doc as plain text using your browser session — no Google API credentials or OAuth needed. Works with private docs you have access to.
📎 Page sent from browser: Document Title
URL: https://example.com/page
Time: 2026-01-30T21:00:05.560Z
Your optional message here
---
The page content or Google Doc text...
- Clawdbot installed and running
- Node.js 18+
- Chrome or Chromium-based browser
MIT