Yet Another Clash Dashboard
Find a file
liyp c53031a2e0
Some checks failed
Install pnpm and build / build (push) Failing after 2s
fix release 4
2023-04-30 17:03:43 +08:00
.github/workflows fix release 4 2023-04-30 17:03:43 +08:00
assets feat: add apple-touch-icon* 2021-01-04 22:29:42 +08:00
docker Make assets cache public in docker container 2023-03-11 15:53:19 +08:00
patches Self hosting twemoji country flag font files 2023-03-21 23:35:05 +08:00
src Merge pull request #753 from everyx/master 2023-03-25 13:40:21 +08:00
.eslintignore build: upgrade deps 2020-11-09 21:04:42 +08:00
.eslintrc.yml Upgrade deps 2023-02-12 20:21:49 +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 Make nginx to be process 1 to accept SIGTERM signal (#746) 2023-03-10 10:53:21 +08:00
Dockerfile Copy patches/ before pnpm install to fix docker build 2023-03-22 11:30:41 +08:00
index.html Self hosting twemoji country flag font files 2023-03-21 23:35:05 +08:00
LICENSE Add a LICENSE file 2022-06-11 22:49:32 +08:00
package.json Self hosting twemoji country flag font files 2023-03-21 23:35:05 +08:00
pnpm-lock.yaml Self hosting twemoji country flag font files 2023-03-21 23:35:05 +08:00
postcss.config.js Upgrade deps 2023-01-18 16:00:46 +08:00
README.md test action 2023-04-30 16:38:12 +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