Independent product / iOS独立产品 / iOS 2026 · ALMATY HENG / 衡记

Local-first bookkeeping for iPhone为 iPhone 而做的本地优先记账

A ledger that
never leaves
your phone.
账本,
不必离开
手机。

HENG turns a photographed receipt or a spoken sentence into a confirmed entry. OCR, speech and classification run on the iPhone — no account, no server, no analytics. It is live on the App Store.衡记把一张小票、一句话,变成一笔可确认的账。文字识别、语音转写与分类全部在 iPhone 本机完成:不注册、不联网、不上传。现已在 App Store 上架。

HENG home screen showing the November balance, monthly budget and three quick-entry buttons
HOME / BALANCE, BUDGET, QUICK ENTRY首页 / 结余、预算与快捷记账
HENG add-entry screen with a receipt-parsed draft: ¥42, Food category, merchant and date
CAPTURE / PARSED DRAFT, STILL EDITABLE记账 / 已解析草稿,仍可修改
HENG 1.1 · IPHONE ENGLISH / 简体中文 / 繁體中文 / РУССКИЙ简体中文 / 繁體中文 / ENGLISH / РУССКИЙ
Role角色
Product designer + developer产品设计与开发
Format性质
Independent iOS product独立 iOS 产品
Scope范围
Strategy, identity, interaction, Flutter + Swift, release策略、品牌、交互、Flutter + Swift、上架
Status状态
App Store 1.1 · 1.2 in TestFlightApp Store 1.1 · 1.2 内测中

The hard part was never the ledger.
It was the capture.
难的从来不是账本,
是记下这一笔。

A bookkeeping app lives or dies in the first ten seconds. If recording a coffee costs more effort than buying it, the ledger fills with gaps — and a ledger with gaps cannot be trusted.记账 App 的成败在最初十秒。如果记一杯咖啡比买它更费劲,账本就会开始漏记;而漏记的账本,不值得信任。

01

Entry costs more than the purchase记账比付款更麻烦

Category pickers, accounts, dates and forms turn a two-second purchase into a two-minute task.分类、账户、日期和表单,把两秒的付款变成两分钟的录入。

02

Receipts are evidence that fades小票是会褪色的证据

Thermal paper loses its date first. The amount survives; the context does not.热敏纸最先消失的是日期。金额还在,上下文没了。

03

The data is asked to leave home数据被要求离开手机

Most finance apps begin with an account, a cloud sync and an analytics SDK.多数记账 App 从注册、云同步和统计 SDK 开始。

ORIGIN · 2026起点 · 2026

A private document should not need a login.私人的记录,不该需要登录。

HENG started from a constraint rather than a feature list: the most complete record of a person’s life should work without an account, a server or an internet connection. Every later decision — OCR, speech, insight, sync — had to fit inside it.衡记的起点不是功能清单,而是一条约束:一个人最完整的生活记录,应该在不注册、不联网、没有服务器的前提下成立。之后的每个决定——识别、语音、建议、同步——都必须装进这条约束里。

CORE PROPOSITION核心主张
Intelligence belongs on the device that already holds the data.智能,应该待在本来就持有数据的那台设备上。

No server. Not a promise —
an architecture.
没有服务器。不是承诺,
是架构。

Local-first is usually a privacy claim. Here it is an engineering boundary: remove the server, and whole classes of failure disappear with it — account recovery, the data-breach surface, per-user cost, and a separate offline mode.「本地优先」通常只是隐私口号。在这里它是一条工程边界:拿掉服务器,也拿掉了一整类失败——账号找回、被拖库的入口、按用户计价的服务成本,以及需要单独维护的离线模式。

01

Capture采集

Camera · Voice · Manual拍照 · 语音 · 手动

02

Understand理解

iOS Vision OCR · on-device speech · rule parseriOS Vision 识别 · 设备端语音 · 规则解析

03

Keep保存

Hive database, inside the app sandboxHive 数据库,位于 App 沙盒内

04 · OPTIONAL

Sync同步

CloudKit private database, switched on by the userCloudKit 私有数据库,由用户手动开启

No original image stored不保存原图 No audio uploaded不上传音频 No account不设账号 No analytics SDK没有统计 SDK
01

What a server would have made easier服务器本可以更省事

Hard receipts, cross-platform sync and remote support. Each would have put a copy of the ledger outside the user’s control.难识别的小票、跨平台同步、远程支持。代价是:用户控制之外,多出一份账本副本。

02

What the constraint bought约束换来了什么

Offline by default, instant insight, a data-breach surface of zero, and a marginal cost per user of zero.默认离线、即时建议、零数据泄露面,以及每个用户的边际成本为零。

03

What replaced the server什么替代了服务器

Confirm-before-save for uncertain OCR, on-device speech through Swift, and CloudKit only when the user turns sync on.识别结果先确认再保存,语音交给 Swift 在设备端处理,同步只在用户打开时交给 CloudKit。

IMPLEMENTATION NOTE实现备注

The OCR and speech channels are Swift, bridged into Flutter through a method channel. Ledger, statistics and insight rules are Dart. CloudKit is used as a private database, never as an account system.OCR 与语音通道用 Swift 实现,通过 method channel 接入 Flutter;账本、统计与建议规则用 Dart。CloudKit 只作为私有数据库使用,不承担账号体系。

Three ways in.
One moment of confirmation.
三种入口,
一次确认。

Photo, voice and manual entry all produce the same editable draft. The app never saves a guess: it fills the fields, then asks.拍照、语音、手动录入,最终都落到同一张可编辑草稿。App 不替用户下结论:先把字段填好,再请你确认。

A mock printed receipt with a 42.00 total, dated 2026-11-12
INPUT / A RECEIPT IN THE CAMERA输入 / 镜头里的小票
HENG draft with amount 42, Food category, McDonald's merchant and today's date
DRAFT / AMOUNT, CATEGORY, MERCHANT, DATE草稿 / 金额、分类、商户、日期
01

Read, don’t decide识别,但不替你做决定

OCR extracts text; a deterministic parser proposes amount, merchant, date and category. All four stay editable, and Save is the only commit.OCR 负责取字,确定性解析器提出金额、商户、日期与分类。四项都可改,只有「保存」才是提交。

02

The image is never kept原图不落地

The original is never written to the photo library or the app sandbox. Only the extracted text and the fields you confirm are kept.原图不会写入相册,也不会留在 App 沙盒里;保留下来的只有识别文本与确认后的字段。

03

Speech stays on the device语音不出设备

Speech recognition requires the on-device model. When that model is unavailable, the app says so instead of uploading audio.语音识别强制使用设备端模型。模型不可用时,直接提示改用其他入口,而不是上传音频。

A ¥652 receipt
became ¥2026.07.
一张 ¥652 的小票,
被读成 ¥2026.07。

The first real receipt found the edge of the parser. The total was ¥652. The date was 2026.07.30. The draft showed ¥2026.07 — a date wearing the shape of money.第一张真实小票就撞到了解析器的边界。合计 652 元,日期是 2026.07.30,草稿却填成 2026.07——一个长得像金额的日期。

OBSERVED现象

The OCR text held 合计 652.00, 小计 652.00 and 2026.07.30.OCR 文本里同时有 合计 652.00、小计 652.00 和 2026.07.30。

WRONG DRAFT错误草稿

¥2026.07

CAUSE原因

The header word 金额 matched a total keyword, and dates, times and phone numbers were still in the number pool.表头「金额」被当成合计关键词;日期、时间与电话号码仍留在数字候选池里。

FIX修复

Strip date, time and phone patterns; drop generic header words; scan ten lines after 小计 / 合计; reject 1990–2100 as a year.先抹掉日期、时间与电话;移除泛化的表头词;小计 / 合计同行无金额时向下最多十行查找;兜底排除 1990–2100 的年份。

RESULT结果

¥652.00 · merchant and category unchanged· 商户与分类保持不变

TEST SUITE测试套件

Four regression groups now run against the actual OCR text: the user’s receipt, a split-column layout, a date-only receipt, and a text export from the device. The fix is not a promise of accuracy; it is a suite that fails if this shape returns.现在有四组回归测试直接跑真实 OCR 文本:用户原小票、列被拆散、只有日期、设备导出文本。修复不是「更准了」的承诺,而是这类错误再次出现时一定会失败的测试。

HENG app icon: an oracle-bone glyph for 衡 in cream on a forest gradient seal
HENG 衡记 · PRIVATE LEDGER衡记 · 私人账本 DESIGNED BY INF. STUDIO × ARCHINTERA

Balance,
drawn as a seal.
把「衡」,
刻成一枚印。

The identity starts from 衡 — a balance beam — written as an oracle glyph and set as a seal. The interface keeps the same restraint: one accent, one reading column, and no decoration that does not carry meaning.品牌从「衡」字出发——它本义是天平。取甲骨文字形,做成印章。界面沿用同样的克制:一个强调色、一条阅读纵轴,不为装饰而装饰。

FOREST PAPER / PALETTE森林纸 / 色板

A paper ground, an ink, a forest, a mint and a copper. Colour never carries meaning alone; every state is also labelled.纸、墨、森林、薄荷与铜。颜色从不单独承担含义,每种状态都有文字标签。

  • Paper#F4F3EE
  • Ink#0B1F1A
  • Forest#0B5B47
  • Mint#CDEEE1
  • Copper#B4845A
TYPE字体

Whole steps, never fractions整数阶梯,不用小数

Integer type steps, 1.55 body leading for Chinese, explicit PingFang fallback. Large text is a real step at 1.15× — not a fractional scale that blurs CJK strokes.字号用整数阶梯;中文正文行高 1.55;显式指定 PingFang 回退。大字号是真正的 1.15× 阶梯,而不是会把中文字形拉糊的小数缩放。

MOTION动效

One reveal, then stillness一次显影,然后安静

A single depth reveal at launch; charts grow once; nothing loops. Reduce Motion collapses all of it to a 400 ms fade.启动时一次景深显影;图表只生长一次;没有循环动画。开启「减弱动态效果」后,全部收束为 400 毫秒淡入。

ACCESS无障碍

Readable at every size每种字号都读得下

The audit covers contrast, Dynamic Type, VoiceOver semantics and tap targets across every palette, in light and dark.审计覆盖对比度、动态字号、VoiceOver 语义与点击区域,横跨全部色板的明暗两套。

48dp minimum tap target最小点击区域 dp
200%Dynamic Type without overflow动态字号无溢出
4.5:1WCAG AA text contrast文字对比度下限
6palettes, each in light and dark套色板,均有明暗两版

Shipped,
not demonstrated.
是上架,
不是演示。

HENG 1.1 is live in the App Store: free, no in-app purchases, no ads, rated 4+, with the privacy label Data Not Collected. It speaks Simplified Chinese, Traditional Chinese, English and Russian.衡记 1.1 已在 App Store 上架:免费、无内购、无广告、4+ 分级,隐私标签为「未收集数据」。支持简体中文、繁体中文、英文与俄文。

243automated tests passing项自动化测试通过
4languages种语言
84currencies种货币
0data collected项数据被收集
1.0 · NOV 2026

First App Store release首次上架

Receipt and voice capture, manual entry, budgets, reports, CSV and JSON export.拍照与语音记账、手动录入、预算、报表、CSV 与 JSON 导出。

1.1 · NOV 2026

A private ledger, on more than one device一台以上的设备,一本私账

iCloud sync through CloudKit, WeChat and Alipay CSV import, 84 currencies, four languages, six palettes, parent mode and an accessibility pass.iCloud 同步(CloudKit)、微信与支付宝账单导入、84 种货币、四种语言、六套主题色、父母模式与无障碍专项。

1.2 · TESTFLIGHT

Splitting a bill without a group chat分账,不必建群

Groups, participants, custom shares and settlement, with CloudKit sharing in development. In TestFlight; not yet submitted to the store.群组、参与者、自定义分摊与结算;CloudKit 共享仍在开发。目前在内测,尚未提交商店。

The shipped product上架后的产品 HENG 1.1 · IPHONE
01

Every entry, still editable每一笔都还能改

Entries are grouped by day and searchable by note, merchant, category or amount.按日分组,可按备注、商户、分类或金额搜索。

02

The month as a shape一个月的形状

Six months of bars and a category share that names where the change happened, not only how much was spent.六个月柱状图与分类占比,说明变化发生在哪里,而不只是花了多少。

03

A limit you can see coming看得见的额度

Monthly and category budgets show what is left before the month is over, not after.月度与分类预算在月底之前就告诉你还剩多少,而不是事后。

04

The reason for all of it这一切的理由

No account and no analytics; the App Store privacy label reads Data Not Collected.不注册、不统计;App Store 隐私标签为「未收集数据」。

HENG ledger grouped by day with search
Ledger账本
HENG reports with a six-month bar chart and category donut
Reports报表
HENG monthly and category budgets
Budget预算
HENG privacy policy stating that no data is collected
Privacy隐私
01 / LedgerScroll to advance滚动查看
SCOPE范围

The shipped build is iPhone-only by choice. Android, bank connections and widgets are not in 1.1, and 1.2 remains a TestFlight build until it passes the same checks.正式版按计划只做 iPhone。Android、银行直连与小组件不在 1.1 内;1.2 在通过同样的检查之前,只停留在内测。

HENG app icon

One product,
every layer.
一个产品,
每一层。

HENG is the clearest example of how I work: define the constraint, design the interaction around it, then carry the same decision through identity, Flutter, Swift, CloudKit, QA and App Store operations. Nothing was handed to a different discipline.衡记最能说明我的工作方式:先定约束,围绕约束设计交互,再把同一个决定贯穿品牌、Flutter、Swift、CloudKit、测试与上架。没有任何一层被交给另一套标准。

WHAT IT DEMONSTRATES它说明了什么
  • Product strategy under a hard constraint硬约束下的产品策略
  • An identity and interface from one idea从一个概念长出的品牌与界面
  • A Flutter product with native Swift channels带原生 Swift 通道的 Flutter 产品
  • Release engineering: tests, TestFlight, App Store发布工程:测试、内测、上架
WHAT IT DOES NOT DO它没有做什么
  • The parser is deterministic, not a language model; unusual receipts still need a human check.解析器是确定性的规则,不是大模型;异常小票仍需人工核对。
  • No Android app and no bank connection.没有 Android 版,也没有银行直连。
  • Sync is CloudKit-only, so it stays inside Apple’s ecosystem.同步只走 CloudKit,因此停留在 Apple 生态内。
HENG / 衡记Independent iOS product独立 iOS 产品Altankhuu JORGUTYN · 2026