https://github.com/ad/telegram-busy-buttons-cloudflare
https://github.com/ad/telegram-busy-buttons-cloudflare
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ad/telegram-busy-buttons-cloudflare
- Owner: ad
- License: mit
- Created: 2024-11-18T18:53:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-03-05T16:50:26.000Z (3 months ago)
- Last Synced: 2026-03-05T19:33:48.480Z (3 months ago)
- Language: JavaScript
- Size: 86.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# telegram-busy-buttons-cloudflare
send `/create name1 name2 nameN` to bot
bot answers with message+buttons, now you can interact with it

### Demo
[@busybuttonsbot](https://t.me/busybuttonsbot)
## Local run via wrangler
```
docker run --name Wrangler --rm \
-p 8080:8080 \
--env 'START_WRANGLER=true' \
--env 'WRANGLER_START_CMD=wrangler pages dev ./ --port 8080 --ip 0.0.0.0' \
--env 'UID=99' \
--env 'GID=100' \
--env 'UMASK=0000' \
--env 'DATA_PERMS=770' \
--volume ./:/wrangler \
ich777/wrangler-dev
```
### Stop container
```
docker kill Wrangler
```
### Add secret
BOT_ADMIN = your_telegram_id
BOT_TOKEN = ...
BOT_DEBUG = true/false

### Set webhook
https://api.telegram.org/botTOKEN/setWebhook?url=https://yourdomain/webhook/botTOKEN