Dev/mihomo control - #339
Merged
Merged
Conversation
Monitor and control a Mihomo (Clash Meta) external controller from the bar: live traffic graph, proxy mode, proxy-group management with latency tests, and core restart. Works locally (127.0.0.1) or remotely via host/port/secret settings.
Adds a Test all button next to the Proxy groups heading that runs latency tests on every group sequentially, with a single summary notification.
Give both sections the same card look: muted medium-weight heading on the left, secondary info on the right, and proxy-group cards restyled as bordered sub-cards inside the section.
Show the selected proxy next to the bold group name (ECS > ecs-proxy), move the expand chevron to the type/members row where the list opens, and drop the list glyph from the card header.
Keep each card in a two-column row at its natural height instead of stretching the neighbor when one is expanded.
Use theme roles for traffic and latency colors so they stay readable in light mode, and keep the status chip's green/amber/red identity with darker light-mode shades.
mdj2812
force-pushed
the
dev/mihomo-control
branch
from
August 12, 2026 00:26
f4dfaf1 to
7331fba
Compare
|
For people who like minimalism, I think it's worth adding a setting that will make the icon for the plugin small, that is, it will remove the rule/global display, and also add the ability to change the color of the mihomo icon itself |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plugin
mdj2812/mihomo-controlplugin.toml)What it does
Monitor and control a Mihomo (Clash Meta) external controller from the Noctalia bar and a control panel:
GET /traffic, with current up/down rates.POST /restart).GET /group/<name>/delay), click-to-select, per-group overall latency, and a "Test all" button.127.0.0.1) or remotely via host / port / secret / HTTPS settings.External dependencies
None. Self-contained Luau speaking HTTP to the configured external controller:
GET /version /configs /connections /proxies /traffic /group/<name>/delay,PATCH /configs,PUT /proxies/<name>,POST /restart,DELETE /connections. It spawns no processes and writes no files.Testing
Screenshots / Videos
Checklist
idafter the/inplugin.tomlexactly.plugin.toml,README.md,thumbnail.webp, andtranslations/en.json.README.mdfollows theREADME template, documents
every entry id and dependency, and includes exact panel IPC commands and launcher prefixes where applicable.
thumbnail.webpwith the thumbnail generator.versionfollows semver and is bumped in this PR;plugin_apiis the oldest API level this plugin requires.understand that language well enough to review and maintain it (no unreviewed machine/LLM translations).
catalog.toml; CI generates it.Code review attestation
Plugins run as trusted, unsandboxed Luau in the user's session. Confirm:
licensedeclared inplugin.toml.