π¦ ClawHub
Use Dingding
by @brucezhu888
Interact with DingTalk workspace via dws CLI to manage contacts, chats, calendars, todos, approvals, attendance, reports, and AITable data using OAuth creden...
βοΈ Configuration
Installation
Option 1: Install from release (recommended)
Download pre-built binary from https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli/releases
Option 2: Build from source (safer)
git clone https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli.git
cd dingtalk-workspace-cli
go build -o dws ./cmd
cp dws ~/.local/bin/
Option 3: Install script (review first!)
# macOS / Linux - REVIEW SCRIPT BEFORE RUNNING
curl -fsSL https://raw.githubusercontent.com/DingTalk-Real-AI/dingtalk-workspace-cli/main/scripts/install.sh | shWindows (PowerShell) - REVIEW SCRIPT BEFORE RUNNING
irm https://raw.githubusercontent.com/DingTalk-Real-AI/dingtalk-workspace-cli/main/scripts/install.ps1 | iex
Authentication
Recommended: Interactive Login (secure keychain storage)
dws auth login --client-id --client-secret
Tokens stored encrypted in system Keychain (macOS/Windows) or libsecret (Linux)
Alternative: Environment Variables (use with caution)
export DWS_CLIENT_ID=
export DWS_CLIENT_SECRET=
dws auth login
β οΈ Security note: Environment variables may be exposed in process listings and logs. Prefer interactive login for production use.
TERMINAL
clawhub install use-dingding