Commit Graph

16 Commits

Author SHA1 Message Date
sakuradairong
819c29b843 feat(webapp): add modern WebApp UI with tabs, presets and history
- Add tabbed interface (Basic/Advanced/History)
- Add quick action buttons for common formats
- Add preset system (Clash/Surge/QuanX/Sing-box/Node list)
- Add form persistence with localStorage
- Add conversion history with restore functionality
- Add URL format validation
- Add result statistics (size/lines/time)
- Add toast notifications
- Add light/dark theme support
- Add i18n (Chinese/English auto-detect)
- Add responsive mobile layout
- Update CMakeLists.txt and main.cpp routing
2026-06-15 15:33:41 +08:00
Aethersailor
69c4145010 feat(dashboard): add optional authentication 2026-05-26 14:53:20 +08:00
Aethersailor
91f0287751 feat(stats): add dashboard analytics 2026-05-26 09:24:48 +08:00
Aethersailor
9f4b2c0b61 fix(inspect): register only inspect route 2026-05-25 20:21:21 +08:00
Aethersailor
3d70c4b5d0 feat(debug): add request inspector page 2026-05-25 19:45:28 +08:00
Aethersailor
035e99d378 build(quickjs): support legacy promise tracker API 2026-05-20 18:15:28 +08:00
Aethersailor
37742a253c feat(version): refine language toggle and extract page handler 2026-05-08 17:51:36 +08:00
Aethersailor
75508a4dd0 build(cmake): modernize project declaration 2026-05-08 13:13:28 +08:00
Aethersailor
e68c3ccd07 build: suppress third-party unused parameter warning 2026-05-08 12:47:05 +08:00
Aethersailor
a3de9d36b0 fix(alpine): avoid static libstdc++ on musl 2026-01-06 14:15:04 +08:00
Aethersailor
6569b5626f fix(alpine): switch to c-shared mode to resolve Go runtime initialization segfault
- Change Go buildmode from c-archive to c-shared
- musl libc doesn't pass argc/argv to constructors, causing runtime.sysargs to crash
- c-shared mode has cleaner initialization boundary for Go runtime
- CMakeLists.txt now supports both .so and .a modes for cross-platform compatibility
2026-01-06 13:12:49 +08:00
Aethersailor
8462407846 fix(alpine): implement full musl toolchain optimization to resolve Segfault
- Add musl environment detection in CMakeLists.txt
- Disable LTO and PIE for stable Go CGO linking
- Use --whole-archive to prevent symbol loss
- Set CC=musl-gcc explicitly in Dockerfile
- Add -trimpath for safe binary size reduction
- Add -Wl,--no-as-needed and static libgcc/libstdc++ linking
2026-01-06 10:00:07 +08:00
Aethersailor
a336023428 fix: restore C++20 standard (was accidentally set to 17)
The codebase uses C++20 features (concept, requires).
Keep the -Wno-array-bounds flag for toml11 warnings.
2025-12-28 21:20:13 +08:00
Aethersailor
6e6c0df24b fix: suppress toml11 array-bounds warning in GCC 12
The toml11 library triggers false-positive array-bounds warnings
in GCC 12 on Debian. Add -Wno-array-bounds to suppress.
2025-12-28 21:16:25 +08:00
Aethersailor
949315e120 feat: integrate mihomo native parser via CGO
- Add Go wrapper layer (bridge/) calling mihomo's ConvertsV2Ray()
- Add C++ bridge (mihomo_bridge.h/cpp) for CGO interop
- Update CMakeLists.txt to link Go static library
- Update Dockerfile with multi-stage build (Go + C++)
- Replace explodeConfContent with mihomo::parseSubscription in nodemanip.cpp
- Implement full protocol support (SS/VMess/Trojan/Hysteria/TUIC etc.)
- Add fallback to legacy parser if mihomo library unavailable
This ensures 100% compatibility with mihomo's node config generation
and auto-syncs protocol support with upstream mihomo updates.
2025-12-28 19:46:19 +08:00
Aethersailor
b0bb3901c9 chore: add upstream sync workflow 2026-01-03 23:48:48 +08:00