telegram-multilingual-voice-reply
par pengling9405
Coding Agents & IDEsRésumé
Smart Telegram reply workflow for OpenClaw: if the user sends text, reply with text; if the user sends a voice.
Description
Ce que fait ce skill
Handles voice messages in Telegram with local speech-to-text (MLX/Qwen3-ASR on Apple Silicon) and text-to-speech. When a user sends a voice note, it transcribes locally, generates a reply in the same language, and sends back a single Telegram voice message with a matching text caption.
Quand l'utiliser
- Replying to Telegram voice notes with both voice and text in one message
- Transcribing Chinese or English voice messages locally without cloud APIs
- Following the input language automatically (Chinese in, Chinese out)
- Switching between voice-only, text-only, or combined replies on request
- Running speech recognition on Apple Silicon with zero API costs
Exemple de workflow
User sends a Chinese voice note in Telegram asking about tomorrow's weather
- 1
Transcribes the voice note locally using mlx_asr.py with Qwen3-ASR
- 2
Detects the language as Chinese and generates a reply in Chinese
- 3
Converts the reply text to speech with mlx_tts_voice.py
- 4
Sends a single Telegram voice message with the text as caption
One Telegram message with a Chinese voice reply and matching text caption
Installation
clawhub install pengling9405/telegram-multilingual-voice-replyExécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.