mirror of
https://github.com/MetaCubeX/Yacd-meta.git
synced 2026-07-22 18:41:45 +00:00
Yet Another Clash Dashboard
http://yacd.metacubex.one
- TypeScript 63.1%
- SCSS 34.9%
- CSS 1.2%
- JavaScript 0.5%
- HTML 0.2%
- Other 0.1%
|
Some checks failed
Deploy / build (push) Has been cancelled
Wire up the mihomo rules API's extra fields (disabled, hitCount, hitAt) and the /rules/disable endpoint so each rule can be toggled on/off and shows its hit count. Also surface the rule provider's ruleCount for RuleSet-type rules, since their own size field is always -1. |
||
|---|---|---|
| .github | ||
| .vscode | ||
| assets | ||
| docker | ||
| src | ||
| .browserslistrc | ||
| .gitignore | ||
| .prettierrc | ||
| CHANGELOG.md | ||
| CLAUDE.md | ||
| docker-entrypoint.sh | ||
| Dockerfile | ||
| eslint.config.mjs | ||
| index.html | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| postcss.config.js | ||
| README.md | ||
| README_CN.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
Usage
Install twemoji to display emoji better on Windows system.
The site http://yacd.metacubex.one 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).
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) |
| title | Custom title for the webpage (displayed in browser tab) |
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