@yb1/sendkit
v0.0.3
Published
CLI for sending messages across chat platforms via SendKit
Maintainers
Readme
@yb1/sendkit
CLI for sending messages across chat platforms via SendKit and Chat SDK.
Install
npm install -g @yb1/sendkitUsage
Interactive mode (default)
Run sendkit with no arguments in a terminal to open an interactive menu. Use arrow keys to pick an action (send, edit, upload, etc.), then follow the prompts for platform, target, and message. Errors show a retry option instead of exiting immediately.
sendkitSubcommands remain available for scripting and automation.
Configure
sendkit initOr pass flags directly:
sendkit init --telegram-bot-token <token> --chat-id <chat-id>Config is saved to ~/.config/sendkit/config.json. Platform credentials for Slack, Discord, and other adapters are read from environment variables (see sendkit adapters).
Send a message
sendkit send --platform telegram 123456789 "Hello world"
sendkit send --platform slack C01234567 "Hello"
sendkit send --platform telegram 123456789 --formatted "**bold**"
sendkit send --platform telegram 123456789 --file ./report.pdfIf a default target is configured for a platform, you can omit the target:
sendkit send --platform telegram "Hello world"Other operations
sendkit edit --platform slack C01234567 <messageId> "updated text"
sendkit delete --platform slack C01234567 <messageId>
sendkit upload --platform telegram 123456789 ./image.png --caption "screenshot"
sendkit card --platform slack C01234567 --card ./alert.json
sendkit schedule --platform slack C01234567 --at 2026-08-06T09:00:00Z "Reminder"
sendkit stream --platform slack C01234567 chunk-one chunk-two
sendkit typing --platform discord <channelId>
sendkit subscribe --platform slack C01234567
sendkit dm --platform slack <userId>JSON output
sendkit send --platform telegram 123456789 "Hello" --jsonCommands
| Command | Description |
|---------|-------------|
| sendkit | Open interactive menu (TTY) or show platform status (non-TTY) |
| sendkit init | Configure bot token and default targets |
| sendkit adapters | List adapter configuration status |
| sendkit capabilities | Show per-platform feature matrix |
| sendkit send | Send a message |
| sendkit edit | Edit a message |
| sendkit delete | Delete a message |
| sendkit upload | Upload a file |
| sendkit card | Post an interactive card |
| sendkit schedule | Schedule a message |
| sendkit stream | Stream message chunks |
| sendkit typing | Send a typing indicator |
| sendkit subscribe | Subscribe to a thread |
| sendkit dm | Open a DM thread |
Supported platforms
telegram, slack, discord, gchat, github, linear, whatsapp, x, messenger
Run sendkit capabilities for per-platform feature support.
License
Apache-2.0
