Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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