datit309/dsh-telegram-bridge ↗★ 3

dsh-telegram-bridge

双向Telegram远程控制、多媒体与通知插件 适合需要通过手机Telegram远程操控、接收通知和传输媒体的用户。

套件
dsh-telegram-bridge
相容性
待驗證
版本
1.0.0
最近更新
2026年10月8日

同名套件的其他儲存庫

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:datit309/dsh-telegram-bridge

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 chatId empty, then send /start to 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"