Work 06 macOSmacOS

TokenVault

本地优先的密钥保险库:没有服务器,没有账户,靠 iCloud 在你自己的设备之间同步。 A local-first vault for keys and tokens. No server, no account — iCloud carries it between your own devices.

状态Status
开源Open source
年份Year
2026
角色Role
设计与开发Design & build
类型Kind
macOS 应用macOS app
技术Stack
SwiftUI · iCloud · Keychain

问题The problem

大多数密码工具假设你愿意把东西交给别人保管。可我不想让一串密钥的可用性,取决于一家公司的服务器是否还在。 Most password tools assume you will hand your secrets to someone else. I did not want the availability of my keys to depend on whether a company server was still running.

做法What I did

数据只留在设备上,同步交给系统:iCloud 容器加 Keychain,应用本身不拥有任何服务器。界面刻意做得很静——一个列表、一次解锁,没有仪表盘、评分,也没有红黄绿的强弱指示。 Data stays on the device and the system handles sync — an iCloud container plus Keychain, with no server owned by the app. The interface is deliberately quiet: one list, one unlock, no dashboard, no scores, no red-amber-green theatre.

结果What changed

它成了我每天在用的东西,也是我做过最「少」的一个应用。代价是它只服务一种人——愿意自己管理设备的人。 It became something I use every day, and the smallest app I have built. The cost is that it only serves one kind of person — someone willing to manage their own devices.