Local-first collaboration

Velis

Local-first workspace with collaborative editing and synchronization across devices.

Architecture

Velis combines a web workspace, device-local persistence and application services for shared work.

  • Workspace: documents, notes, tasks, editor surfaces and shared resources.
  • Local persistence: browser-side data and pending changes retained for offline editing.
  • Synchronization: exchange of local changes and remote updates through application services.
  • Collaborative editing: operation-based document updates and real-time collaboration modules.
  • Server: workspace management, access to shared resources, persistent data and event delivery.

The editing interface uses local state while the synchronization layer connects device changes to shared application data.

Technologies

  • Web: Next.js, React, TypeScript, Zustand.
  • Local storage: IndexedDB and Dexie.
  • Collaboration: Yjs, WebSocket and Socket.IO.
  • Backend: NestJS, Prisma, PostgreSQL.
  • Messaging and services: Redis.