Yacd-meta/README.md

40 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2023-04-30 10:26:08 +08:00
[中文](./README_CN.md)
2023-03-06 09:10:48 +08:00
<h1 align="center">
2023-04-30 10:26:08 +08:00
<img src="https://user-images.githubusercontent.com/78135608/232244383-5e1389db-ce56-4c83-9627-4f3d1a489c6e.png" alt="yacd">
2023-03-06 09:10:48 +08:00
</h1>
> Yet Another [Clash](https://github.com/yaling888/clash) [Dashboard](https://github.com/yaling888/clash-dashboard)
## Usage
Install [twemoji](https://github.com/mozilla/twemoji-colr/releases) to display emoji better on Windows system.
2023-04-30 10:26:08 +08:00
The site http://yacd.metacubex.one is served with HTTP not HTTPS is because many browsers block requests to HTTP resources from a HTTPS website. If you think it's not safe, you could just download the [zip of the gh-pages](https://github.com/MetaCubeX/yacd/archive/gh-pages.zip), unzip and serve those static files with a web server(like Nginx).
2023-03-06 09:10:48 +08:00
**Supported URL query params**
| Param | Description |
| -------- | ---------------------------------------------------------------------------------- |
| hostname | Hostname of the clash backend API (usually the host part of `external-controller`) |
| port | Port of the clash backend API (usually the port part of `external-controller`) |
| secret | Clash API secret (`secret` in your config.yaml) |
| theme | UI color scheme (dark, light, auto) |
## Development
```sh
# install dependencies
# you may install pnpm with `npm i -g pnpm`
pnpm i
# start the dev server
# then go to http://127.0.0.1:3000
pnpm start
# build optimized assets
# ready to deploy assets will be in the directory `public`
pnpm build
```