sweng-notes
Permissioned collaborative notes with live editing and version history.
Real-time collaborative note editor.
// overview
sweng-notes is a collaborative note-taking app where users create, organize, share, and edit notes together. It supports live presence, cursor tracking, owner/editor/reader roles, full-text search, tag filtering, version snapshots, restore flows, and collaborator mentions.
The app is built as a type-safe serverless web product: Next.js and React for the workspace UI, Convex for backend state, Clerk for authentication, and Liveblocks for realtime collaboration.
// how it works
The UI is split across App Router workspace surfaces, dialogs, tabs, and a TipTap editor. Convex owns notes, users, tags, permissions, and versions.
Liveblocks rooms are created per note. Room authorization is checked server-side through Convex, then users receive full or read access based on their note permission.
// capabilities
Realtime editing
TipTap and Liveblocks provide collaborative editing, presence, and cursors per note room.
Granular sharing
Owner, editor, and reader roles control write access and collaboration rights.
Search and tags
Convex queries support title/content search plus tag, author, and date filters.
Version history
Snapshots make note history inspectable and restorable.