Chuyển đến nội dung chính

Bài đăng

Hiển thị các bài đăng có nhãn Networking

LocalSend: truyền file kiểu AirDrop không cần cloud

LocalSend hỏi một câu sản phẩm sắc: hai thiết bị đổi file không cần tài khoản server được không? Có — nếu bạn thiết kế discovery LAN, HTTPS và consent rõ ràng. Điểm thiết kế Peer protocol trên HTTPS cục bộ (thường gắn với cổng 53317 ). UI Flutter với phần Rust/native cho đường nhạy hiệu năng. Không có control plane cloud — privacy là feature. Học theo Discovery + consent UX là nửa sản phẩm. Transfer phải resume được và hiện rõ; lỗi im lặng phá niềm tin. Giữ CLI headless cho power user và automation. Cạm bẫy Giới hạn background mobile giết transfer dài ngây thơ. Mạng hỗn hợp (AP isolation, VPN, captive portal) sinh support load — hãy tài liệu hóa. Học LocalSend khi cần pattern local-first , không chỉ một package để copy. Bài viết gốc đăng tại FlutterCook . Bản trên đó là bản được cập nhật mới nhất.

Hiddify Next: UI Flutter trên lõi tunnel

Client proxy/VPN sống ở rìa quyền OS. Hiddify Next ghép UI Flutter với lõi tunnel hiệu năng cao (dòng Sing-box/Go) để UI vẫn biểu đạt trong khi data path nhàm chán và nhanh. Bài học Status là stream. Latency, server đang nối, lỗi phải là một model nhất quán. Config là data. Import/export profile; đừng hardcode endpoint trong widget. API VPN nền tảng là phần khó — cô lập sau service interface. Cạm bẫy Pin và thermal khi tunnel always-on. Chính sách store khác nhau cho app VPN. Dùng repo này khi cần tham chiếu Flutter backed by service , không chỉ CRUD thuần. Bài viết gốc đăng tại FlutterCook . Bản trên đó là bản được cập nhật mới nhất.

LocalSend: AirDrop-style transfer with zero cloud

LocalSend answers a sharp product question: can two devices exchange files without an account or a server? Yes — if you design for LAN discovery, HTTPS, and explicit consent. Design highlights Peer protocol over local HTTPS (commonly associated with port 53317 ). Flutter UI with Rust/native pieces for performance-critical paths. No cloud control plane — privacy is the feature. Steal this Discovery + consent UX is half the product. Make transfers resumable and visible; silent failures destroy trust. Keep a CLI headless mode for power users and automation. Pitfalls Mobile OS background limits kill naive long transfers. Mixed networks (AP isolation, VPN, captive portals) will generate support load — document them. Study LocalSend when you need local-first product patterns, not just a package to copy. Originally published on FlutterCook . Read the latest version there — that copy is the one kept up to date.

Hiddify Next: Flutter UI over a tunnel core

Proxy/VPN clients live at the edge of OS permissions. Hiddify Next pairs a Flutter UI with a high-performance tunnel core (Sing-box/Go lineage) so the UI stays expressive while the data path stays boring and fast. Lessons Status is a stream. Latency, connected server, and errors should be one consistent model. Config as data. Import/export profiles; do not hardcode endpoints in widgets. Platform VPN APIs are the hard part — isolate them behind a service interface. Pitfalls Battery and thermal costs of always-on tunnels. Store policy differences for VPN apps. Use this repo when you need a reference for service-backed Flutter rather than a pure CRUD app. Originally published on FlutterCook . Read the latest version there — that copy is the one kept up to date.