Skip to content

feat(ui): add a traffic statistics page - #2238

Open
hakku615 wants to merge 1 commit into
MetaCubeX:mainfrom
hakku615:feat/traffic-stats-page
Open

hakku615 wants to merge 1 commit into
MetaCubeX:mainfrom
hakku615:feat/traffic-stats-page

Conversation

@hakku615

@hakku615 hakku615 commented Nov 1, 2026

Copy link
Copy Markdown

Adds a page that lists traffic per destination host reported by the mihomo backend (GET /traffic/hosts), split between proxied and direct connections.

  • time presets (1h / 24h / 7d / 30d) plus a custom range
  • summary cards for proxy and direct, upload and download
  • domain filter with suffix or exact matching, plus a proxy/direct filter
  • sortable table: host, per-group bytes, total, connections, last seen
  • optional 30s auto refresh
  • renders a hint instead of an error when the backend has the feature disabled

Requires the backend counterpart that exposes per-host statistics.

Add a page that lists traffic per destination host reported by the mihomo
backend, split between proxied and direct connections.

- time presets (1h/24h/7d/30d) plus a custom range
- summary cards for proxy and direct up/down
- domain filter with suffix or exact matching, and a proxy/direct filter
- sortable table (host, bytes, connections, last seen)
- optional 30s auto refresh
- shows a hint instead of an error when the backend has the feature disabled

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant