Commit Graph

32 Commits

Author SHA1 Message Date
Tunglies
9f2c4b4f35 refactor: migrate clash client info retrieval to MihomoManager 2025-03-09 00:40:16 +08:00
Tunglies
adbf98cb15 rm: clash-api dead code 2025-03-09 00:29:14 +08:00
Tunglies
364fb16b7b refactor: streamline clash delay test and improve API interactions 2025-03-09 00:04:48 +08:00
Tunglies
634ed9cb46 refactor: streamline clash mode handling and improve API interactions 2025-03-08 22:41:14 +08:00
Tunglies
f771f4720f refacture: Mihomo API integration (#2900)
* feat: add mihomo_api crate as a workspace member

Added a new mihomo_api crate to handle interactions with the Mihomo API. This modular approach provides a dedicated interface for fetching and managing proxy data from Mihomo servers. The implementation includes functionality to refresh and retrieve both proxies and provider proxies with proper error handling and timeouts. Added this crate as a workspace member and included it as a dependency in the main project.

* Refactors Mihomo API integration

Simplifies proxy fetching by removing the MihomoManager structure.

Updates the get_proxies and get_providers_proxies functions to directly use the mihomo_api module.

Removes unused Mihomo API related files and modules for cleaner codebase.

Enhances overall maintainability and performance.
2025-03-05 00:45:08 +08:00
lucidhz
c5989d2735 fix: put_configs response add detail error message (#2492)
感谢pr
2025-01-05 01:27:12 -08:00
huzibaca
086f023ebc chore: update 2024-12-31 11:11:29 +08:00
huzibaca
b70336c026 fix: unused code 2024-12-31 08:08:52 +08:00
huzibaca
fb41c915cc feat: macos system tray addition rate display 2024-12-31 04:42:55 +08:00
wonfen
a3140f48b4 release 2.0.0 2024-11-23 11:34:17 +08:00
huzibaca
221b732472 refactor: logger fetch logic 2024-11-18 05:58:06 +08:00
Christine.
7f0d9952aa chore: Replace test URL to support iPv4&iPv6 (#2033) 2024-11-18 00:20:21 +08:00
huzibaca
2833718c90 feat: add unified delay 2024-11-05 16:24:58 +08:00
huzibaca
3bcd8b8b2c fix: code lint 2024-09-24 20:11:33 +08:00
huzibaca
4b20b65a22 fix: code lint 2024-09-24 20:09:30 +08:00
huzibaca
a3465d292c refactor: unify and simplify the call of app_handle(2) 2024-09-23 23:15:51 +08:00
MystiPanda
0342477733 fix: runtime error 2024-06-19 11:10:40 +08:00
wonfen
11434fba68 Revert "chore: change default test url"
This reverts commit 69b65d06a4.
2024-06-03 08:25:06 +08:00
MystiPanda
69b65d06a4 chore: change default test url 2024-06-01 23:14:47 +08:00
MystiPanda
8efa815eb9 feat: Support custom delay timeout (#397) 2024-02-18 11:11:22 +08:00
MystiPanda
4d2474226b refactor: cargo clippy 2024-01-10 17:36:35 +08:00
MystiPanda
82b8a474d7 fix: Cargo clippy 2023-12-21 16:49:21 +08:00
wonfen
dbc626734d chore: delete clash core, update CI, change profile name, change URL test link 2023-11-22 02:56:47 +08:00
GyDi
7e3a85e9da fix: latency url empty 2023-11-01 23:22:30 +08:00
GyDi
5a0fed9c93 feat: increase the concurrency of latency test 2023-11-01 20:52:38 +08:00
GyDi
e90158809a fix: parse log cause panic 2023-01-11 13:30:14 +08:00
GyDi
f95ddd594e feat: guard the mixed-port and external-controller 2022-11-22 15:45:17 +08:00
GyDi
f425fbaf9d feat: adjust clash log 2022-11-18 22:08:06 +08:00
GyDi
2667ed13f1 refactor: done 2022-11-18 18:18:41 +08:00
GyDi
34daffbc96 refactor: adjust all path methods and reduce unwrap 2022-11-18 10:26:39 +08:00
GyDi
63b474a32c refactor: wip 2022-11-17 17:07:13 +08:00
GyDi
b03c52a501 refactor: wip 2022-11-14 01:26:33 +08:00