Loading...
Loading...
Use when adding Bale (بله) support to Hermes Gateway. Connect AI agent to Persian messenger via free Bot API.
npx skill4agent add mah92/hermes-persian-skills hermes-bale-messengercd ~/.hermes/plugins/platforms/
git clone https://github.com/mah92/hermes-bale-messenger-plugin.git bale
hermes plugins enable hermes-bale-messenger~/.hermes/.envBALE_BOT_TOKEN=1234567890:ABCdefGHIjklMNOpqrsTUVwxyz
BALE_ALLOWED_CHATS=123456789,987654321| File | Purpose |
|---|---|
| Platform manifest — env vars, metadata |
| Package entry — re-exports |
| Full |
sendChatAction~/.hermes/.env| Variable | Required | Default | Description |
|---|---|---|---|
| ✅ | — | Bot token from @BotFather |
| — | all | Comma-separated chat IDs |
| — | all | Comma-separated user IDs |
| — | false | Set "true" for open access |
| — | — | Default chat for cron delivery |
| — | false | Require @mention in groups |
| — | 30000 | Max voice/audio duration (milliseconds) for STT. 0 = no limit |
tapi.bale.aiBale Server ←→ HTTP Long Poll ←→ Hermes Gateway ←→ AI Agent/start/commandhermes-persian-sttstt.provider~/.hermes/config.yamlvoice_compatible: truesend_voicesendVoiceMEDIA:find ~/.hermes/plugins/platforms/bale -name __pycache__ -exec rm -rf {} +deleteWebhookcurl -s "https://tapi.bale.ai/bot$BALE_BOT_TOKEN/deleteWebhook"getUpdatesBALE_BOT_TOKEN~/.hermes/.env