An open API service indexing awesome lists of open source software.

https://github.com/metacubex/metacubexd

Mihomo Dashboard, The Official One, XD
https://github.com/metacubex/metacubexd

daisyui dashboard docker solidjs

Last synced: 11 days ago
JSON representation

Mihomo Dashboard, The Official One, XD

Awesome Lists containing this project

README

          

# metacubexd

**Mihomo Dashboard, The Official One, XD**

[![pr-closed](https://img.shields.io/github/issues-pr-closed/metacubex/metacubexd?style=for-the-badge)](https://github.com/metacubex/metacubexd/pulls)
[![last-commit](https://img.shields.io/github/last-commit/metacubex/metacubexd?style=for-the-badge)](https://github.com/metacubex/metacubexd/commits)
[![build](https://img.shields.io/github/actions/workflow/status/metacubex/metacubexd/release.yml?style=for-the-badge)](https://github.com/metacubex/metacubexd/actions)
[![downloads](https://img.shields.io/github/downloads/metacubex/metacubexd/total?style=for-the-badge)](https://github.com/metacubex/metacubexd/releases)
[![license](https://img.shields.io/github/license/metacubex/metacubexd?style=for-the-badge)](./LICENSE)

## ✨ Features

- πŸ“Š Real-time traffic monitoring and statistics
- πŸ”„ Proxy group management with latency testing
- πŸ“‘ Connection tracking and management
- πŸ“‹ Rule viewer with search functionality
- πŸ“ Live log streaming
- 🎨 Beautiful UI with light/dark theme support
- πŸ“± Fully responsive design for mobile devices
- 🌐 Multi-language support (English, δΈ­ζ–‡, Русский)

## πŸ–ΌοΈ Preview

Desktop Screenshots

| Overview | Proxies |
| :-----------------------------------------------------------: | :---------------------------------------------------------: |
| overview | proxies |

| Connections | Rules |
| :-----------------------------------------------------------------: | :-----------------------------------------------------: |
| connections | rules |

| Logs | Config |
| :---------------------------------------------------: | :-------------------------------------------------------: |
| logs | config |

Mobile Screenshots

| Overview | Proxies | Connections |
| :---------------------------------------------------------------: | :-------------------------------------------------------------: | :---------------------------------------------------------------------: |
| overview | proxies | connections |

| Rules | Logs | Config |
| :---------------------------------------------------------: | :-------------------------------------------------------: | :-----------------------------------------------------------: |
| rules | logs | config |

## πŸ”— Official Links

| Platform | URL |
| :--------------- | :------------------------------------- |
| GitHub Pages | https://metacubex.github.io/metacubexd |
| Cloudflare Pages | https://metacubexd.pages.dev |

## πŸš€ Quick Start

### Prerequisites

Enable external-controller in your mihomo config:

```yaml
external-controller: 0.0.0.0:9090
```

### Option 1: Use Pre-built Assets

```shell
# Clone the gh-pages branch
git clone https://github.com/metacubex/metacubexd.git -b gh-pages /etc/mihomo/ui

# Set external-ui in your config
# external-ui: /etc/mihomo/ui

# Update to latest version
git -C /etc/mihomo/ui pull -r
```

### Option 2: Docker

```shell
# Basic usage
docker run -d --restart always -p 80:80 --name metacubexd ghcr.io/metacubex/metacubexd

# With custom default backend URL
docker run -d --restart always -p 80:80 --name metacubexd \
-e DEFAULT_BACKEND_URL=http://192.168.1.1:9090 \
ghcr.io/metacubex/metacubexd

# Update
docker pull ghcr.io/metacubex/metacubexd && docker restart metacubexd
```

Docker Compose

```yaml
services:
metacubexd:
container_name: metacubexd
image: ghcr.io/metacubex/metacubexd
restart: always
ports:
- '80:80'
# environment:
# - DEFAULT_BACKEND_URL=http://192.168.1.1:9090

# Optional: mihomo instance
mihomo:
container_name: mihomo
image: docker.io/metacubex/mihomo:Alpha
restart: always
pid: host
network_mode: host
cap_add:
- ALL
volumes:
- ./config.yaml:/root/.config/mihomo/config.yaml
- /dev/net/tun:/dev/net/tun
```

```shell
docker compose up -d

# Update
docker compose pull && docker compose up -d
```

### Option 3: Build from Source

```shell
# Install dependencies
pnpm install

# Build for static hosting (gh-pages, etc.)
pnpm generate

# Preview
pnpm preview
```

## πŸ› οΈ Development

```shell
# Start dev server
pnpm dev

# Start dev server with mock data
pnpm dev:mock

# Lint & Format
pnpm lint
pnpm format
```

## πŸ“„ License

[MIT](./LICENSE)

## πŸ™ Credits

- [Nuxt](https://github.com/nuxt/nuxt) - The Intuitive Vue Framework
- [Vue.js](https://github.com/vuejs/core) - The Progressive JavaScript Framework
- [daisyUI](https://github.com/saadeghi/daisyui) - Tailwind CSS components
- [Tailwind CSS](https://tailwindcss.com) - Utility-first CSS framework