Yet Another Clash Dashboard
Find a file
2022-05-08 23:33:44 +08:00
.github Cache and gzip assets in docker 2022-05-08 23:33:44 +08:00
assets feat: add apple-touch-icon* 2021-01-04 22:29:42 +08:00
docker Cache and gzip assets in docker 2022-05-08 23:33:44 +08:00
src Upgrade chart.js 2022-05-08 23:30:24 +08:00
.eslintignore build: upgrade deps 2020-11-09 21:04:42 +08:00
.eslintrc.yml Cache and gzip assets in docker 2022-05-08 23:33:44 +08:00
.gitignore Cache and gzip assets in docker 2022-05-08 23:33:44 +08:00
CHANGELOG.md v0.3.4 2021-11-14 22:21:52 +08:00
docker-entrypoint.sh Add YACD_DEFAULT_BACKEND env var for Docker image (#663) 2022-02-13 17:08:28 +08:00
Dockerfile Cache and gzip assets in docker 2022-05-08 23:33:44 +08:00
index.html Upgrade deps 2021-11-12 18:03:18 +08:00
package.json Upgrade chart.js 2022-05-08 23:30:24 +08:00
pnpm-lock.yaml Upgrade chart.js 2022-05-08 23:30:24 +08:00
postcss.config.js Stop use postcss-nested postcss-extend-rule 2021-06-06 00:33:22 +08:00
README.md Cache and gzip assets in docker 2022-05-08 23:33:44 +08:00
tsconfig.json Upgrade chart.js 2022-05-08 23:30:24 +08:00
vite.config.ts Upgrade chart.js 2022-05-08 23:30:24 +08:00

yacd

Yet Another Clash Dashboard

Usage

The site http://yacd.haishan.me 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, unzip and serve those static files with a web server(like Nginx).

Docker image

docker run -p 1234:80 -d --name yacd --rm ghcr.io/haishanh/yacd:master

# and then open http://localhost:1234 in your browser

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

# 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