# Fangcun — Stamp Camera

> Vintage stamp camera combining procedural perforation geometry, CJK FTS5 & CloudKit sync

- Language: en (Alternate: https://twn39.github.io/apps/fangcun.md)
- Canonical URL: https://twn39.github.io/en/apps/fangcun/
- App Store: https://apps.apple.com/us/app/fangcun-stamp-camera/id6795181081
- Platform: iOS | Version: v1.1.0 | Bundle ID: com.curry.tang.fangcun
- Core Stack: Swift 6 · GRDB WAL · CJK FTS5 · CKSyncEngine

---

## Overview & Capabilities

Turns everyday captures into collectible postage stamps using non-destructive normalized crop coordinates, procedural UIBezierPath perforations, viewport-clustered GPS maps, and tactile stamp albums.

- Three-phase Saga capture pipeline over GRDB 7 SQLite WAL guarantees crash-safe photo persistence
- Embedded custom cjkfts5 SQLite tokenizer + keyset pagination for instant CJK full-text search
- CloudKit CKSyncEngine tombstone LWW multi-device sync paired with lock-free App Group WidgetKit snapshots

## Architecture Spec · Technical Profile

- **Full-Text Search**: Custom Embedded CJK FTS5 SQLite Tokenizer
- **Storage & Sync**: GRDB 7 SQLite WAL + CloudKit CKSyncEngine (LWW)
- **Stamp Geometry**: Normalized Coordinates + Procedural Perforation

## Frequently Asked Questions

### How does Fangcun store and sync stamp albums?

Fangcun is local-first on GRDB 7 SQLite WAL with a three-phase Saga persistence pipeline, syncing across your Apple devices via CloudKit CKSyncEngine (tombstone LWW).

### Do procedural stamp perforations modify the original photo?

No. Normalized crop coordinates are stored separately from the original image, allowing non-destructive UIBezierPath perforation rendering alongside instant cjkfts5 full-text search.

## Support & Privacy · App Store Compliance

For troubleshooting, feature requests, or privacy inquiries, please reach out via the developer GitHub profile or consult the official App Privacy label on the Apple App Store product page.
- Developer GitHub: https://github.com/twn39
- App Store: https://apps.apple.com/us/app/fangcun-stamp-camera/id6795181081
