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 Hub
haishanh/yacd
- GitHub Container Registry
ghcr.io/haishanh/yacd
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) |
# install dependencies
yarn
# start the dev server
# then go to http://127.0.0.1:3000
yarn start
# build optimized assets
# ready to deploy assets will be in the directory `public`
yarn build