Skip to content

Purusharthseth/Scribe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SCRIBE

Collaborative, real‑time Markdown note taking app with CRDT‑backed syncing and a directory‑based vault system

Features

  • Real-time collaboration powered by CRDTs (Yjs) for seamless, conflict-free editing
  • Presence & cursor awareness : see exactly where collaborators are and what they’re selecting
  • Leader-driven server model: a single source of truth that minimizes DB load and ensures consistency
  • Granular sharing controls : owner, editor, and viewer modes, enforced server-side
  • Flexible workspace with split, editor, and live preview views, plus draggable dividers
  • Efficient persistence : leader batches & debounces DB saves via Drizzle, keeping writes minimal
  • Per-user history: independent undo/redo stacks backed by Y.UndoManager
  • Directory-style organization with nested folders for structured, distraction-free note management
  • Secure authentication with Clerk and token-guarded WebSocket connections
  • Rich Markdown previewwith live task-lists (checkboxes update the source doc)

Tech Stack

Client

  • React+Vite
  • CodeMirror 6 (y-codemirror.next, custom theme)
  • Yjs
  • Clerk (front‑end auth)
  • Socket.IO (transport for y‑socket.io)
  • Tailwind/Radix UI (layout & widgets)
  • markdown-it
  • Zustand

Server

  • Node.js+Express
  • Socket.IO
  • y-socket.io
  • Clerk
  • Drizzle (ORM)
  • PostgreSQL

ScreenShots

Example collab file view

File

Example Vault view

Vault

Active Users view

Active Users

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors