We built a Splitwise alternative where the link is the account
说明与用途
构建了一个无需注册的分账应用:单一链接既是邀请、登录,也是数据密钥,提供简便、离线功能和隐私保护。
问题
Users would not create accounts, so the product needed to be accessed via a single link that served as invite, login, and data key.
结果
A fully functional split‑expense app that requires no account creation, supports offline usage, and maintains privacy and security through a single link bearer credential.
工作流
- Generate a 16‑byte random key, base64url‑encode it, and append to a readable URL stem.
- Use the link as a bearer credential; no recovery or owner override. Use BigInt for money amounts; display as strings. Lock FX rates at entry; never re‑price history. Queue new expenses offline and replay when online. Use SSE to notify clients of changes; clients refetch data. Route all external requests through an allow‑listed proxy to avoid egress from containers.
证据
The link is a bearer credential. 16 random bytes, base64url, appended to a readable stem. No recovery, no owner override. Treat it like a key.
Money as strings + BigInt. A Number never touches an amount except for display.
- 记录日期: 2026-09-17T15:15:12.288Z