A local-first document and database editor. Use device storage, a local folder, or a GitHub repository. PAT and local modes need no application server; GitHub App sign-in uses an optional authorization Worker.
Fork the demo space to quickly explore Tio with sample documents, databases and App Slices.
Use Node.js 24 and the pnpm version pinned in packageManager:
corepack pnpm install --frozen-lockfile
corepack pnpm devOpen http://localhost:6789. For a production build, run corepack pnpm build followed by corepack pnpm preview --port 4175. Production hosting requires HTTPS for browser filesystem and offline capabilities.
Rich text, nested pages, mentions, table/board views, typed fields, formulas, rollups, trash, JSON backups, Markdown exports, code highlighting, Mermaid and App Slice are implemented. The editor can also be embedded independently.
File publication is best effort; it does not guarantee atomic multi-file visibility or zero loss with arbitrary external writers. Synchronization runs while the host is active. Native apps, WebDAV, real-time collaboration and automatic tombstone/chunk cleanup are not implemented. Browser data can be evicted; keep backups. Native folder permissions and real-device IME behavior require manual verification.
The detailed documentation is maintained in Chinese.
- Product · Next steps
- Architecture · Provider reads
- Data contract · Extensions
- Development · Testing
- Embedding · App Slice
- File storage · GitHub
- Database fields · Code blocks
- Security · Third-party notices · Changelog
Original project code is MIT licensed; see LICENSE. Dependencies retain their own licenses.