$ show hiddify/hiddify-app
Hiddify is a cross-platform proxy/VPN client built with Flutter and a Go core (Sing-box). It supports multiple proxy protocols (Vless, Vmess, Reality, TUIC, Hysteria, WireGuard, SSH, etc.), subscription management, per-app proxy, routing rules, chain configuration, and advanced features like Warp, Psiphon, and TLS tricks. The architecture is a Flutter frontend communicating with a Go backend via gRPC/protobuf over a local socket. The app uses Riverpod for state management, drift for local SQLite storage, freezed for immutable models, and go_router for navigation. It has platform-specific native code for Android (Kotlin), iOS/macOS (Swift), Windows (C++), and Linux (C). The codebase is well-organized into feature modules, core infrastructure, and generated protobuf bindings. It is actively maintained with CI/CD pipelines and multi-platform releases, though it contains some commented-out code and generated file churn.
The LLM identified 2 files worth highlighting for reuse:
A custom Flutter widget for editing proxy configurations as a JSON tree. It supports expand/collapse, inline editing with type-aware fields (text, number, boolean, dropdown), search with navigation, and context menus for adding/deleting keys and inserting protocol-specific templates. The editor uses hardcoded schema definitions for 13 proxy protocols, making it self-contained and reusable for any JSON editing scenario. It demonstrates advanced widget composition and schema-driven UI generation.
A compiled Dart worker that implements a full SQLite VFS using WebAssembly, supporting OPFS (Origin Private File System) and IndexedDB backends. It includes feature detection for nested workers, SharedArrayBuffers, and compatibility checks. This file enables offline-first database operations in the web version of the app and is a reusable asset for any Flutter web project needing local SQLite storage.