https://github.com/liblaf/api
🤖 Telegram bot and API for managing subscriptions and more, built on Cloudflare Workers.
https://github.com/liblaf/api
api automation bot ci-cd cloudflare kv-storage serverless telegram typescript webhook website
Last synced: 6 months ago
JSON representation
🤖 Telegram bot and API for managing subscriptions and more, built on Cloudflare Workers.
- Host: GitHub
- URL: https://github.com/liblaf/api
- Owner: liblaf
- License: mit
- Created: 2024-04-12T07:44:06.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-08-25T17:51:13.000Z (6 months ago)
- Last Synced: 2025-08-25T19:33:28.159Z (6 months ago)
- Topics: api, automation, bot, ci-cd, cloudflare, kv-storage, serverless, telegram, typescript, webhook, website
- Language: TypeScript
- Homepage: https://api.liblaf.me
- Size: 751 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# liblaf's API
[](https://github.com/liblaf/api/actions/workflows/ci.yaml)
[](https://api.liblaf.me)
## Endpoints
Detailed API documentation can be found [here](https://api.liblaf.me).
### Bot
- `POST /bot/send/{id}`: send a message to chat
- `POST /bot/send/{id}/dns`: send a DNS update message to chat
- `GET /bot/webhook`: set Telegram bot webhook
- `POST /bot/webhook`: Telegram bot webhook
### Subscription
- `GET /rules/{client}/{type}/{filename}`: download rules
- `GET /sub/dummy/{type}/{name}`: get dummy subscription
- `GET /sub/{id}/info`: get subscription user info
- `GET /sub/{id}/sing-box`: get subscription sing-box config