Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liblaf/api
liblaf's API
https://github.com/liblaf/api
api cloudflare cloudflare-workers dns geoip gfw hono ip ipinfo proxy route rule-set rules sing-box
Last synced: 18 days ago
JSON representation
liblaf's API
- Host: GitHub
- URL: https://github.com/liblaf/api
- Owner: liblaf
- License: mit
- Created: 2024-04-12T07:44:06.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-01-26T01:43:10.000Z (19 days ago)
- Last Synced: 2025-01-26T02:39:00.220Z (19 days ago)
- Topics: api, cloudflare, cloudflare-workers, dns, geoip, gfw, hono, ip, ipinfo, proxy, route, rule-set, rules, sing-box
- Language: TypeScript
- Homepage: https://api.liblaf.me
- Size: 451 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# liblaf's API
[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/liblaf/api/ci.yaml)](https://github.com/liblaf/api/actions/workflows/ci.yaml)
[![Website](https://img.shields.io/website?url=https%3A%2F%2Fapi.liblaf.me)](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