Skip to content

Latest commit

ย 

History

History
147 lines (109 loc) ยท 7.75 KB

File metadata and controls

147 lines (109 loc) ยท 7.75 KB

ZerithDB Roadmap

This roadmap reflects our current direction, not commitments. Priorities shift based on community feedback and real-world usage. Open a Discussion to influence it.


Status Legend

Symbol Meaning
โœ… Done
๐Ÿšง In Progress
๐Ÿ“‹ Planned
๐Ÿ”ฎ Future / Research

Phase 0 โ€” Foundation (v0.1) โ€” Current

The goal of this phase is to establish a working, testable monorepo with core functionality.

Item Status Notes
Monorepo setup (Turborepo + pnpm) โœ…
zerithdb-core โ€” types, events, errors โœ…
zerithdb-db โ€” IndexedDB via Dexie ๐Ÿšง Basic CRUD done, live queries WIP
zerithdb-sync โ€” Yjs integration ๐Ÿšง Local sync working, network WIP
zerithdb-network โ€” WebRTC + signaling ๐Ÿšง 2-peer tested, mesh topology WIP
zerithdb-auth โ€” Ed25519 keypair identity ๐Ÿ“‹
zerithdb-sdk โ€” createApp() API ๐Ÿšง Basic composition working
zerithdb-cli โ€” zerithdb init ๐Ÿ“‹
Signaling server โœ… Basic WebSocket relay
Unit tests (>60% coverage) ๐Ÿšง
CI pipeline โœ… GitHub Actions
Todo demo app ๐Ÿšง

Target: Q3 2026


Phase 1 โ€” Developer Experience (v0.2)

Focus: Make it delightful to build with. Remove all friction.

Item Status Notes
React hooks (useQuery, useLiveQuery, useAuth) ๐Ÿ“‹ Separate zerithdb-react package
Vue composables (useQuery, usePeer) ๐Ÿ“‹ Separate zerithdb-vue package
zerithdb signal dev server command ๐Ÿ“‹
zerithdb types code generation ๐Ÿ“‹ TypeScript types from schema
Schema validation (Zod integration) ๐Ÿ“‹ Optional, opt-in
Collection indexing ๐Ÿ“‹ Compound indexes for query perf
Full CRUD + query operator coverage ๐Ÿ“‹ $gt, $lt, $in, $regex, etc.
DevTools browser extension ๐Ÿ“‹ Inspect DB state, sync log, peers
Playground app (live demo) ๐Ÿ“‹ Interactive API explorer
Test coverage >80% ๐Ÿ“‹
API documentation site ๐Ÿ“‹ Fumadocs-based

Target: Q4 2026


Phase 2 โ€” Reliability & Scale (v0.3)

Focus: Production-grade reliability. Handle edge cases. Handle scale.

Item Status Notes
TURN server support ๐Ÿ“‹ For symmetric NAT traversal
Yjs document GC / compaction ๐Ÿ“‹ Prevent unbounded storage growth
Storage quota management ๐Ÿ“‹ Expose estimates, handle full storage
Offline queue / sync backlog ๐Ÿ“‹ Guaranteed delivery of pending ops
Reconnection hardening ๐Ÿ“‹ Better exponential backoff, circuit breaker
Multi-tab coordination ๐Ÿ“‹ BroadcastChannel for same-origin tabs
E2E test coverage (Playwright) ๐Ÿ“‹ Full user flow tests
Performance benchmarks ๐Ÿ“‹ Automated regression detection
zerithdb-svelte adapter ๐Ÿ“‹ Svelte stores
Server-assisted sync (optional) ๐Ÿ“‹ For datasets too large for P2P

Target: Q1 2027


Phase 3 โ€” Access Control (v0.4)

Focus: Fine-grained permissions without central authority.

Item Status Notes
Capability token system ๐Ÿ“‹ UCAN-based, signed capabilities
Room-level access policies ๐Ÿ“‹ Read/write/admin roles
Collection-level encryption ๐Ÿ“‹ Only peers with capability can decrypt
Peer revocation ๐Ÿ“‹ Exclude specific keys from a room
SFU topology option ๐Ÿ“‹ For rooms with >20 peers
Audit log (CRDT-based) ๐Ÿ“‹ Tamper-evident operation history

Target: Q2 2027


Phase 4 โ€” Ecosystem & v1.0 (v1.0)

Focus: Stable API, plugin ecosystem, community launch.

Item Status Notes
Stable public API (no breaking changes) ๐Ÿ“‹ SemVer 1.x guarantee
Plugin system ๐Ÿ“‹ Extend db, sync, network layers
zerithdb-storage โ€” File/blob support ๐Ÿ“‹ P2P file transfer via data channels
Hardware key support (WebAuthn) ๐Ÿ“‹ FIDO2 for key storage
Key rotation ๐Ÿ“‹ Migrate documents to a new identity
Migration tooling ๐Ÿ“‹ CLI for schema migrations
Hosted signaling (zerithdb.cloud) ๐Ÿ“‹ Managed relay for production apps
ZerithDB Studio (GUI) ๐Ÿ“‹ Visual data explorer, admin panel
Community showcase ๐Ÿ“‹ Apps built on ZerithDB
Security audit ๐Ÿ“‹ Third-party cryptographic review

Target: Q3 2027


Future / Research

These are ideas we are tracking but not yet committed to:

Idea Notes
Mobile SDKs React Native, Capacitor
Node.js backend adapter Use ZerithDB DB on the server
Blockchain anchoring Optional: anchor Yjs state vectors to a chain for tamper evidence
Differential privacy Add noise to analytics without exposing individual records
WASM CRDT engine Compile Rust-based CRDT to WASM for 10x sync performance
Cross-app data sharing Standardized schemas for inter-app data portability

How to Influence the Roadmap

  1. Vote with ๐Ÿ‘ on GitHub Issues to signal demand.
  2. Start a Discussion with your use case โ€” real use cases drive priorities.
  3. Build it โ€” PRs for roadmap features are the fastest way to ship them.

Last updated: May 2026 โ€” ZerithDB Core Team