datit309/dsh-telegram-bridge ↗★ 3
dsh-telegram-bridge
双向Telegram远程控制、多媒体与通知插件 适合需要通过手机Telegram远程操控、接收通知和传输媒体的用户。
同名包的其他仓库
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:datit309/dsh-telegram-bridge说明文档
阅读完整 README ↗Configuration
Method 1: ~/.dsh/telegram.json (Recommended)
Create or edit ~/.dsh/telegram.json:
{
"token": "YOUR_TELEGRAM_BOT_TOKEN",
"chatId": "YOUR_TELEGRAM_CHAT_ID"
}
Auto-Pairing: Leave
chatIdempty, then send/startto your bot from your phone. The bot will automatically lock to your chat ID.
Method 2: DSH Web GUI
Navigate to Settings (gear icon in lower-left) ➔ Telegram & Notifier: Configure Token, Chat ID, sound/notification toggles, and click Save.
Method 3: Environment Variables
export TELEGRAM_BOT_TOKEN="YOUR_TELEGRAM_BOT_TOKEN"
export TELEGRAM_CHAT_ID="YOUR_TELEGRAM_CHAT_ID"