Yet Another Clash Dashboard
Find a file
2023-02-02 21:30:59 +08:00
.github Fix gh-pages publish 2023-01-30 22:09:39 +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 improve delay test ui 2023-02-02 21:30:59 +08:00
.eslintignore build: upgrade deps 2020-11-09 21:04:42 +08:00
.eslintrc.yml Remove unnecessary deps 2022-06-06 00:09:20 +08:00
.gitignore Cache and gzip assets in docker 2022-05-08 23:33:44 +08:00
CHANGELOG.md v0.3.8 2022-11-11 22:47:39 +08:00
docker-entrypoint.sh Add YACD_DEFAULT_BACKEND env var for Docker image (#663) 2022-02-13 17:08:28 +08:00
Dockerfile Add commit hash to the build 2023-01-30 21:06:03 +08:00
index.html Add meta tags “theme-color” (#711) 2022-08-27 14:33:57 +08:00
LICENSE Add a LICENSE file 2022-06-11 22:49:32 +08:00
package.json Remove unnecessary i18next-http-backend 2023-01-30 23:12:04 +08:00
pnpm-lock.yaml Remove unnecessary i18next-http-backend 2023-01-30 23:12:04 +08:00
postcss.config.js Upgrade deps 2023-01-18 16:00:46 +08:00
README.md Upgrade deps 2022-08-04 23:15:58 +08:00
tsconfig.json Add commit hash to the build 2023-01-30 21:06:03 +08:00
vite.config.ts Fix PUBLIC_URL 2023-01-30 22:22:46 +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 the url printed on the screen
pnpm start


# build optimized assets
# ready to deploy assets will be in the directory `public`
pnpm build