Available for Remote Contract Work

Hi, I'm Jiayuan
Flutter Developer

Building high-performance cross-platform apps with Flutter & Rust FFI. 2.5+ years shipping production apps across 5 platforms.

Platforms: iOSAndroidmacOSWindowsLinux

About Me

Flutter developer focused on performance & cross-platform excellence

I'm a Flutter developer with 2.5+ years of experience building production-grade cross-platform applications. I specialize in Flutter + Rust FFI development, having designed and shipped 12 FFI modules in production covering system proxy management, socket connection pooling, and protocol parsing.

My work spans the full product lifecycle — from architecture design to app store deployment — across iOS, Android, macOS, Windows, and Linux. I've built apps serving 10K+ daily active users with complex features including payment integration, real-time push notifications, and concurrent media processing.

UTC+8 · Flexible overlap with US timezones
Available via W-8BEN / B2B Contract
2.5+
Years Experience
5
Platforms Shipped
12
FFI Modules
211K+
Lines of Code

Tech Stack

Technologies I work with daily

Cross-Platform

Flutter 3.x Dart 3.x iOS Android macOS Windows Linux

State Management

GetX Riverpod Provider BLoC Redux

High-Performance

Rust FFI Tokio Socket Pool C++

Native Development

Kotlin Swift Java Objective-C

Networking & Storage

Dio Retrofit WebSocket SQLite SharedPreferences

Build & Tools

Git GitHub Gradle Xcode Cargo

Projects I Built

Production apps with real users and measurable impact

BitVPN

Cross-Platform VPN Proxy Client

2023 - 2024

iOSAndroidmacOSWindowsLinux

Commercial cross-platform VPN proxy client integrating Mihomo proxy kernel. Supports 20+ proxy protocols with smart node selection and high-concurrency latency testing.

FlutterRust FFIKotlinSwiftC++
12
FFI Modules
73K+
Lines Parser Code
50%+
Perf Improvement
5
Platforms

Key Implementations

  • Unified Rust FFI architecture (bit_native) with 12 modules: system proxy, socket pool, network query, process daemon, port scan
  • Universal Binary for macOS merging arm64 + x86_64 architectures
  • High-concurrency latency testing: 36 concurrent (desktop) / 10 concurrent (mobile)
  • Self-developed 73K+ line multi-protocol URL parser supporting VMess, VLESS, Trojan, WireGuard and 20+ protocols
  • 4-layer smart node selection: auto, manual, failover, recommended
  • 3-layer system proxy cleanup preventing proxy residue on termination

Technical Highlights

  • Socket Connection Pool: 32 connections, HTTP + FFI mixed usage
  • Cache Strategy: Proxy name cache TTL=1500ms reducing API calls
  • Referenced Clash Verge Rev & Clash Meta for Android architecture

Cloud Museum

Art Authentication Platform

Dec 2024 - Oct 2025

iOSAndroid

Full-featured art authentication and trading platform with 10K+ DAU. Supports online/offline authentication, digital collection preservation, membership system, and payment transactions.

FlutterGetXRust FFI
10K+
Daily Active Users
138K+
Lines of Dart
30%
Traffic Reduced
40%
Fewer API Calls

UI Design Showcase Figma Design Screens

Homepage & AI Chatbot

Homepage & AI Chatbot

Waterfall Gallery

Waterfall Gallery

AI Authentication Report

AI Authentication Report

Authentication Result

Authentication Result

Gallery & Login

Gallery & Login

Upload & History

Upload & History

Key Implementations

  • Led full-stack Flutter development with ViewModel + Service + Repository three-layer architecture
  • Built unified reactive state management with GetX: global state, business modules, routing, dependency injection
  • Concurrent media upload pipeline: 6 images + 1 video, local compression, real-time progress
  • Payment integration: WeChat Pay (App + URL Scheme) and Alipay (Universal Link + URL Scheme dual callback)
  • Push notification system with JPush: alias management, categorized messaging, Deep Link navigation
  • Rust FFI integration via flutter_rust_bridge for RSA encryption and digital signatures

Technical Highlights

  • Image compression upload optimization reducing traffic by 30%
  • 5-minute caching mechanism reducing API calls by 40%
  • Real-time push notifications with Deep Link page navigation

Architecture & Code Deep Dive

BitVPN — sanitized code snippets demonstrating technical depth. Source repos are private (company NDA).

System Architecture

UI Layer

lib/pages/ · lib/widgets/
HomePageServerListPageNodeGroupWidgetPowerBtnLogViewerDialogPlanPage
↓ Provider · Riverpod

ViewModel & State

lib/models/ · lib/bitState/

AppModel

VPN status · Theme · UI

ServerModel

Node list · Selection · Cache

UserModel

Auth · Preferences

bitConfigState

Riverpod StateProvider

BaseModel extends ChangeNotifier · PageState (loading / error / success)

↓ Singleton Services

Service Layer

lib/service/

MihomoConnectionService

Proxy switch · Connect · Disconnect

MihomoDelayService

Batch latency test · EventChannel

SmartSelectionService

Auto · Manual · Failover · Recommended

ConfigService

ProfileManager · YAML · Validation

NodeBatchTester

Concurrent test · Semaphore(36/20)

FallbackManager

Proxy failover · Auto-reconnect

Desktop: MihomoPortManager · ProcessCleanup · TrayService · BinaryResolver

↓ Platform Channels · FFI

FFI Bridge & Platform Channels

lib/utils/ffi/ · lib/channels/

Rust FFI (base_ffi.dart)

SysproxyFFIMihomoSocketFFIProcessGuardFFIPortScannerFFIHostnameFFIPrivilegeFFINetworkIfFFISysinfoFFI

Isolate-safe · Lazy init · Platform detection

Platform Channels

vpn_managermihomo_coremihomo_vpnmihomo_delay_stream

MethodChannel · EventChannel (Android/iOS)

↓ Static lib · DLL · .so · Native SDK

Native Layer

native/ · android/ · ios/

Android

Kotlin

TunnelService

Mihomo Core

iOS

Swift

PacketTunnel

NetworkExt

macOS

Static lib

.process()

Universal

Windows

DLL

x64 / ARM64

WinReg

Linux

.so

x64 / ARM

iptables

Rust FFI Modules (bit_native)

sysproxy

mihomo_socket

process_guard

port_scanner

hostname

privilege

network_if

sysinfo

timer

winreg

clash_verge_svc

tokio runtime

Compiled as staticlib + rlib · Dependencies: sysproxy-rs, tokio, sysinfo, network-interface

Code Highlights Sanitized snippets

base_ffi.dart FFI Abstraction
abstract class BaseFFI {
DynamicLibrary? _lib;

Future<void> initializeLibrary() async {
if (Platform.isWindows) {
_lib = await WindowsDllLoader
.loadDll(windowsDllName);
} else if (Platform.isMacOS) {
// Static lib: symbols in process
_lib = DynamicLibrary.process();
}
}

// Isolate-safe library access
static DynamicLibrary getLibForIsolate(
{required String dllName}
) => Platform.isWindows
? loadLibInIsolate(dllName)
: DynamicLibrary.process();
}
process_guard.rs + .dart RAII Resource Cleanup
// Rust: Atomic handle + minimal lock
static NEXT_HANDLE: AtomicU64 =
AtomicU64::new(1);

pub extern "C" fn create(pid: pid_t)
-> u64 {
let handle = NEXT_HANDLE
.fetch_add(1, Ordering::Relaxed);
registry.lock().insert(handle, pid);
handle
}

// Dart: Finalizer = Rust Drop trait
static final Finalizer _finalizer =
Finalizer((cb) => cb());

ProcessGuard._(this._handle) {
_finalizer.attach(this, () {
ProcessGuardFFI.kill(_handle);
});
}
mihomo_socket_ffi.rs Connection Pool
struct IpcConnectionPool {
connections: Arc<Mutex<
VecDeque<IpcConnection>>>,
semaphore: Arc<Semaphore>,
config: PoolConfig,
}

enum RejectPolicy {
New = 0, // Create new connection
Reject = 1, // Reject immediately
Timeout= 2, // Wait with timeout
Wait = 3, // Wait indefinitely
}

// Global tokio runtime for pool reuse
static GLOBAL_RUNTIME:
OnceLock<tokio::Runtime> =
OnceLock::new();
mihomo_delay_service.dart Batch Concurrency
static int get maxConcurrency {
if (Platform.isMacOS ||
Platform.isWindows) {
return 36; // Desktop: high concurrency
}
return 20; // Mobile: Semaphore(20)
}

// Stream-based result delivery
// Android: EventChannel replaces
// 300ms polling with push
static const EventChannel
_delayStream = EventChannel(
'com.sail/mihomo_delay_stream'
);

// Cache: proxy name TTL=1500ms
final _cache = TimedCache<
String, bool>(ttl: 1500);

Experience

My professional journey

Cloud Museum Data Group Co., Ltd.

Flutter Developer

Dec 2024 - Oct 2025
  • Led core business module development for art authentication platform (10K+ DAU)
  • Architected state management, payment integration, push notifications
  • Integrated Rust FFI for cryptographic operations

Beijing ZeroOne Smart Technology

Flutter Developer

Sep 2023 - Dec 2024
  • Built cross-platform VPN client across 5 platforms
  • Designed 12-module Rust FFI architecture
  • Developed 73K+ line protocol parsing engine

Hebei University

B.S. in Bioinformatics

Graduated June 2023

Let's Work Together

I'm available as a remote contractor for US companies. Whether through W-8BEN individual agreement or B2B contract via my company entity, I'm ready to help build your next cross-platform application.

W-8BEN Individual W-8BEN-E Company Entity B2B Contract EOR (Deel / Remote)