tsend
bởi shingwha
CommunicationTóm tắt
Send files via Telegram.
Mô tả
Kỹ năng này làm gì
CLI tool for sending files to Telegram from the command line. Requires a bot token and chat ID configured once. Supports multiple named profiles for different bots or chats.
Sending files via the Telegram Bot API directly requires constructing multipart HTTP requests; tsend handles auth, config, and multi-file upload in a single command.
Khi nào nên dùng
- Send a generated PDF report to a Telegram chat
- Share screenshots from a remote server
- Deliver build artifacts to a team bot
- Batch-send multiple files in one command
- Automate file delivery from shell scripts
Quy trình ví dụ
User asks: send document.pdf to Telegram with caption 'Final report'
- 1
Run
tsend send document.pdf --caption 'Final report' - 2
tsend reads bot token and chat ID from ~/.tsend/config.json
- 3
Uploads document.pdf to Telegram via Bot API
- 4
Attaches caption to the file message
File delivered to the configured Telegram chat with the specified caption
Yêu cầu
- Telegram bot token from @BotFather
- Telegram chat ID
Cài đặt
clawhub install shingwha/tsendChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.