Yet Another Clash Dashboard
Find a file
2022-05-08 23:30:24 +08:00
.github Switch to use pnpm 2022-05-08 23:30:24 +08:00
assets feat: add apple-touch-icon* 2021-01-04 22:29:42 +08:00
src Improve handling of the hostname url query 2022-03-08 15:13:45 +08:00
.eslintignore build: upgrade deps 2020-11-09 21:04:42 +08:00
.eslintrc.yml build: upgrade deps 2021-02-28 18:04:18 +08:00
.gitignore chore: remove open graph stuff from html template 2020-12-01 22:46:45 +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 Switch to use pnpm 2022-05-08 23:30:24 +08:00
index.html Upgrade deps 2021-11-12 18:03:18 +08:00
package.json Switch to use pnpm 2022-05-08 23:30:24 +08:00
pnpm-lock.yaml Switch to use pnpm 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 Switch to use pnpm 2022-05-08 23:30:24 +08:00
tsconfig.json Use vite 2021-05-30 17:11:57 +08:00
vite.config.ts Change web base to './' 2021-06-07 21:02:28 +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

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