Sparkling
lastmod 2026-03-16created 2026-03-161 edits
TikTok's cross-platform infrastructure
About
- TikTok open-sourced the infrastructure layer it built to run the Lynx engine at production scale in its own apps. Provides everything from app scaffolding to builds, native bridges, and navigation in one package
- Just as React Native needs Expo, this is a production infrastructure framework for running real apps on top of the Lynx engine
- A single CLI command instantly generates a complete Lynx app project including Android/iOS native shells, and performs build→install→run in one go
- Implements a type-safe JS↔native bridge with Sparkling Method, which automatically generates Kotlin/Swift code from TypeScript declarations alone
- Unified URL scheme navigation in the hybrid:// format handles routing between Lynx pages and native screens in a single system