Skip to content

haishanh/yacd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d37a1ff · Oct 13, 2023
Sep 22, 2023
Jan 4, 2021
Jul 30, 2023
Mar 21, 2023
Oct 13, 2023
Nov 9, 2020
Oct 6, 2023
May 8, 2022
Nov 11, 2022
Jul 30, 2023
Jun 11, 2022
Aug 4, 2022
Mar 10, 2023
Mar 21, 2023
Oct 6, 2023
Oct 6, 2023
Oct 6, 2023
Oct 6, 2023
Jan 30, 2023
Sep 22, 2023

Repository files navigation

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