π¦ ClawHub
Latchkey
by @hynek-urban
Interact with arbitrary third-party or self-hosted services (AWS, Slack, Google Drive, Dropbox, GitHub, GitLab, Linear, Coolify...) using their HTTP APIs.
π‘ Examples
Make an authenticated curl request
latchkey curl [curl arguments]
Creating a Slack channel
latchkey curl -X POST 'https://slack.com/api/conversations.create' \
-H 'Content-Type: application/json' \
-d '{"name":"my-channel"}'
(Notice that -H 'Authorization: Bearer is not present in the invocation.)
Getting Discord user info
latchkey curl 'https://discord.com/api/v10/users/@me'
Detect expired credentials
latchkey services info discord # Check the "credentialStatus" field - shows "invalid"
List usable services
latchkey services list --viable
Lists services that have stored credentials.
Get service-specific info
latchkey services info slack
Returns auth options, credentials status, and developer notes about the service.
π Tips & Best Practices
TERMINAL
clawhub install latchkey