Skip to content
View HKMV's full-sized avatar
🏠
Working from home
🏠
Working from home

Block or report HKMV

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
HKMV/README.md

Serenity · 慕书

博客 · 项目 · 组网笔记

写工具的人:把反复出现的麻烦事,做成一个双击就能用的程序。

主要用 Rust 写跨平台桌面工具与网络转发软件 —— 原生 GUI、不套 WebView、单文件即拷即用。同时做内网运维与自动化(MES / 订单自动化平台)。网络这块偏底层:写过本地转发与 SOCKS5/HTTP 代理,也长期折腾私有组网(Mesh VPN)的选型与落地。

  • 在做:devroute(本地开发转发)、tun2proxy-gui(tun2proxy 桌面前端)
  • 在学:系统层网络(TUN / 分流规则)、GPU 渲染的原生 UI
  • 环境:Windows(PowerShell + C#)、Arch Linux、macOS —— 三个平台日常都用,所以工具一律按跨平台写

代表项目

devroute — 本地开发调试用的转发工具

Rust + FLTK(C++ 库,经 fltk-rs 绑定)纯原生 GUI,单文件 2.5–4.2MB(macOS 2.53 / Windows 2.75 / Linux 4.20)、GUI 空闲 3.4MB、--headless 2.5MB;本地镜像与 SOCKS5/HTTP 代理两种模式各自独立启停,用法与已知边界见 项目 README,安装包看 最新版。

tun2proxy-gui — tun2proxy 的跨平台桌面图形前端

Rust + GPUI(Zed 的 GPU 渲染 UI 框架),不依赖 WebView;v0.6.1 四个平台产物 Windows 3.55 MB、macOS 3.11 MB(arm64)/3.44 MB(x64)、Linux 7.27 MB,附 SHA-256 校验。用法与已知边界见 项目 README。

也在维护的:

  • api-request-analyzer-browser-plugin — Svelte + chrome.debugger,把每个请求拆成 DNS / TCP / TLS / 发送 / 等待 / 下载 6 个阶段做可视化,支持通配符与正则域名规则、CSV / Excel 导出
  • anywhere-ocr — AutoHotkey 实现,任意界面框选即识别,不打断当前操作
  • nal — 网络自动登录:检测到断联自动重登。最初 Go,后以 Rust + Tokio 重写
  • atop-analyze — Go CLI,解析 Linux atop rawlog(2.10),终端出 Top N 并导出带趋势图的 Excel

技术栈与数据

用 途 用到的东西
系 统 Arch Linux、macOS、Windows
语 言 Rust、Go、C#、TypeScript、Java、AutoHotkey
桌 面 端 Rust 原生:GPUI、iced、egui,以及 FLTK(C++ 库,经 fltk-rs 绑定)
套 壳 与 其 他 Tauri(Rust)、Wails(Go)、JavaFX 与 JxBrowser(Java 侧,后者嵌入 Chromium),另有 WPF、Avalonia、Vue、Svelte
嵌 入 式 ESP32 系(ESP32-S3)、Rust no_std(embassy / espflash / embedded-graphics)、LVGL
服 务 与 运 维 Docker Compose、Caddy、内网穿透与反向代理
私 有 组 网 EasyTier(主用)、NetBird(备用),研究过 Tailscale / ZeroTier / vnt
star 分布(约 3.8k,Top 10 语言)—— 数据比自我介绍更诚实
语言 数量 语言 数量
Rust 625 Python 458
TypeScript 434 Java 360
Go 349 JavaScript 289
C++ 192 C 187
C# 184 Shell 97

四个观察:

  • Rust 排第一,比第二的 Python(458)高 37% —— 对我是日常主力,不是贴在简历上的标签。
  • Windows 171 / Linux 160 / macOS 150 三个 topic 几乎并列,另有 57 个项目同时打了这三平台 —— 跨平台在我这里是前提条件,不是加分项。
  • AI / LLM 相关 435 个,其中 MCP(100)、agent(92)、claude-code(97)占大头 —— AI 编码工具链是重度使用,不是浅尝。
  • 嵌入式 29 个,其中 9 个是 Rust —— 从 ESP32 系往里走,正好接上 no_std 那条线(embassy / espflash / embedded-graphics)。

关注的方向

  • Rust 跨平台桌面:原生渲染优先(GPUI;FLTK 走 fltk-rs 绑定),egui、iced 动过手,套壳侧看过 Tauri(Rust)与 Wails(Go)
  • AI 编码工具链:Claude Code / Codex / MCP / agent skills 日常重度使用
  • 提效小工具:OCR、剪贴板、窗口管理这类每天要点几百次的东西
  • Linux 内核与发行版:跑 Arch,跟内核分支与驱动层的改动
  • 嵌入式与 ESP32:ESP32-S3 + Rust no_std(espflash / embassy / embedded-graphics),也看 LVGL / TinyGo
  • 私有组网:EasyTier 主用、NetBird 备用;看 NAT 穿透与中继是否自控,笔记在 mesh-networking-notes
  • 自建服务:能自己搭就不依赖第三方
常看常参考 —— 各自解决了我反复遇到的问题
  • caddy — 自动 HTTPS 的配置模型,反向代理的默认选择
  • frp — 内网穿透里实现读起来最省力的一个,协议设计值得抄
  • tauri — 套壳方案里最克制的一档,用它的边界在哪很清楚
  • rustdesk — Rust 核心 + Flutter 界面,加自建中继,跨平台桌面的完整样本
  • yazi — 终端界面的异步与渲染组织方式
  • sniffnet — 流量可视化的渲染思路,它自己用 iced 写,可以跟 GPUI 那套对照看
  • alacritty — GPU 渲染终端的性能下限
  • immich — 自建服务的完备度参照:备份、迁移、升级路径是否写清楚
早年与零散项目

English

Developer working mostly in Rust: native cross-platform desktop tools and network-forwarding utilities — real native GUI, no WebView, single small binary. Has worked across the whole Rust GUI spectrum — immediate mode egui, declarative iced, Zed's GPU-rendered GPUI, the C++ toolkit FLTK through its fltk-rs bindings, and the WebView shell Tauri — plus Wails on the Go side and JavaFX / JxBrowser on the Java side. Picks native rendering because binary size and idle memory are hard requirements, not nice-to-haves. Ships for Windows, macOS and Linux (Arch included), and also runs internal infrastructure (Docker + Caddy) and industrial automation platforms.

Highlights: devroute — a 2.5–4.2MB dev-time forwarder with an independent "local mirror site" mode and a SOCKS5/HTTP proxy mode; tun2proxy-gui — a GPUI-based desktop front-end for tun2proxy; api-request-analyzer-browser-plugin — a Chrome extension that breaks every request into DNS / TCP / TLS / send / wait / download phases.

Interests: Rust desktop & systems tooling, AI coding agents and skills, small Windows/macOS productivity tools, self-hosted services, private mesh networking — Tailscale / ZeroTier / NetBird / EasyTier / vnt deployed and compared, currently running EasyTier as the primary mesh with NetBird as a backup path — and embedded work on ESP32, mostly the Rust no_std stack (embassy / espflash / embedded-graphics).

Star profile (~3.8k): Rust first (625), then Python / TypeScript / Java / Go — 435 repos in AI/LLM with a heavy MCP + agent share, and 57 projects tagged Windows, Linux and macOS at once. What I star is what I actually run.

Blog: https://hkmv.github.io

Pinned Loading

  1. devroute devroute Public

    本地开发调试用的转发工具:镜像站点(本地端口直接提供远端页面,接口转发到本地服务,不用改系统代理)与 SOCKS5/HTTP 代理(按 Host + 路径前缀匹配转发并重写路径)两种模式,可各自独立启停。Rust + FLTK 原生 GUI,单文件约 2.9MB。 | Mirror sites + SOCKS5/HTTP proxy for local development. Native…

    Rust 9 1

  2. nal nal Public

    nal(net auto login)是网络自动登录的简称,为解决公司网络偶尔断联而生,自动检测本机网络状态,网络异常时自动进行登录。之前是适用go实现的,现在使用rust重写。

    Rust 3

  3. tun2proxy-gui tun2proxy-gui Public

    tun2proxy 的跨平台桌面 GUI(Rust + GPUI,不依赖 WebView):多套代理配置一键切换、自动下载并校验 tun2proxy 官方二进制、启动前预检上游代理、实时日志与流量图、中英文界面、系统托盘。 / Cross-platform desktop GUI for tun2proxy (Rust + GPUI, no WebView): multiple proxy …

    Rust 4 1

  4. atop-analyze atop-analyze Public

    是一个基于 Go 的命令行工具,用于解析 Linux `atop` 原始日志文件(rawlog),并生成可视化的 Excel 报表。

    Go 1

  5. api-request-analyzer-browser-plugin api-request-analyzer-browser-plugin Public

    API request analyzer browser plugin | API请求捕获解析浏览器插件

    Svelte 1

  6. anywhere-ocr anywhere-ocr Public

    随处ocr(anywhere-ocr)

    AutoHotkey 6